|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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 String |
getID()
Get the relation operand's unique id. |
abstract 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
IRelationOperand
getType in interface IRelationOperandIRelationOperandType with the type of this operand.
ResourceException - an error occured while retrieving
the operand's type.
public abstract String getID()
throws ResourceException
IRelationOperand
getID in interface 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 Object getObject()
IRelationOperand
getObject in interface IRelationOperandObject with the unwrapped operand, referenced by
this IRelationOperand .
public abstract IResource asResource()
throws ResourceException
IRelationOperand
asResource in interface 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 IRelationOperandcontext - TBD: Description of the incoming method parameter
AccessDeniedException - Exception raised in failure situation
InvalidArgumentException - Exception raised in failure situation
ResourceException - Exception raised in failure situation
public IRelationList getRelationsBySource(IRelationType type)
throws InvalidArgumentException,
AccessDeniedException,
ResourceException
IRelationOperandtype.getRelationBySource(this);
getRelationsBySource in interface IRelationOperandtype - TBD: Description of the incoming method parameter
ResourceException - Exception raised in failure situation
InvalidArgumentException - Exception raised in failure situation
AccessDeniedException - Exception raised in failure situation
public IRelationList getRelationsBySource(IResourceContext context,
IRelationOperand target)
throws InvalidArgumentException,
AccessDeniedException,
ResourceException
IRelationOperandIRelationService.getRelations(context, this, target);
getRelationsBySource in interface IRelationOperandcontext - TBD: Description of the incoming method parametertarget - TBD: Description of the incoming method parameter
AccessDeniedException - Exception raised in failure situation
InvalidArgumentException - Exception raised in failure situation
ResourceException - Exception raised in failure situation
public IRelation getRelationBySource(IRelationType type,
IRelationOperand target)
throws InvalidArgumentException,
AccessDeniedException,
ResourceException
IRelationOperandtype.getRelation(this, target);
getRelationBySource in interface IRelationOperandtype - TBD: Description of the incoming method parametertarget - TBD: Description of the incoming method parameter
AccessDeniedException - Exception raised in failure situation
ResourceException - Exception raised in failure situation
InvalidArgumentException - Exception raised in failure situation
public IRelationList getRelationsByTarget(IResourceContext context)
throws InvalidArgumentException,
AccessDeniedException,
ResourceException
IRelationOperandIRelationService.getRelationsByTarget(context, this);
getRelationsByTarget in interface IRelationOperandcontext - TBD: Description of the incoming method parameter
ResourceException - Exception raised in failure situation
AccessDeniedException - Exception raised in failure situation
InvalidArgumentException - Exception raised in failure situation
public IRelationList getRelationsByTarget(IRelationType type)
throws InvalidArgumentException,
AccessDeniedException,
ResourceException
IRelationOperandtype.getRelationByTarget(this);
getRelationsByTarget in interface IRelationOperandtype - TBD: Description of the incoming method parameter
ResourceException - Exception raised in failure situation
AccessDeniedException - Exception raised in failure situation
InvalidArgumentException - Exception raised in failure situation
public IRelationList getRelationsByTarget(IResourceContext context,
IRelationOperand source)
throws InvalidArgumentException,
AccessDeniedException,
ResourceException
IRelationOperandIRelationService.getRelations(source, this);
getRelationsByTarget in interface IRelationOperandcontext - TBD: Description of the incoming method parametersource - TBD: Description of the incoming method parameter
ResourceException - Exception raised in failure situation
InvalidArgumentException - Exception raised in failure situation
AccessDeniedException - Exception raised in failure situation
public IRelation getRelationByTarget(IRelationType type,
IRelationOperand source)
throws InvalidArgumentException,
AccessDeniedException,
ResourceException
IRelationOperandtype.getRelation(source, this);
getRelationByTarget in interface IRelationOperandtype - TBD: Description of the incoming method parametersource - TBD: Description of the incoming method parameter
AccessDeniedException - Exception raised in failure situation
InvalidArgumentException - Exception raised in failure situation
ResourceException - Exception raised in failure situation
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||