public interface IManager
Created 23. Januar 2003
Modifier and Type | Method and Description |
---|---|
String |
getId()
Get the unique id of the repository manager (usually assigned and made
unique through the configuration framework).
|
NameInfo |
getNameInfo()
Get the
NameInfo of a repository manager. |
String |
getRidPrefix()
Get the root token of a resource id, this resource manager claims
responsibility for.
|
Map |
getSubManagers()
Get map of sub managers indexed by sub manager interface, e.g. a repository
manager with a content and property sub manager implemented in one class
and a separate security sub manager implemented in another class, returns a
map with the content and property sub manager added twice via the content
sub manager interface and the property sub manager interface and the
security sub manager via the security sub manager interface.
|
Set |
getSupportedOptions(IResourceHandle resourceHandle)
Get set of options this repository manager supports.
|
IResourceHandle |
lookup(IRid rid)
Look up a resource in this repository by resource identifer.
|
List |
lookup(List ridList,
boolean contentToBeFetched,
List propertyNamesToBeFetched)
Look up resources in repository by list of resource ids and prefetch
content and certain properties when requested.
|
List |
lookup(List ridList,
Map content,
Map properties,
String[] permissionNames)
Look up resources in repository by list of resource ids and check thereby
for the given permission names.
|
String getId()
String getRidPrefix()
NameInfo getNameInfo()
NameInfo
of a repository manager. The NameInfo
contains information about the restrictions for resource and collection
names.Map getSubManagers()
IResourceHandle lookup(IRid rid) throws ResourceException
null
if the resource does not exist.rid
- resource identifier to be looked up.null
if the resource with the
specified RID does not exist. null
must be returned only
if the resource definitively does not exist; if the lookup fails for
some other reason (e.g. internal error, invalid RID) an appropriate
exception such as ServiceNotAvailableException must be thrown.ResourceException
- if the RID is invalid or the lookup failed.List lookup(List ridList, boolean contentToBeFetched, List propertyNamesToBeFetched) throws ResourceException, OperationNotCompletedException
ridList
- list of resource ids to be looked upcontentToBeFetched
- flag indicating whether or not content should
prefetched; content not prefetched must still be available via
subsequent IContentManager callspropertyNamesToBeFetched
- list of property names to be prefetched;
properties not prefetched must still be available via subsequent
IPropertyManager callsResourceException
- Exception raised in failure situationOperationNotCompletedException
- when the operation failed in
partsList lookup(List ridList, Map content, Map properties, String[] permissionNames) throws ResourceException, OperationNotCompletedException
ridList
- list of resource ids to be looked upcontent
- map of content to be used for the returned resources, where
the key is the RID and the value is the contentproperties
- map of properties to be used for the returned resources,
where the key is the RID and the value is a list of propertiespermissionNames
- array of permission names to be checked for or null
or empty for no checkResourceException
- Exception raised in failure situationOperationNotCompletedException
- when the operation failed in
partsSet getSupportedOptions(IResourceHandle resourceHandle)
resourceHandle
- resource handleAccess 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