|
SAP NetWeaver 7.31 (SP01) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IRepositoryServiceFactory
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)
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. |
| Method Detail |
|---|
Collection getAllRepositoryServices(IRepositoryManager repository)
throws ResourceException
The - repository manager for which the repository services should be retrieved
IRepositoryService 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 constant
IRepositoryService 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 constant
ResourceException - If there was a problem while allocating the
service.
Collection getAllRepositoryServices(IResource resource)
throws ResourceException
getAllRepositoryServices(IRepositoryManager repository) with the resources repository manager.
The - resource for which the repository services should be retrieved
IRepositoryService s.
ResourceException - If there was a problem while allocating the
services.
IRepositoryService getRepositoryService(IResource resource,
String servicetype)
throws ResourceException
The - resource for which the repository service should be retrievedservicetype - A service type constant
IRepositoryService .
ResourceException - If there was a problem while allocating the
service.
boolean isRepositoryServiceAvailable(IResource resource,
String servicetype)
throws ResourceException
The - resource for which the repository service should be retrievedservicetype - A service type constant
ResourceException - If there was a problem while allocating the
service.
IRepositoryService getRepositoryService(String id)
throws ResourceException
id - The services ID
IRepositoryService .
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 situation
Collection getAllServices()
throws ResourceException
IService instances - empty
collection if no global services are available
ResourceException - Exception raised in failure situation| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
|
SAP NetWeaver 7.31 (SP01) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||