|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.sapportals.wcm.service.relation.operands.AbstractRelationOperand
A basic IRelationOperand implementation which handles the
getRelation ...() methods.
| Constructor Summary | |
AbstractRelationOperand()
|
|
| Method Summary | |
abstract IResource |
asResource()
Get the relation operand as resource, if this operand is managed by a repository manager. |
abstract java.lang.String |
getID()
Get the relation operand's unique id. |
abstract java.lang.Object |
getObject()
Get the relation operand's unwrapped object. |
IRelation |
getRelationBySource(IRelationType type,
IRelationOperand target)
same as type.getRelation(this, target); |
IRelation |
getRelationByTarget(IRelationType type,
IRelationOperand source)
same as type.getRelation(source, this); |
IRelationList |
getRelationsBySource(IRelationType type)
same as type.getRelationBySource(this); |
IRelationList |
getRelationsBySource(IResourceContext context)
same as IRelationService.getRelationsBySource(context, this); |
IRelationList |
getRelationsBySource(IResourceContext context,
IRelationOperand target)
same as IRelationService.getRelations(context, this, target); |
IRelationList |
getRelationsByTarget(IRelationType type)
same as type.getRelationByTarget(this); |
IRelationList |
getRelationsByTarget(IResourceContext context)
same as IRelationService.getRelationsByTarget(context, this); |
IRelationList |
getRelationsByTarget(IResourceContext context,
IRelationOperand source)
same as IRelationService.getRelations(source, this); |
abstract IRelationOperandType |
getType()
Get the relation operand's type. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AbstractRelationOperand()
| Method Detail |
public abstract IRelationOperandType getType()
throws ResourceException
IRelationOperandgetType in interface IRelationOperandcom.sapportals.wcm.service.relation.IRelationOperandIRelationOperandType with the type of this operand.ResourceException - an error occured while retrieving
the operand's type.
public abstract java.lang.String getID()
throws ResourceException
IRelationOperandgetID in interface IRelationOperandcom.sapportals.wcm.service.relation.IRelationOperandString with the unique id of this operand. the id is
only unique within the operand's type.ResourceException - an error occured while retrieving
the operand's id.public abstract java.lang.Object getObject()
IRelationOperandgetObject in interface IRelationOperandcom.sapportals.wcm.service.relation.IRelationOperandObject with the unwrapped operand, referenced by
this IRelationOperand .
public abstract IResource asResource()
throws ResourceException
IRelationOperandasResource in interface IRelationOperandcom.sapportals.wcm.service.relation.IRelationOperandIResource with the resource represented by this
operand. returns null , if this operand can not be
converted to a resource.ResourceException - an error occured while retrieving
the operand's resource.
public IRelationList getRelationsBySource(IResourceContext context)
throws InvalidArgumentException,
AccessDeniedException,
ResourceException
IRelationOperandIRelationService.getRelationsBySource(context, this);getRelationsBySource in interface IRelationOperandcom.sapportals.wcm.service.relation.IRelationOperandcontext - TBD: Description of the incoming method parameterInvalidArgumentException - Exception raised in failure situationAccessDeniedException - Exception raised in failure situationResourceException - Exception raised in failure situation
public IRelationList getRelationsBySource(IRelationType type)
throws InvalidArgumentException,
AccessDeniedException,
ResourceException
IRelationOperandtype.getRelationBySource(this);getRelationsBySource in interface IRelationOperandcom.sapportals.wcm.service.relation.IRelationOperandtype - TBD: Description of the incoming method parameterInvalidArgumentException - Exception raised in failure situationAccessDeniedException - Exception raised in failure situationResourceException - Exception raised in failure situation
public IRelationList getRelationsBySource(IResourceContext context,
IRelationOperand target)
throws InvalidArgumentException,
AccessDeniedException,
ResourceException
IRelationOperandIRelationService.getRelations(context, this, target);getRelationsBySource in interface IRelationOperandcom.sapportals.wcm.service.relation.IRelationOperandcontext - TBD: Description of the incoming method parametertarget - TBD: Description of the incoming method parameterInvalidArgumentException - Exception raised in failure situationAccessDeniedException - Exception raised in failure situationResourceException - Exception raised in failure situation
public IRelation getRelationBySource(IRelationType type,
IRelationOperand target)
throws InvalidArgumentException,
AccessDeniedException,
ResourceException
IRelationOperandtype.getRelation(this, target);getRelationBySource in interface IRelationOperandcom.sapportals.wcm.service.relation.IRelationOperandtype - TBD: Description of the incoming method parametertarget - TBD: Description of the incoming method parameterInvalidArgumentException - Exception raised in failure situationAccessDeniedException - Exception raised in failure situationResourceException - Exception raised in failure situation
public IRelationList getRelationsByTarget(IResourceContext context)
throws InvalidArgumentException,
AccessDeniedException,
ResourceException
IRelationOperandIRelationService.getRelationsByTarget(context, this);getRelationsByTarget in interface IRelationOperandcom.sapportals.wcm.service.relation.IRelationOperandcontext - TBD: Description of the incoming method parameterInvalidArgumentException - Exception raised in failure situationAccessDeniedException - Exception raised in failure situationResourceException - Exception raised in failure situation
public IRelationList getRelationsByTarget(IRelationType type)
throws InvalidArgumentException,
AccessDeniedException,
ResourceException
IRelationOperandtype.getRelationByTarget(this);getRelationsByTarget in interface IRelationOperandcom.sapportals.wcm.service.relation.IRelationOperandtype - TBD: Description of the incoming method parameterInvalidArgumentException - Exception raised in failure situationAccessDeniedException - Exception raised in failure situationResourceException - Exception raised in failure situation
public IRelationList getRelationsByTarget(IResourceContext context,
IRelationOperand source)
throws InvalidArgumentException,
AccessDeniedException,
ResourceException
IRelationOperandIRelationService.getRelations(source, this);getRelationsByTarget in interface IRelationOperandcom.sapportals.wcm.service.relation.IRelationOperandcontext - TBD: Description of the incoming method parametersource - TBD: Description of the incoming method parameterInvalidArgumentException - Exception raised in failure situationAccessDeniedException - Exception raised in failure situationResourceException - Exception raised in failure situation
public IRelation getRelationByTarget(IRelationType type,
IRelationOperand source)
throws InvalidArgumentException,
AccessDeniedException,
ResourceException
IRelationOperandtype.getRelation(source, this);getRelationByTarget in interface IRelationOperandcom.sapportals.wcm.service.relation.IRelationOperandtype - TBD: Description of the incoming method parametersource - TBD: Description of the incoming method parameterInvalidArgumentException - Exception raised in failure situationAccessDeniedException - Exception raised in failure situationResourceException - Exception raised in failure situation
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||