public abstract class AbstractContentWorkflowComponent extends AbstractWorkflowComponent
Modifier and Type | Field and Description |
---|---|
protected ContentHelper |
_contentHelper
The content helper
|
static String |
CONTENT_KEY
Constant for storing the content into the transient variables map.
|
_logger, _manager, CONTEXT_PARAMETERS_KEY, FAIL_CONDITIONS_KEY, RESULT_MAP_KEY, WORKFLOW_ERRORS_KEY, WORKFLOW_WARNS_KEY
Constructor and Description |
---|
AbstractContentWorkflowComponent() |
Modifier and Type | Method and Description |
---|---|
protected WorkflowAwareContent |
getContent(Map transientVars)
Retrieve the content associated with the workflow.
|
void |
service(ServiceManager smanager) |
addWorkflowError, addWorkflowWarning, enableLogging, getConditionFailures, getContextParameters, getResultsMap, getUser
public static final String CONTENT_KEY
protected ContentHelper _contentHelper
public AbstractContentWorkflowComponent()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class AbstractWorkflowComponent
ServiceException
protected WorkflowAwareContent getContent(Map transientVars) throws com.opensymphony.workflow.WorkflowException
transientVars
- the parameters from the call.com.opensymphony.workflow.WorkflowException
- if the content is not found.