Class Workflow

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware

    public class Workflow
    extends Object
    implements org.springframework.beans.factory.BeanNameAware
    Contains all the steps involved in a certain configured workflow.
    Author:
    Bram De Schouwer (bram.deschouwer at dot com), Kevin Van de Velde (kevin at atmire dot com), Ben Bosman (ben at atmire dot com), Mark Diggory (markd at atmire dot com)
    • Constructor Detail

      • Workflow

        public Workflow()
    • Method Detail

      • getFirstStep

        public Step getFirstStep()
      • setFirstStep

        @Autowired(required=true)
        public void setFirstStep​(Step firstStep)
      • getSteps

        public List<Step> getSteps()
        Get the steps that need to be executed in this workflow before the item is archived
        Returns:
        the workflow steps
      • setSteps

        @Autowired(required=true)
        public void setSteps​(List<Step> steps)
        Set the steps that need to be executed in this workflow before the item is archived
        Parameters:
        steps - the workflow steps
      • getRoles

        public Map<String,​Role> getRoles()
        Get the roles that are used in this workflow
        Returns:
        a map containing the roles, the role name will the key, the role itself the value
      • setBeanName

        public void setBeanName​(String s)
        Specified by:
        setBeanName in interface org.springframework.beans.factory.BeanNameAware