Class Workflow.WorkflowTaskItem

  • All Implemented Interfaces:
    Serializable, org.alfresco.service.namespace.NamespacePrefixResolverProvider
    Enclosing class:
    Workflow

    public static class Workflow.WorkflowTaskItem
    extends Object
    implements org.alfresco.service.namespace.NamespacePrefixResolverProvider
    Simple bean wrapper around a WorkflowTask item
    See Also:
    Serialized Form
    • Method Detail

      • getType

        public String getType()
      • getQnameType

        public String getQnameType()
      • getName

        public String getName()
      • getDescription

        public String getDescription()
      • getId

        public String getId()
      • getIsCompleted

        public boolean getIsCompleted()
      • getStartDate

        public Date getStartDate()
      • getInitiator

        public TemplateNode getInitiator()
        Returns:
        A TemplateNode representing the initiator (person) of the workflow
      • getPackage

        public org.alfresco.service.cmr.repository.NodeRef getPackage()
        Returns:
        The workflow package ref
      • getPackageTemplateNode

        public TemplateNode getPackageTemplateNode()
        Returns:
        The workflow package ref as a TemplateNode
      • getPackageResources

        public List<TemplateContent> getPackageResources()
        Returns:
        the resources from the package attached to this workflow task
      • getOutcome

        public String getOutcome()
        Returns:
        the 'outcome' label from a completed task
      • getProperties

        public Map<String,​Serializable> getProperties()
        Returns:
        A map of properties for the workflow task, includes all appropriate bpm model properties.
      • getNamespacePrefixResolver

        public org.alfresco.service.namespace.NamespacePrefixResolver getNamespacePrefixResolver()
        Specified by:
        getNamespacePrefixResolver in interface org.alfresco.service.namespace.NamespacePrefixResolverProvider