|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Read-Only 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 look up resources based on ids.
| Method Summary | |
java.lang.String |
getUniqueId(IResourceHandle resourceHandle)
Get unique id of resource. |
java.util.Map |
getUniqueIds(java.util.List resourceHandles)
Get list of unique ids by list of resources. |
java.util.Map |
lookup(java.util.List uniqueIds)
Look up resources in repository by list of unique ids. |
IResourceHandle |
lookup(java.lang.String uniqueId)
Look up resource in repository by unique id. |
| Method Detail |
public IResourceHandle lookup(java.lang.String uniqueId)
throws ResourceException
uniqueId - unique idResourceException - when a general problem occures
public java.lang.String getUniqueId(IResourceHandle resourceHandle)
throws ResourceException
resourceHandle - resource handleResourceException - when a general problem occures
public java.util.Map lookup(java.util.List uniqueIds)
throws ResourceException,
OperationNotCompletedException
uniqueIds - list of unique idsResourceException - when a general problem occuresOperationNotCompletedException - when the operation failed in
parts
public java.util.Map getUniqueIds(java.util.List resourceHandles)
throws ResourceException,
OperationNotCompletedException
resourceHandles - list of resource handlesResourceException - when a general problem occuresOperationNotCompletedException - when the operation failed in
parts
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||