|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Defines an interface for a repository service factory. This factory creates instances of repository dependent services. It also provides access to repository independet services.
Copyright (c) SAP Portals Europe GmbH 2001
| Method Summary | |
java.util.Collection |
getAllRepositoryServices(IRepositoryManager repository)
Get a list of all registered service managers for a given repository manager. |
java.util.Collection |
getAllRepositoryServices(IResource resource)
Get all services for a given resource. |
java.util.Collection |
getAllServices()
Returns a collection of all defined services |
IRepositoryService |
getRepositoryService(IRepositoryManager repository,
java.lang.String servicetype)
Returns a specific service manager instance for a given repository manager. |
IRepositoryService |
getRepositoryService(IResource resource,
java.lang.String servicetype)
Get a specific service for a given resource. |
IRepositoryService |
getRepositoryService(java.lang.String id)
Get a service instance by ID. |
com.sapportals.wcm.service.IService |
getService(java.lang.String serviceID)
Returns the instance of a service. |
boolean |
isRepositoryServiceAvailable(IRepositoryManager repository,
java.lang.String servicetype)
Checks if the service is avaible. |
boolean |
isRepositoryServiceAvailable(IResource resource,
java.lang.String servicetype)
Checks if the service is avaible. |
| Method Detail |
public java.util.Collection getAllRepositoryServices(IRepositoryManager repository)
throws com.sapportals.wcm.repository.ResourceException
repository - TBD: Description of the incoming method parameterIRepositoryService references.ResourceException - If there was a problem while allocating the
managers.
public java.util.Collection getAllRepositoryServices(IResource resource)
throws com.sapportals.wcm.repository.ResourceException
resource - TBD: Description of the incoming method parameterIRepositoryService s.ResourceException - If there was a problem while allocating the
managers.
public java.util.Collection getAllServices()
throws com.sapportals.wcm.repository.ResourceException
IService instances - empty
collection if no global services are availableResourceException - Exception raised in failure situation
public IRepositoryService getRepositoryService(IRepositoryManager repository,
java.lang.String servicetype)
throws com.sapportals.wcm.repository.ResourceException
repository - A repository manager referenceservicetype - A service type constantIRepositoryService reference.ResourceException - If there was a problem while allocating the
manager.
public IRepositoryService getRepositoryService(IResource resource,
java.lang.String servicetype)
throws com.sapportals.wcm.repository.ResourceException
resource - TBD: Description of the incoming method parameterservicetype - TBD: Description of the incoming method parameterIRepositoryService .ResourceException - If there was a problem while allocating the
manager.
public IRepositoryService getRepositoryService(java.lang.String id)
throws com.sapportals.wcm.repository.ResourceException
id - The service manager IDIRepositoryService .ResourceException - If there was a problem while allocating the
manager.
public com.sapportals.wcm.service.IService getService(java.lang.String serviceID)
throws com.sapportals.wcm.repository.ResourceException
serviceID - The service ID as specified in configuration.ResourceException - Exception raised in failure situation
public boolean isRepositoryServiceAvailable(IRepositoryManager repository,
java.lang.String servicetype)
throws com.sapportals.wcm.repository.ResourceException
repository - TBD: Description of the incoming method parameterservicetype - TBD: Description of the incoming method parameterResourceException - If there was a problem while allocating the
manager.
public boolean isRepositoryServiceAvailable(IResource resource,
java.lang.String servicetype)
throws com.sapportals.wcm.repository.ResourceException
resource - TBD: Description of the incoming method parameterservicetype - TBD: Description of the incoming method parameterResourceException - If there was a problem while allocating the
manager.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||