public interface IRelationManager
| Modifier and Type | Method and Description |
|---|---|
void |
deleteRoomRelations(String roomId)
Delete all room relations to and from the given room.
|
void |
deleteRoomRelations(String roomId,
String associationId)
Delete all room relations using the given relation type
to and from the given room.
|
List |
getAllAssociationIds()
Get all relation type ids as an unmodifiable list sorted
alphabetically by the id.
|
String |
getAssociationLabel(String associationId,
Locale locale)
Get localized relation type name by relation type id.
|
Map |
getRelatedRoomsFromRoom(String sourceRoomId)
Get all related rooms from the given room.
|
List |
getRelatedRoomsFromRoom(String sourceRoomId,
String associationId)
Get all related rooms from the given room using the given relation type.
|
Map |
getRelatedRoomsToRoom(String targetRoomId)
Get all related rooms to the given room.
|
List |
getRelatedRoomsToRoom(String targetRoomId,
String associationId)
Get all related rooms to the given room using the given relation type.
|
void |
orderRoomRelation(String sourceRoomId,
String targetRoomId,
String associationId,
IOrderedRelationPosition orderedRelationPosition)
Order room relation, i.e. place the relation from source room to target
room using the given relation type according to the given order position.
|
void |
relateRoom(String sourceRoomId,
String targetRoomId,
String associationId)
Relate source room to target room using the given relation type.
|
void |
unrelateRoom(String sourceRoomId,
String targetRoomId,
String associationId)
Unrelate source room from target room using the given relation type.
|
List getAllAssociationIds()
String getAssociationLabel(String associationId, Locale locale)
associationId - relation type idlocale - localevoid relateRoom(String sourceRoomId, String targetRoomId, String associationId) throws ResourceException
sourceRoomId - source room idtargetRoomId - target room idassociationId - relation type idResourceException - Exception raised in failure situationvoid unrelateRoom(String sourceRoomId, String targetRoomId, String associationId) throws ResourceException
sourceRoomId - source room idtargetRoomId - target room idassociationId - relation type idResourceException - Exception raised in failure situationvoid deleteRoomRelations(String roomId) throws ResourceException
roomId - room idResourceException - Exception raised in failure situationvoid deleteRoomRelations(String roomId, String associationId) throws ResourceException
roomId - room idassociationId - relation type idResourceException - Exception raised in failure situationvoid orderRoomRelation(String sourceRoomId, String targetRoomId, String associationId, IOrderedRelationPosition orderedRelationPosition) throws ResourceException
sourceRoomId - source room idtargetRoomId - target room idassociationId - relation type idorderedRelationPosition - order positionResourceException - Exception raised in failure situationIOrderedRelationPositionMap getRelatedRoomsFromRoom(String sourceRoomId) throws ResourceException
sourceRoomId - source room idResourceException - Exception raised in failure situationList getRelatedRoomsFromRoom(String sourceRoomId, String associationId) throws ResourceException
sourceRoomId - source room idassociationId - relation type idResourceException - Exception raised in failure situationMap getRelatedRoomsToRoom(String targetRoomId) throws ResourceException
targetRoomId - target room idResourceException - Exception raised in failure situationList getRelatedRoomsToRoom(String targetRoomId, String associationId) throws ResourceException
targetRoomId - target room idassociationId - relation type idResourceException - Exception raised in failure situation| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-COLL
|
[sap.com] tc/kmc/coll/room
|
api
|
EP-KM-CRS
|
Copyright 2021 SAP SE Complete Copyright Notice