public interface IdLookupService
Provides lookup methods for mapping between different IDs.
Modifier and Type | Method and Description |
---|---|
String |
getDefinitionIdForExternalId(String externalId)
Returns the work object definition ID corresponding to the given external ID.
|
String |
getExternalIdForDefinitionId(String definitionId)
Returns the external definition ID corresponding to the given work object ID.
|
String |
getExternalIdForWorkObjectId(String workObjectId)
Returns the external ID corresponding to the given work object ID.
|
String |
getGlobalIdForWorkObjectId(String workObjectId)
Returns the global ID corresponding to the given work object ID value.
|
String |
getWorkObjectIdForExternalId(String externalId)
Returns the work object ID corresponding to the given external ID.
|
String |
getWorkObjectIdForGlobalId(String globalId,
String tenantId)
Returns the work object ID corresponding to the given global ID.
|
String getGlobalIdForWorkObjectId(String workObjectId)
Returns the global ID corresponding to the given work object ID value.
The lookup is by value rather than the typed ID object as the type may be wrong.
workObjectId
- a work object IDEntityNotFoundException
- if there is no matchString getWorkObjectIdForGlobalId(String globalId, String tenantId)
Returns the work object ID corresponding to the given global ID.
globalId
- a global IDtenantId
- the required tenant IDEntityNotFoundException
- if there is no matchString getWorkObjectIdForExternalId(String externalId)
Returns the work object ID corresponding to the given external ID.
externalId
- an external ID (may be null)String getExternalIdForWorkObjectId(String workObjectId)
Returns the external ID corresponding to the given work object ID.
workObjectId
- an work object IDEntityNotFoundException
- if there is no matchString getDefinitionIdForExternalId(String externalId)
Returns the work object definition ID corresponding to the given external ID.
externalId
- an external IDString getExternalIdForDefinitionId(String definitionId)
Returns the external definition ID corresponding to the given work object ID.
definitionId
- a definition IDEntityNotFoundException
- if there is no matchCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.