com.sapportals.wcm.repository.manager

Interface IRepositoryManager


public interface IRepositoryManager

A repository manager implements the access to resources of a particular repository.

Copyright 2004 SAP AG


Method Summary
 Collection getAllServices()
          Deprecated. As of EP 5.0 SP5
 Properties getConfig()
          Deprecated. As of EP 5.0 SP5, replaced by getConfiguration()
 IConfiguration getConfiguration()
          Returns the configuration data of this repository manager.
 String getDescription()
          Returns the description of this manager.
 IResourceEventBroker getEventBroker()
          Returns a reference to this repsitory's event broker
 String getID()
          Returns the manager id
 Object getInterface()
          Returns a reference to the repository manager interface which can be used to do a cast to repository-specific interfaces.
 NameInfo getNameInfo()
          Returns an object that contains information about the attributes of resource names supported by this repository manager.
 String getPrefix()
          Returns the prefix config parameter.
 IPropertySearchManager getPropertySearchManager(IResource resource)
          Get a reference to the property search manager for the repository
 ISecurityManager getSecurityManager(IResource resource)
          Get a reference to the security manager for the repository
 IRepositoryService getService(String type)
          Deprecated. As of EP 5.0 SP5, replaced by getService() method in IRepositoryServiceFactory
 ISupportedOptionSet getSupportedOptions(IResource resource)
          Returns a set of supported operations.
 boolean isServiceAvailable(String type)
          Deprecated. As of EP 5.0 SP5, replaced by getService() method in IRepositoryServiceFactory
 

Method Detail

getSecurityManager

ISecurityManager getSecurityManager(IResource resource)
                                    throws ResourceException
Get a reference to the security manager for the repository

Parameters:
resource - The resource to manage
Returns:
The security manager
Throws:
ResourceException - Exception raised in failure situation

getPropertySearchManager

IPropertySearchManager getPropertySearchManager(IResource resource)
                                                throws ResourceException
Get a reference to the property search manager for the repository

Parameters:
resource - The resource to manage
Returns:
The security manager
Throws:
ResourceException - Exception raised in failure situation

getPrefix

String getPrefix()
Returns the prefix config parameter.

Returns:
The prefix string

getConfig

Properties getConfig()
Deprecated. As of EP 5.0 SP5, replaced by getConfiguration()

Returns:
config

getConfiguration

IConfiguration getConfiguration()
Returns the configuration data of this repository manager.

Returns:
the configuration data of this repository manager.

getID

String getID()
Returns the manager id

Returns:
The id

getDescription

String getDescription()
Returns the description of this manager.

Returns:
The description

getEventBroker

IResourceEventBroker getEventBroker()
Returns a reference to this repsitory's event broker

Returns:
The event broker instance

getAllServices

Collection getAllServices()
                          throws ResourceException
Deprecated. As of EP 5.0 SP5

Returns all registered services for this repository

Returns:
A collection of IRepositoryServer references
Throws:
ResourceException

getService

IRepositoryService getService(String type)
                              throws ResourceException
Deprecated. As of EP 5.0 SP5, replaced by getService() method in IRepositoryServiceFactory

Returns a reference to a service for this repository

Parameters:
type - TBD: Description of the incoming method parameter
Returns:
IRepositoryService The service reference
Throws:
ResourceException

isServiceAvailable

boolean isServiceAvailable(String type)
                           throws ResourceException
Deprecated. As of EP 5.0 SP5, replaced by getService() method in IRepositoryServiceFactory

Checks if a service is avaible.

Parameters:
type - TBD: Description of the incoming method parameter
Returns:
serviceAvailable
Throws:
ResourceException

getSupportedOptions

ISupportedOptionSet getSupportedOptions(IResource resource)
Returns a set of supported operations. In case of a null resource, the repository shall return the set of all supported operations.

Parameters:
resource - TBD: Description of the incoming method parameter
Returns:
The supported operations

getNameInfo

NameInfo getNameInfo()
Returns an object that contains information about the attributes of resource names supported by this repository manager.

Returns:
nameInfo

getInterface

Object getInterface()
Returns a reference to the repository manager interface which can be used to do a cast to repository-specific interfaces. Usage example:
 IRepositorySpecialInterface x = (IRepositorySpecialInterface)resource.getRepositoryManager().getInterface();
 x.doSomething();
 

Returns:
Since:
NetWeaver 7.1
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM


Copyright 2011 SAP AG Complete Copyright Notice