public interface IUriMapperService2 extends IUriMapperService
SERVICE_ID
Modifier and Type | Method and Description |
---|---|
String |
getConstantID(RID rid,
IResourceContext context)
Maps a given RID onto a constant unique ID.
|
String[] |
getConstantIDs(IRidList ridList,
IResourceContext context)
Maps a list of RIDs to a list of constant unique IDs.
|
String |
getCreateConstantID(RID rid,
IResourceContext context)
Maps a given RID onto a constant unique ID.
|
String[] |
getCreateConstantIDs(IRidList rids,
IResourceContext context)
Maps a given set of RIDs onto a set of constant unique IDs.
|
String |
getCreateVariableID(RID rid,
IResourceContext context)
Maps a given RID onto a variable unique ID.
|
RID |
getGuidRIDFromRID(RID rid,
IResourceContext context)
Maps a given GUID RID onto the matching RID.
|
RID |
getRIDFromConstantID(String constantID,
IResourceContext context)
Maps a given constant ID onto the matching RID.
|
RID |
getRIDFromGuidRID(RID rid,
IResourceContext context)
Maps a given GUID RID onto the matching RID.
|
RID |
getRIDFromVariableID(String variableID,
IResourceContext context)
Maps a given variable ID onto the matching RID.
|
String |
getVariableID(RID rid,
IResourceContext context)
Maps a given RID onto a variable unique ID.
|
String[] |
getVariableIDs(IRidList ridList,
IResourceContext context)
Maps a list of RIDs to a list of variable unique IDs.
|
void |
removeMultipleIDs(RID id,
IResourceContext context)
Remove mapping for the given RID and all descendants, e.g. id/*.
|
boolean |
removeSingleID(RID id,
IResourceContext context)
Remove mapping for the given RID.
|
void |
renameMultipleIDs(RID fromId,
RID toId,
IResourceContext context)
Rename mapping for the given RID and all descendants, e.g. id/*.
|
boolean |
renameSingleID(RID fromId,
RID toId,
IResourceContext context)
Rename mapping for the given RID.
|
forceSingleIDMapping, forceSingleIDMapping, getConstantID, getConstantID, getConstantIDs, getCreateConstantID, getCreateConstantID, getCreateConstantIDs, getCreateVariableID, getCreateVariableID, getGuidRIDFromRID, getRIDFromConstantID, getRIDFromGuidRID, getRIDFromVariableID, getUriFromConstantID, getUriFromVariableID, getVariableID, getVariableID, getVariableIDs, removeMultipleIDs, removeMultipleIDs, removeSingleID, removeSingleID, renameMultipleIDs, renameMultipleIDs, renameSingleID, renameSingleID
getDescription, getDescription, getID
String getConstantID(RID rid, IResourceContext context) throws WcmException
null
is returned.rid
- to mapcontext
- IResourceContextWcmException
- Exception raised in failure situationString[] getConstantIDs(IRidList ridList, IResourceContext context) throws WcmException
null
entry.ridList
- List of RIDscontext
- IResourceContextWcmException
- Exception raised in failure situationString getCreateConstantID(RID rid, IResourceContext context) throws WcmException
rid
- to mapcontext
- IResourceContextWcmException
- Exception raised in failure situationString[] getCreateConstantIDs(IRidList rids, IResourceContext context) throws WcmException
rids
- List of RIDsWcmException
- Exception raised in failure situationRID getRIDFromConstantID(String constantID, IResourceContext context) throws WcmException
constantID
- constant ID to be matched.context
- IResourceContextWcmException
- Exception raised in failure situationRID getGuidRIDFromRID(RID rid, IResourceContext context) throws WcmException
rid
- GUID RID to be matchedcontext
- IResourceContextWcmException
- Exception raised in failure situationRID getRIDFromGuidRID(RID rid, IResourceContext context) throws WcmException
rid
- guid ridcontext
- IResourceContextWcmException
- Exception raised in failure situationString getVariableID(RID rid, IResourceContext context) throws WcmException
null
is returned.rid
- to mapcontext
- IResourceContextWcmException
- Exception raised in failure situationString getCreateVariableID(RID rid, IResourceContext context) throws WcmException
rid
- to mapcontext
- IResourceContextWcmException
- Exception raised in failure situationRID getRIDFromVariableID(String variableID, IResourceContext context) throws WcmException
variableID
- stringcontext
- IResourceContextWcmException
- Exception raised in failure situationString[] getVariableIDs(IRidList ridList, IResourceContext context) throws WcmException
null
entry.ridList
- List of RIDscontext
- IResourceContextWcmException
- WcmExceptionvoid removeMultipleIDs(RID id, IResourceContext context) throws WcmException
id
- exact RID and descendants to removecontext
- IResourceContextWcmException
- Exception raised in failure situationboolean removeSingleID(RID id, IResourceContext context) throws WcmException
id
- exact RID to remove mapping for.context
- IResourceContexttrue
if a mapping was removed.WcmException
- Exception raised in failure situationvoid renameMultipleIDs(RID fromId, RID toId, IResourceContext context) throws WcmException
fromId
- exact RID and descendants to rename.toId
- new RID to rename to.context
- IResourceContextWcmException
- Exception raised in failure situationboolean renameSingleID(RID fromId, RID toId, IResourceContext context) throws WcmException
fromId
- exact RID to rename.toId
- new RID to rename to.context
- IResourceContexttrue
if a mapping was renamed.WcmException
- Exception raised in failure situationAccess Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice