public interface IWorkspaceManager
Workspaces are collections that may be created in certain server-defined collections. Every resource which is a descendant of a workspace is called a 'workspace controlled resource' or wcr. In every worksapce controlled collection, it is possible to create vcrs using a given version history resource. The newly created vcr will behave essentially like a working resource, the main difference being the client controlled naming and the guarantee that two vcrs in the same workspace will not share their version history (unless they are not bindings to the same resource).
Precondition for the support of this interface is support of
IAdvancedVersioningManager
and the support of bindings, at least
internally.
Modifier and Type | Method and Description |
---|---|
Set |
getCheckedOutResources(IResourceHandle workspaceHandle)
Returns the
Set of resource handles referring to checked-out
vcrs belonging to the workspace identified by the given resource handle. |
Set |
getWorkspaceCollectionSet(IResourceHandle resourceHandle)
Return the
Set of collection handles where workspaces can be
created. |
IResourceHandle |
getWorkspaceResource(IResourceHandle resourceHandle)
If the given resource handle belongs to a workspace controlled resource, a
resource handle referring to it's workspace resource will be returned.
|
Set getWorkspaceCollectionSet(IResourceHandle resourceHandle) throws ResourceException
Set
of collection handles where workspaces can be
created. This set may vary depending on the given resource handle, e.g.
different parts of the repository namespace may have different workspace
collection sets.resourceHandle
- a resource handleSet
of workspace collections for the given
resource handleResourceException
- if the resource handle is invalid or the
operation failedIResourceHandle getWorkspaceResource(IResourceHandle resourceHandle) throws ResourceException
resourceHandle
- a resource handleResourceException
- if the resource handle is invalid or the
operation failedSet getCheckedOutResources(IResourceHandle workspaceHandle) throws ResourceException
Set
of resource handles referring to checked-out
vcrs belonging to the workspace identified by the given resource handle.workspaceHandle
- a workspace resource handleResourceException
- if the resource handle is invalid or the
operation failedAccess 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