Class DeleteContentFunction

All Implemented Interfaces:
com.opensymphony.workflow.FunctionProvider, EnhancedFunction, LogEnabled, Serviceable

OSWorkflow function for deleting a content.
  • Constructor Details

  • Method Details

    • execute

      public void execute(Map transientVars, Map args, com.opensymphony.module.propertyset.PropertySet ps) throws com.opensymphony.workflow.WorkflowException
      Specified by:
      execute in interface com.opensymphony.workflow.FunctionProvider
      Throws:
      com.opensymphony.workflow.WorkflowException
    • _removeContent

      protected void _removeContent(ModifiableContent content) throws com.opensymphony.workflow.WorkflowException, javax.jcr.RepositoryException
      Deletes the content.
      Parameters:
      content - the content.
      Throws:
      com.opensymphony.workflow.WorkflowException - if an error occurs.
      javax.jcr.RepositoryException - if an error occurs.
    • getLabel

      Description copied from interface: EnhancedFunction
      Get the label for this function
      Specified by:
      getLabel in interface EnhancedFunction
      Returns:
      the label