SAP NetWeaver '04

com.sapportals.wcm.repository.manager
Interface IRepositoryManager

[contained in: com.sap.netweaver.bc.rf.par - bc.rf.framework_api.jar]
public interface IRepositoryManager

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

Copyright 2004 SAP AG


Method Summary
 java.util.Collection getAllServices()
          Deprecated. As of EP 5.0 SP5
 java.util.Properties getConfig()
          Deprecated. As of EP 5.0 SP5, replaced by getConfiguration()
 IConfiguration getConfiguration()
          Returns the configuration data of this repository manager.
 java.lang.String getDescription()
          Returns the description of this manager.
 IResourceEventBroker getEventBroker()
          Returns a reference to this repsitory's event broker
 java.lang.String getID()
          Returns the manager id
 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.
 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(java.lang.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(java.lang.String type)
          Deprecated. As of EP 5.0 SP5, replaced by getService() method in IRepositoryServiceFactory
 

Method Detail

getSecurityManager

public 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

public 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

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

getConfig

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

Returns:
config

getConfiguration

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

getID

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

getDescription

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

getEventBroker

public IResourceEventBroker getEventBroker()
Returns a reference to this repsitory's event broker
Returns:
The event broker instance

getAllServices

public java.util.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

public IRepositoryService getService(java.lang.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

public boolean isServiceAvailable(java.lang.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

public 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

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

SAP NetWeaver '04

Copyright © 2004 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.