|
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.ResourceOperandType
IRelationOperandType implementation for IResource
s.
| Field Summary | |
protected static IResourceFactory |
factory
|
protected IProperty |
resourceType
|
| Constructor Summary | |
ResourceOperandType()
Create a resource operand type for any type of resource. |
|
ResourceOperandType(IProperty resourceType)
Create a resource operand type for a given resource's type. |
|
ResourceOperandType(IResource resource)
Create a resource operand type for a given resource's type. |
|
ResourceOperandType(String type)
Create a resource operand type for a specific resource type. |
|
| Method Summary | |
boolean |
check(IRelationOperand operand)
Check, if a given operand belongs to this type. |
boolean |
equals(Object object)
|
IRelationOperand |
getOperand(Object object)
Create the proper operand for a given object, if it belongs to this type. |
IRelationOperand |
getOperand(String id,
IResourceContext context)
Get the operand for a given id and context. |
boolean |
isChangeTrackingSupported()
Check, if this operand type supports tracking of object renaming. |
boolean |
isCopyTrackingSupported()
Check, if this operand type supports tracking of object copy. |
boolean |
isDeleteTrackingSupported()
Check, if this operand type supports tracking of object deletion. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static IResourceFactory factory
protected IProperty resourceType
| Constructor Detail |
public ResourceOperandType()
public ResourceOperandType(String type)
throws ResourceException
type - the String which defines the resource type. if
null , this type will match any resource type.
ResourceException - if the type could not be build.
public ResourceOperandType(IProperty resourceType)
throws InvalidArgumentException
resourceType - TBD: Description of the incoming method parameter
InvalidArgumentException - if the given type property
is not a resource type property.
public ResourceOperandType(IResource resource)
throws ResourceException
resource - the IResource which specifies the resource
type to use. if null , this type will match any resource
type.
ResourceException - if the resource's resource type
could not be retrieved.| Method Detail |
public boolean equals(Object object)
public boolean isDeleteTrackingSupported()
IRelationOperandType
isDeleteTrackingSupported in interface IRelationOperandTypeboolean true , if this operand type
supports the tracking of deletes for objects of this type.public boolean isChangeTrackingSupported()
IRelationOperandType
isChangeTrackingSupported in interface IRelationOperandTypeboolean true , if this operand type
supports the tracking of rename or move for objects of this type.public boolean isCopyTrackingSupported()
IRelationOperandType
isCopyTrackingSupported in interface IRelationOperandTypeboolean true , if this operand type
supports the tracking of copy for objects of this type.
public boolean check(IRelationOperand operand)
throws ResourceException
IRelationOperandType
check in interface IRelationOperandTypeoperand - the IRelationOperand which should be checked
for compatibility with this type.
boolean true , if the operand is
compatible with this type.
ResourceException - Exception raised in failure situation
public IRelationOperand getOperand(String id,
IResourceContext context)
throws InvalidArgumentException,
ResourceException
IRelationOperandType
getOperand in interface IRelationOperandTypeid - the String with the unique id of the operand to get.context - the IResouceContext to use for retrieving the
operand.
IRelationOperand for the given id.
ResourceException - Exception raised in failure situation
InvalidArgumentException - Exception raised in failure situation
public IRelationOperand getOperand(Object object)
throws InvalidArgumentException
IRelationOperandType
getOperand in interface IRelationOperandTypeobject - TBD: Description of the incoming method parameter
IRelationOperand for the given object.
InvalidArgumentException - Exception raised in failure situation
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||