|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface describing relation manager used to relate and unrelate rooms via their room ids along relation types defined in the configuration framework.
com.sap.ip.collaboration.room.api.relman.RelationManager| Method Summary | |
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. |
| Method Detail |
public List getAllAssociationIds()
public String getAssociationLabel(String associationId,
Locale locale)
associationId - relation type idlocale - locale
public void relateRoom(String sourceRoomId,
String targetRoomId,
String associationId)
throws ResourceException
sourceRoomId - source room idtargetRoomId - target room idassociationId - relation type id
ResourceException - Exception raised in failure situation
public void unrelateRoom(String sourceRoomId,
String targetRoomId,
String associationId)
throws ResourceException
sourceRoomId - source room idtargetRoomId - target room idassociationId - relation type id
ResourceException - Exception raised in failure situation
public void deleteRoomRelations(String roomId)
throws ResourceException
roomId - room id
ResourceException - Exception raised in failure situation
public void deleteRoomRelations(String roomId,
String associationId)
throws ResourceException
roomId - room idassociationId - relation type id
ResourceException - Exception raised in failure situation
public void orderRoomRelation(String sourceRoomId,
String targetRoomId,
String associationId,
IOrderedRelationPosition orderedRelationPosition)
throws ResourceException
sourceRoomId - source room idtargetRoomId - target room idassociationId - relation type idorderedRelationPosition - order position
ResourceException - Exception raised in failure situationIOrderedRelationPosition
public Map getRelatedRoomsFromRoom(String sourceRoomId)
throws ResourceException
sourceRoomId - source room id
ResourceException - Exception raised in failure situation
public List getRelatedRoomsFromRoom(String sourceRoomId,
String associationId)
throws ResourceException
sourceRoomId - source room idassociationId - relation type id
ResourceException - Exception raised in failure situation
public Map getRelatedRoomsToRoom(String targetRoomId)
throws ResourceException
targetRoomId - target room id
ResourceException - Exception raised in failure situation
public List getRelatedRoomsToRoom(String targetRoomId,
String associationId)
throws ResourceException
targetRoomId - target room idassociationId - relation type id
ResourceException - Exception raised in failure situation
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||