public class DeleteContentFunction extends AbstractContentWorkflowComponent implements com.opensymphony.workflow.FunctionProvider
_contentHelper, CONTENT_KEY
_logger, _manager, CONTEXT_PARAMETERS_KEY, FAIL_CONDITIONS_KEY, RESULT_MAP_KEY, WORKFLOW_ERRORS_KEY, WORKFLOW_WARNS_KEY
Constructor and Description |
---|
DeleteContentFunction() |
Modifier and Type | Method and Description |
---|---|
protected void |
_removeContent(ModifiableContent content)
Deletes the content.
|
void |
execute(Map transientVars,
Map args,
com.opensymphony.module.propertyset.PropertySet ps) |
getContent, service
addWorkflowError, addWorkflowWarning, enableLogging, getConditionFailures, getContextParameters, getResultsMap, getUser
public DeleteContentFunction()
public void execute(Map transientVars, Map args, com.opensymphony.module.propertyset.PropertySet ps) throws com.opensymphony.workflow.WorkflowException
execute
in interface com.opensymphony.workflow.FunctionProvider
com.opensymphony.workflow.WorkflowException
protected void _removeContent(ModifiableContent content) throws com.opensymphony.workflow.WorkflowException, RepositoryException
content
- the content.com.opensymphony.workflow.WorkflowException
- if an error occurs.RepositoryException
- if an error occurs.