com.sapportals.wcm.repository.service
Interface IRepositoryService


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
 java.lang.String acceptServletCall(java.util.Properties properties, IResourceContext context)
          This method is called by the eServiceServlet to perform some action.
 java.lang.String getDescription()
          Returns a description for this service.
 java.lang.String getDescription(java.util.Locale locale)
          Returns a description for this service.
 java.lang.String getID()
          Returns a service identifier, unique for this instance.
 

Method Detail

acceptServletCall

public java.lang.String acceptServletCall(java.util.Properties properties,
                                          IResourceContext context)
                                   throws com.sapportals.wcm.repository.service.ServiceCallException,
                                          com.sapportals.wcm.repository.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:
com.sapportals.wcm.repository.service.ServiceCallException - Exception raised in failure situation
ResourceException - Exception raised in failure situation

getDescription

public java.lang.String getDescription()
Returns a description for this service.
Returns:
a description for this service.

getDescription

public java.lang.String getDescription(java.util.Locale locale)
Returns a description for this service.
Parameters:
locale - TBD: Description of the incoming method parameter
Returns:
a description for this service.

getID

public java.lang.String getID()
Returns a service identifier, unique for this instance.
Returns:
a service identifier, unique for this instance.