public abstract class AbstractManagedComponentImpl
extends com.ibm.commerce.component.BaseComponentImpl
Constructor and Description |
---|
AbstractManagedComponentImpl()
Create an instance of the abstract component implementation, it calls its parents constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void | beginActivityServiceRequest(ActivityToken activityToken, ActivityData activityData)
This method begins a new transaction and starts the activity request.
|
protected void | commitActivityServiceRequest(ActivityToken activityToken)
This method ends the current activity and commits the current transaction.
|
void | executeServiceCommand(ActivityToken activityToken, java.util.Map requestParameters, java.lang.String interfaceName)
This method initializes the execution of the service command by specifying the identity of the thread to associate with the WCSecurityRole.
|
protected static java.util.Locale | getLocale(ActivityToken activityToken)
This method returns the locale that is found in the globalization context for the specified activity.
|
protected boolean | preprocess(ActivityToken activityToken, java.util.Map requestParameters, java.lang.String interfaceName)
This method performs any preprocessing logic before the command is executed.
|
protected abstract void | processErrorResponse(ActivityToken activityToken, java.util.Map requestParameters, ErrorDataBean errorDataBean)
This method will process the error response processing.
|
protected abstract void | processResponse(ActivityToken activityToken, java.util.Map requestParameters, java.util.Map responseParameters)
This method will process the response processing.
|
protected void | rollbackActivityServiceRequest(ActivityToken activityToken)
This method rolls back the activity and the current transaction.
|
public AbstractManagedComponentImpl()
public void executeServiceCommand(ActivityToken activityToken, java.util.Map requestParameters, java.lang.String interfaceName) throws ServiceException
protected void beginActivityServiceRequest(ActivityToken activityToken, ActivityData activityData) throws ServiceException, ECSystemException
protected void commitActivityServiceRequest(ActivityToken activityToken) throws ServiceException, ECSystemException, javax.transaction.RollbackException
protected void rollbackActivityServiceRequest(ActivityToken activityToken) throws ServiceException
protected static java.util.Locale getLocale(ActivityToken activityToken)
protected boolean preprocess(ActivityToken activityToken, java.util.Map requestParameters, java.lang.String interfaceName) throws ServiceException
protected abstract void processResponse(ActivityToken activityToken, java.util.Map requestParameters, java.util.Map responseParameters) throws ServiceException
protected abstract void processErrorResponse(ActivityToken activityToken, java.util.Map requestParameters, ErrorDataBean errorDataBean) throws ServiceException