|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | 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 2004 SAP AG
| Method Summary | |
Collection |
getAllRepositoryServices(IRepositoryManager repository)
Get a list of all registered repository services for a given repository manager. |
Collection |
getAllRepositoryServices(IResource resource)
Get all repository services for a given resources repository manager. |
Collection |
getAllServices()
Returns a collection of all defined global services |
IRepositoryService |
getRepositoryService(IRepositoryManager repository,
String servicetype)
Returns a specific repository service instance for a given repository manager. |
IRepositoryService |
getRepositoryService(IResource resource,
String servicetype)
Get a specific service for a given resource. |
IRepositoryService |
getRepositoryService(String id)
Deprecated. Use method with IRepositoryManager as additional parameter instead. |
IService |
getService(String serviceID)
Retrieves a global service by a given ID. |
boolean |
isRepositoryServiceAvailable(IRepositoryManager repository,
String servicetype)
Checks if the service is avaible. |
boolean |
isRepositoryServiceAvailable(IResource resource,
String servicetype)
Checks if the service is avaible. |
| Method Detail |
public Collection getAllRepositoryServices(IRepositoryManager repository)
throws ResourceException
IRepositoryService references.
ResourceException - If there was a problem while allocating the
services.
public IRepositoryService getRepositoryService(IRepositoryManager repository,
String servicetype)
throws ResourceException
repository - A repository manager referenceservicetype - A service type constant
IRepositoryService reference.
ResourceException - If there was a problem while allocating the
service.
public boolean isRepositoryServiceAvailable(IRepositoryManager repository,
String servicetype)
throws ResourceException
repository - A repository manager referenceservicetype - A service type constant
ResourceException - If there was a problem while allocating the
service.
public Collection getAllRepositoryServices(IResource resource)
throws ResourceException
getAllRepositoryServices(IRepositoryManager repository) with the resources repository manager.
IRepositoryService s.
ResourceException - If there was a problem while allocating the
services.
public IRepositoryService getRepositoryService(IResource resource,
String servicetype)
throws ResourceException
servicetype - A service type constant
IRepositoryService .
ResourceException - If there was a problem while allocating the
service.
public boolean isRepositoryServiceAvailable(IResource resource,
String servicetype)
throws ResourceException
servicetype - A service type constant
ResourceException - If there was a problem while allocating the
service.
public IRepositoryService getRepositoryService(String id)
throws ResourceException
id - The services ID
IRepositoryService .
ResourceException - If there was a problem while allocating the
service.
public IService getService(String serviceID)
throws ResourceException
serviceID - The service ID as specified in configuration.
ResourceException - Exception raised in failure situation
public Collection getAllServices()
throws ResourceException
IService instances - empty
collection if no global services are available
ResourceException - Exception raised in failure situation
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||