public interface IRepositoryServiceFactory
Copyright 2004 SAP AG
Modifier and Type | Method and Description |
---|---|
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)
Retrieves a repository service by a given ID.
|
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.
|
Collection getAllRepositoryServices(IRepositoryManager repository) throws ResourceException
repository
- The repository manager for which the repository services should be retrievedIRepositoryService
references.ResourceException
- If there was a problem while allocating the
services.IRepositoryService getRepositoryService(IRepositoryManager repository, String servicetype) throws ResourceException
repository
- A repository manager referenceservicetype
- A service type constantIRepositoryService
reference.ResourceException
- If there was a problem while allocating the
service.boolean isRepositoryServiceAvailable(IRepositoryManager repository, String servicetype) throws ResourceException
repository
- A repository manager referenceservicetype
- A service type constantResourceException
- If there was a problem while allocating the
service.Collection getAllRepositoryServices(IResource resource) throws ResourceException
getAllRepositoryServices(IRepositoryManager repository)
with the resources repository manager.resource
- The resource for which the repository services should be retrievedIRepositoryService
s.ResourceException
- If there was a problem while allocating the
services.IRepositoryService getRepositoryService(IResource resource, String servicetype) throws ResourceException
resource
- The resource for which the repository service should be retrievedservicetype
- A service type constantIRepositoryService
.ResourceException
- If there was a problem while allocating the
service.boolean isRepositoryServiceAvailable(IResource resource, String servicetype) throws ResourceException
resource
- The resource for which the repository service should be retrievedservicetype
- A service type constantResourceException
- If there was a problem while allocating the
service.IRepositoryService getRepositoryService(String id) throws ResourceException
id
- The services IDIRepositoryService
.ResourceException
- If there was a problem while allocating the
service.IService getService(String serviceID) throws ResourceException
serviceID
- The service ID as specified in configuration.ResourceException
- Exception raised in failure situationCollection getAllServices() throws ResourceException
IService
instances - empty
collection if no global services are availableResourceException
- Exception raised in failure situationAccess Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice