com.ibm.workplace.wcm.api.editions
Interface CorEditionServiceHome


public interface CorEditionServiceHome

Home interface of the EditionService. An instance can be obtained as follows:

 Context ctx = new InitialContext();
 CorEditionServiceHome myHome = (CorEditionServiceHome) ctx.lookup(CorEditionServiceHome.JNDI_NAME);
 

Since:
8.5

Field Summary
static java.lang.String JNDI_NAME
          The JNDI name used to bind the CorEditionServiceHome interface.
 
Method Summary
 EditionService getEditionService(Context context)
          Gets an instance of the EditionService.
 EditionService getEditionService(Context context, Workspace workspace)
          Gets an instance of the EditionService.
 

Field Detail

JNDI_NAME

static final java.lang.String JNDI_NAME
The JNDI name used to bind the CorEditionServiceHome interface.

See Also:
Constant Field Values
Method Detail

getEditionService

EditionService getEditionService(Context context)
                                 throws EditionServiceNotAvailableException
Gets an instance of the EditionService.

Parameters:
context - cor context
Returns:
EditionService
Throws:
EditionServiceNotAvailableException

getEditionService

EditionService getEditionService(Context context,
                                 Workspace workspace)
                                 throws EditionServiceNotAvailableException
Gets an instance of the EditionService.

Parameters:
context - cor context
workspace - WCM workspace to be used by the service.
Returns:
EditionService
Throws:
EditionServiceNotAvailableException