|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Read-And-Write interface describing a repository sub manager for namespace. Namespace means the realm of names the resources fill in the repository. This manager mainly provides means to create resources in the namespace.
| Method Summary | |
java.util.List |
copyResource(IResourceHandle resourceHandle,
ICopyDescriptor copyDescriptor)
Copy resource based on a resource copy descriptor. |
IResourceHandle |
createResource(ICreateDescriptor createDescriptor)
Create a resource based on a descriptor. |
java.util.List |
deleteResource(IResourceHandle resourceHandle)
Deletes the resource. |
java.util.List |
moveResource(IResourceHandle resourceHandle,
IMoveDescriptor moveDescriptor)
Move resource based on a resource move descriptor. |
void |
reorderCollection(IResourceHandle resourceHandle,
java.util.List orderPositions)
Reorder children of the resource collection. |
void |
setCollectionOrderMechanism(IResourceHandle resourceHandle,
OrderMechanism orderMechanism)
Change the OrderMechanism of the collection. |
void |
setLinkDescriptor(IResourceHandle resourceHandle,
ILinkDescriptor linkDescriptor)
Changes a link's type and/or target. |
| Methods inherited from interface com.sap.netweaver.bc.rf.mi.namespace.INamespaceManager |
countResources, findResources, findResources, getCollectionOrderMechanism, getLinkDescriptor, getQueryBuilder, isCollection, isLink, isQueryPropertyNameUnderstood |
| Method Detail |
public IResourceHandle createResource(ICreateDescriptor createDescriptor)
throws ResourceException
createDescriptor - create descriptorResourceException - Exception raised in failure situation
public java.util.List deleteResource(IResourceHandle resourceHandle)
throws ResourceException,
OperationNotCompletedException
resourceHandle - resource handleIRid) of all deleted resourcesOperationNotCompletedException - If the call was successfull but
some of the resources could not be deleted (in case of a "deep
delete"). Possible reasons are: resource is locked, user does not have
delete permission, etc.ResourceException - Exception raised in failure situation
public java.util.List copyResource(IResourceHandle resourceHandle,
ICopyDescriptor copyDescriptor)
throws ResourceException,
OperationNotCompletedException
resourceHandle - resource handlecopyDescriptor - copy descriptorIRid) of all copied resourcesOperationNotCompletedException - when the call was successfull but
some of the resources could not be copied (in case of a "deep copy");
possible reasons are, that the target collection is locked, the user
does not have create permission, etc.; child resource identifiers are
not reportedResourceException - Exception raised in failure situation
public java.util.List moveResource(IResourceHandle resourceHandle,
IMoveDescriptor moveDescriptor)
throws ResourceException,
OperationNotCompletedException
resourceHandle - resource handlemoveDescriptor - move descriptorOperationNotCompletedException - If the call was successfull but
some of the resources could not be moved (in case of a "deep copy").
Possible reasons are: target collection is locked, user does not have
create permission, etc.ResourceException - Exception raised in failure situation
public void setCollectionOrderMechanism(IResourceHandle resourceHandle,
OrderMechanism orderMechanism)
throws ResourceException
OrderMechanism of the collection.resourceHandle - resource handle of the collectionorderMechanism - order mechanism of the collectionResourceException - Exception raised in failure situation
public void reorderCollection(IResourceHandle resourceHandle,
java.util.List orderPositions)
throws ResourceException
OrderPositions for the children of the given resource collection.resourceHandle - resource handle of the collectionorderPositions - list of OrderPosition s for the children of
the given resource collectionResourceException - Exception raised in failure situation
public void setLinkDescriptor(IResourceHandle resourceHandle,
ILinkDescriptor linkDescriptor)
throws ResourceException
resourceHandle - resource handle of the linklinkDescriptor - link descriptor of the linkResourceException - Exception raised in failure situation
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||