|
SAP NetWeaver 7.31 (SP01) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IRoomsStructure
Interface describing the Rooms Structure. Its purpose is to link CM folders used by iViews to their room or room part. The structure is build by the room and the room extensions, and is used by entry point providers and search engines. The entry point providers use the structure to collect the folders of a room to provide them as entry points for cut & paste, move and copy operations inside or outside a room. Search engines use the structure to retrieve the information to which room a folder belongs.
| Method Summary | |
|---|---|
void |
addFolder(String parentId,
String folderPath)
Add a folder to the rooms structure. |
IEntryPoint |
getEntryPoint(String id,
String name,
String description,
String providerName)
Construct a virtual entry point. |
IEntryPointList |
getEntryPointChildren(IEntryPoint parentEntryPoint,
String providerName)
Retrieve the children of a virtual entrypoint node. |
IProperty |
getProperty(IPropertyName propertyName,
IEntryPoint entryPoint)
Returns name and description internally stored by the getEntryPoint method. |
List |
getRoomFolders(String roomId,
boolean includeRoomPartFolders)
Get the folders of a room |
String |
getRoomOfResource(String resourcePath)
Get the room a resource belongs to |
String |
getRoomOfRoomPart(String roomPartId)
Get the room a room part belongs to |
List |
getRoomPartFolders(String roomPartId)
Get the folders of a room part |
List |
getRoomParts(String roomId)
Get the room parts of a room |
boolean |
hasFolder(String folderPath)
Check if a folder is added to the rooms structure |
void |
removeFolder(String folderPath)
Remove a folder from the rooms structure. |
void |
setEntryPoint(String folderPath,
boolean isEntryPoint)
Sets the entry point flag for a folder that has been added to the structure. |
| Method Detail |
|---|
void addFolder(String parentId,
String folderPath)
throws RoomException
parentId - Id of the room or room part the folder belongs tofolderPath - Path of the folder
RoomException
boolean hasFolder(String folderPath)
throws RoomException
folderPath - Path of the folder
RoomException
void removeFolder(String folderPath)
throws RoomException
folderPath - Path of the folder
RoomException
List getRoomParts(String roomId)
throws RoomException,
IncompleteOperationException
roomId - Id of the room
RoomException
IncompleteOperationException
List getRoomFolders(String roomId,
boolean includeRoomPartFolders)
throws RoomException,
IncompleteOperationException
roomId - Id of the roomincludeRoomPartFolders - Return folders of the room parts of a room also, if true
RoomException
IncompleteOperationException
List getRoomPartFolders(String roomPartId)
throws RoomException,
IncompleteOperationException
roomPartId - Id of the room
RoomException
IncompleteOperationException
String getRoomOfRoomPart(String roomPartId)
throws RoomException
roomPartId - Id of the room
RoomException
String getRoomOfResource(String resourcePath)
throws RoomException
resourcePath - Path of the resource
RoomException
IEntryPoint getEntryPoint(String id,
String name,
String description,
String providerName)
id - Id of the entry pointname - Name of the entry pointdescription - Description of the entry pointproviderName - Name of the entry point provider
IEntryPointList getEntryPointChildren(IEntryPoint parentEntryPoint,
String providerName)
throws RoomException,
IncompleteOperationException
parentEntryPoint - ParentproviderName - Name of the entry point provider
RoomException
IncompleteOperationException
IProperty getProperty(IPropertyName propertyName,
IEntryPoint entryPoint)
throws ResourceException
propertyName - Name of the property (only valid for name and description)entryPoint - The entry point
ResourceException
void setEntryPoint(String folderPath,
boolean isEntryPoint)
throws RoomException
folderPath - Name of the property (only valid for name and description)isEntryPoint - List a link to the folder in the getEntryPointChildren method if true
RoomException| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-COLL
|
[sap.com] tc/kmc/coll/room
|
api
|
EP-KM-CRS
|
|
SAP NetWeaver 7.31 (SP01) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||