public class DeleteContentFunction extends AbstractContentWorkflowComponent implements com.opensymphony.workflow.FunctionProvider
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) |
getContentaddWorkflowError, addWorkflowWarning, enableLogging, getConditionFailures, getContextParameters, getResultsMap, getUser, servicepublic 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.FunctionProvidercom.opensymphony.workflow.WorkflowExceptionprotected 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.