Class AmetysStep

  • All Implemented Interfaces:
    com.opensymphony.workflow.spi.Step

    public class AmetysStep
    extends Object
    implements com.opensymphony.workflow.spi.Step
    OSWorkflow step with additional properties.
    • Method Detail

      • getNode

        Node getNode()
        Get the backing JCR node.
        Returns:
        the backing JCR node.
      • getId

        public long getId()
        Specified by:
        getId in interface com.opensymphony.workflow.spi.Step
      • getEntryId

        public long getEntryId()
        Specified by:
        getEntryId in interface com.opensymphony.workflow.spi.Step
      • getStepId

        public int getStepId()
        Specified by:
        getStepId in interface com.opensymphony.workflow.spi.Step
      • setStepId

        public void setStepId​(int stepId)
        Set the step ID.
        Parameters:
        stepId - the step ID to set.
      • getActionId

        public int getActionId()
        Specified by:
        getActionId in interface com.opensymphony.workflow.spi.Step
      • setActionId

        public void setActionId​(int actionId)
        Set the action ID.
        Parameters:
        actionId - the action ID to set.
      • getCaller

        public String getCaller()
        Specified by:
        getCaller in interface com.opensymphony.workflow.spi.Step
      • setCaller

        public void setCaller​(String caller)
        Set the caller.
        Parameters:
        caller - the caller to set.
      • getStartDate

        public Date getStartDate()
        Specified by:
        getStartDate in interface com.opensymphony.workflow.spi.Step
      • setStartDate

        public void setStartDate​(Date startDate)
        Set the step start date.
        Parameters:
        startDate - the start date to set.
      • getDueDate

        public Date getDueDate()
        Specified by:
        getDueDate in interface com.opensymphony.workflow.spi.Step
      • setDueDate

        public void setDueDate​(Date dueDate)
        Set the step due date.
        Parameters:
        dueDate - the due date to set.
      • getFinishDate

        public Date getFinishDate()
        Specified by:
        getFinishDate in interface com.opensymphony.workflow.spi.Step
      • setFinishDate

        public void setFinishDate​(Date finishDate)
        Set the step finish date.
        Parameters:
        finishDate - the finish date to set.
      • getOwner

        public String getOwner()
        Specified by:
        getOwner in interface com.opensymphony.workflow.spi.Step
      • setOwner

        public void setOwner​(String owner)
        Set the owner.
        Parameters:
        owner - the owner to set.
      • getPreviousStepIds

        public long[] getPreviousStepIds()
        Specified by:
        getPreviousStepIds in interface com.opensymphony.workflow.spi.Step
      • setPreviousStepIds

        public void setPreviousStepIds​(long[] previousStepIds)
        Set the previous step IDs.
        Parameters:
        previousStepIds - the previous step IDs to set.
      • getStatus

        public String getStatus()
        Specified by:
        getStatus in interface com.opensymphony.workflow.spi.Step
      • setStatus

        public void setStatus​(String status)
        Set the status.
        Parameters:
        status - the status to set.
      • getProperty

        public Object getProperty​(String name)
        Get a custom property value.
        Parameters:
        name - the property name.
        Returns:
        the custom property value.
      • setProperty

        public void setProperty​(String name,
                                Object value)
        Set a custom property value.
        Parameters:
        name - the property name.
        value - the value to set.
      • getPropertyNames

        public Set<StringgetPropertyNames()
        Get all the custom property names.
        Returns:
        the custom property names.
      • save

        public void save()
        Save the step.