|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Read-And-Write interface describing a repository sub manager for id mapping. Ids must identify a resource uniquely in the repository, no matter how its position or properties change. When its identity really gets lost or is replaced, the id must never be used again resp. a new id must be assigned to the new resource replacing the old (possibly on the same position). Ids must never be reused in order to undoubtedly identify a resource resp. that the resource no longer exists (e.g. when ids sent through emails are used to identify the referenced resource again). This interface allows to assign unique ids to resources in a repository from outside. They should be globally unique ids in order to fulfill the requirements (uniqueness, no reuse) in a performant way (no check expected here where all resources are checkd for the new id in the repository).
| Method Summary | |
void |
assignToResource(IResourceHandle resourceHandle,
String uniqueId)
Assign unique id to resource handle. |
void |
assignToResources(Map uniqueIdsIndexedByResourceHandles)
Assign list of unique ids to list of resource handles. |
void |
assignToRid(IRid resourceId,
String uniqueId)
Assign unique id to resource id. |
void |
assignToRids(Map uniqueIdsIndexedByResourceIds)
Assign list of unique ids to list of resource ids. |
| Methods inherited from interface com.sap.netweaver.bc.rf.mi.idmapper.IIdMapperManager |
getUniqueId, getUniqueIds, lookup, lookup |
| Method Detail |
public void assignToRid(IRid resourceId,
String uniqueId)
throws ResourceException
resourceId - resource iduniqueId - unique id to be assigned
ResourceException - when a general problem occures, the resource
id is invalid or the unique id is already in use
public void assignToResource(IResourceHandle resourceHandle,
String uniqueId)
throws ResourceException
resourceHandle - resource handleuniqueId - unique id to be assigned
ResourceException - when a general problem occures, the resource
handle is invalid or the unique id is already in use
public void assignToRids(Map uniqueIdsIndexedByResourceIds)
throws ResourceException,
OperationNotCompletedException
uniqueIdsIndexedByResourceIds - map of unique ids to be assigned
indexed by resource ids
ResourceException - when a general problem occures
OperationNotCompletedException - when the operation failed in
parts
public void assignToResources(Map uniqueIdsIndexedByResourceHandles)
throws ResourceException,
OperationNotCompletedException
uniqueIdsIndexedByResourceHandles - map of unique ids to be assigned
indexed by resource handles
ResourceException - when a general problem occures
OperationNotCompletedException - when the operation failed in
parts
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||