com.sapportals.wcm.repository.manager
Interface IRepositoryManager


public interface IRepositoryManager

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

Copyright (c) SAP Portals Europe GmbH 2001

Version:
$Revision: 1.13 $

Method Summary
 com.sapportals.wcm.crt.configuration.IConfiguration getConfiguration()
          Returns the configuration data of this repository manager.
 java.lang.String getDescription()
          Returns the description of this manager.
 com.sapportals.wcm.repository.manager.IResourceEventBroker getEventBroker()
          Returns a reference to this repsitory's event broker
 java.lang.String getID()
          Returns the manager id
 com.sapportals.wcm.repository.manager.NameInfo getNameInfo()
          Returns an object that contains information about the attributes of resource names supported by this repository manager.
 java.lang.String getPrefix()
          Returns the prefix config parameter.
 com.sapportals.wcm.repository.manager.IPropertySearchManager getPropertySearchManager(IResource resource)
          Get a reference to the property search manager for the repository
 com.sapportals.wcm.repository.manager.ISecurityManager getSecurityManager(IResource resource)
          Get a reference to the security manager for the repository
 com.sapportals.wcm.repository.manager.ISupportedOptionSet getSupportedOptions(IResource resource)
          Returns a set of supported operations.
 

Method Detail

getConfiguration

public com.sapportals.wcm.crt.configuration.IConfiguration getConfiguration()
Returns the configuration data of this repository manager.
Returns:
the configuration data of this repository manager.

getDescription

public java.lang.String getDescription()
Returns the description of this manager.
Returns:
The description

getEventBroker

public com.sapportals.wcm.repository.manager.IResourceEventBroker getEventBroker()
Returns a reference to this repsitory's event broker
Returns:
The event broker instance

getID

public java.lang.String getID()
Returns the manager id
Returns:
The id

getNameInfo

public com.sapportals.wcm.repository.manager.NameInfo getNameInfo()
Returns an object that contains information about the attributes of resource names supported by this repository manager.
Returns:
nameInfo

getPrefix

public java.lang.String getPrefix()
Returns the prefix config parameter.
Returns:
The prefix string

getPropertySearchManager

public com.sapportals.wcm.repository.manager.IPropertySearchManager getPropertySearchManager(IResource resource)
                                                                                      throws com.sapportals.wcm.repository.ResourceException
Get a reference to the property search manager for the repository
Parameters:
resource - The resource to manage
Returns:
The security manager
Throws:
com.sapportals.wcm.repository.ResourceException - Exception raised in failure situation

getSecurityManager

public com.sapportals.wcm.repository.manager.ISecurityManager getSecurityManager(IResource resource)
                                                                          throws com.sapportals.wcm.repository.ResourceException
Get a reference to the security manager for the repository
Parameters:
resource - The resource to manage
Returns:
The security manager
Throws:
com.sapportals.wcm.repository.ResourceException - Exception raised in failure situation

getSupportedOptions

public com.sapportals.wcm.repository.manager.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