|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | 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 | |
String |
getUniqueId(IResourceHandle resourceHandle)
Get unique id of resource. |
Map |
getUniqueIds(List resourceHandles)
Get list of unique ids by list of resources. |
Map |
lookup(List uniqueIds)
Look up resources in repository by list of unique ids. |
IResourceHandle |
lookup(String uniqueId)
Look up resource in repository by unique id. |
| Method Detail |
public IResourceHandle lookup(String uniqueId)
throws ResourceException
uniqueId - unique id
ResourceException - when a general problem occures
public String getUniqueId(IResourceHandle resourceHandle)
throws ResourceException
resourceHandle - resource handle
ResourceException - when a general problem occures
public Map lookup(List uniqueIds)
throws ResourceException,
OperationNotCompletedException
uniqueIds - list of unique ids
ResourceException - when a general problem occures
OperationNotCompletedException - when the operation failed in
parts
public Map getUniqueIds(List resourceHandles)
throws ResourceException,
OperationNotCompletedException
resourceHandles - list of 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 | |||||||||