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.
      • isExternalAccessPermitted

        public boolean isExternalAccessPermitted()
        Returns:
        Whether or not it is allowed to access form records in this state. If true then getAuthenticatorConfigs() determines the available authentication methods
      • setExternalAccessPermitted

        public void setExternalAccessPermitted​(boolean externalAccessPermitted)
        Parameters:
        externalAccessPermitted - Whether or not it is allowed to access form records in this state
      • getDescription

        @Deprecated
        public String getDescription​(Locale locale)
        Deprecated.
        Parameters:
        locale - Locale for which to get the description.
        Returns:
        The description of this state.
      • getId

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

        @Deprecated
        public String getName​(Locale locale)
        Deprecated.
        Parameters:
        locale - Locale for which to get the name.
        Returns:
        The name of this state.
      • 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.
      • 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.
      • isUseSystemAuthentication

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

        @Deprecated
        public void setUseSystemAuthentication​(boolean useSystemAuthentication)
        Deprecated.
        Parameters:
        useSystemAuthentication - sets whether or not to use the default system authentication or a custom authentication config when accessing the form records in this state