Class WorkflowState

    • Constructor Detail

      • WorkflowState

        public WorkflowState()
    • Method Detail

      • cloneBasics

        public WorkflowState cloneBasics()
        Returns:
        A new state instance with all fields that do not reference other entities copied from this instance.
      • isUseSystemAuthentication

        public boolean isUseSystemAuthentication()
        Returns:
        Whether to use the default system authentication or a custom authentication config when accessing the form records in this state
      • getId

        public Long getId()
        Specified by:
        getId in interface de.xima.cmn.dao.interfaces.IEntity<Long>
      • getOrderIndex

        public int getOrderIndex()
        Returns:
        The 0-based position where this state appears on the UI for managing the states of a workflow version.
      • getType

        public EWorkflowStateType getType()
        Returns:
        The type of this state, whether it is a special system state, or a custom state defined by the user.
      • getUuid

        public UUID getUuid()
        Specified by:
        getUuid in interface IUuidProviding
        Returns:
        The UUID of this workflow state that identifies it. Please note that this UUID is unique only within the WorkflowVersion.getStates() of a certain workflow version. Two states of different workflow version may share the same UUID.
      • getUUID

        public String getUUID()
        Specified by:
        getUUID in interface IUUIDEntity
        Returns:
        The UUID of this workflow state that identifies it. Please note that this UUID is unique only within the WorkflowVersion.getStates() of a certain workflow version. Two states of different workflow version may share the same UUID.
      • getUUIDObject

        public UUID getUUIDObject()
        Specified by:
        getUUIDObject in interface IUUIDEntity
        Returns:
        The UUID of this workflow state that identifies it. Please note that this UUID is unique only within the WorkflowVersion.getStates() of a certain workflow version. Two states of different workflow version may share the same UUID.
      • isFormRecordDeletable

        public boolean isFormRecordDeletable()
        Returns:
        Whether a form record in this state can be deleted manually by a user in the inbox.
      • setUseSystemAuthentication

        public void setUseSystemAuthentication​(boolean useSystemAuthentication)
      • setAuthenticatorConfigs

        public void setAuthenticatorConfigs​(List<WorkflowStateAuthenticatorConfig> authenticatorConfigs)
        Parameters:
        authenticatorConfigs - custom authenticator configuration of this workflow state
      • setAccessUserGroups

        public void setAccessUserGroups​(List<BenutzerGruppe> userGroups)
      • setDescription

        public void setDescription​(String description)
        Parameters:
        description - The description of this item, as entered by the user.
      • setFormRecordDeletable

        public void setFormRecordDeletable​(boolean formRecordDeletable)
        Parameters:
        formRecordDeletable - Whether a form record in this state can be deleted manually by a user in the inbox.
      • setName

        public void setName​(String name)
        Parameters:
        name - The name of this item, as entered by the user.
      • setOrderIndex

        public void setOrderIndex​(int orderIndex)
        Parameters:
        orderIndex - The 0-based position where this state appears on the UI for managing the states of a workflow version.
      • setType

        public void setType​(EWorkflowStateType type)
        Parameters:
        type - The type of this state, whether it is a special system state, or a custom state defined by the user.
      • setUUID

        public void setUUID​(String uuid)
        Specified by:
        setUUID in interface IUUIDEntity
        Parameters:
        uuid - The UUID of this workflow state that identifies it. Please note that this UUID is unique only within the WorkflowVersion.getStates() of a certain workflow version. Two states of different workflow version may share the same UUID.
      • setUUIDObject

        public void setUUIDObject​(UUID uuid)
        Parameters:
        uuid - The UUID of this workflow state that identifies it. Please note that this UUID is unique only within the WorkflowVersion.getStates() of a certain workflow version. Two states of different workflow version may share the same UUID.
      • setVersion

        public void setVersion​(WorkflowVersion version)
        Parameters:
        version - The version to which this workflow state belongs.