com.sapportals.wcm.repository.service

Interface IRepositoryService

All Known Subinterfaces:
IDiscussionManager, ILayoutService, IStatemanagementConfigurableManager, IStatemanagementManager, ISubscriptionCleanupManager, ISubscriptionManager, ISubscriptionManagerExpImp, ITimebasedPublishServiceManager, IWastebasketService
All Known Implementing Classes:
AbstractRepositoryService, WastebasketService

public interface IRepositoryService

A repository service implements additional functionalities for repositories, e.g. subscription and indexing/searching. In general, a repository service is independent of a specific repository implementation. Services can subscribe for events of repository managers, to be informed about state changes of resources.


Method Summary
 String acceptServletCall(Properties properties, IResourceContext context)
          This method is called by the eServiceServlet to perform some action.
 String getDescription()
          Returns a description for this service.
 String getDescription(Locale locale)
          Returns a description for this service.
 String getID()
          Returns a service identifier, unique for this instance.
 String getServiceType()
          Deprecated. As of EP 5.0 SP5, The "service type" is the name of the configurable class.
 

Method Detail

getServiceType

String getServiceType()
Deprecated. As of EP 5.0 SP5, The "service type" is the name of the configurable class.

Get the service's service type, as defined in IWcmConfig.

Returns:
The service type constant for this service.

getID

String getID()
Returns a service identifier, unique for this instance.

Returns:
a service identifier, unique for this instance.

getDescription

String getDescription()
Returns a description for this service.

Returns:
a description for this service.

getDescription

String getDescription(Locale locale)
Returns a description for this service.

Parameters:
locale - TBD: Description of the incoming method parameter
Returns:
a description for this service.

acceptServletCall

String acceptServletCall(Properties properties,
                         IResourceContext context)
                         throws ServiceCallException,
                                ResourceException
This method is called by the eServiceServlet to perform some action.

Parameters:
properties - TBD: Description of the incoming method parameter
context - TBD: Description of the incoming method parameter
Returns:
The message to show on the servlet
Throws:
ServiceCallException - Exception raised in failure situation
ResourceException - Exception raised in failure situation
Access Rights

This class can be accessed from:


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 2011 SAP AG Complete Copyright Notice