Class CheckDuplicateContentsFunction

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

public class CheckDuplicateContentsFunction extends AbstractContentWorkflowComponent implements Initializable, com.opensymphony.workflow.FunctionProvider
OS workflow function to send mail after an action is triggered.
  • Constructor Details

  • Method Details

    • initialize

      public void initialize() throws Exception
      Specified by:
      initialize in interface Initializable
      Throws:
      Exception
    • 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
    • _getTitleTag

      protected String _getTitleTag(Content duplicate)
      Get the HTML tag to display the content
      Parameters:
      duplicate - the duplicate content info
      Returns:
      the HTML tag to display the content