Class WorkingUser

    • Constructor Detail

      • WorkingUser

        public WorkingUser()
    • Method Detail

      • getState

        public String getState()
        Get state name for which user is affected
        Returns:
        state name
      • setState

        public void setState​(String state)
        Set state name for which user is affected
        Parameters:
        state - state name
      • getRole

        public String getRole()
        Get state role for which user is affected
        Returns:
        state role
      • getRoles

        public List<String> getRoles()
        Get state role for which user is affected
        Returns:
        state role
      • setRole

        public void setRole​(String role)
        Set state role for which user is affected
        Parameters:
        role - state role
      • getUserId

        public String getUserId()
        Get the user id
        Returns:
        user id
      • setUserId

        public void setUserId​(String userId)
        Set the user id
        Parameters:
        userId - user id
      • getUsersRole

        public String getUsersRole()
        Get the user role
        Returns:
        user role name
      • setUsersRole

        public void setUsersRole​(String usersRole)
        Set the user role
        Parameters:
        usersRole - role
      • getGroupId

        public String getGroupId()
      • setGroupId

        public void setGroupId​(String groupId)
      • getProcessInstance

        public ProcessInstanceImpl getProcessInstance()
        Get the instance for which user is affected
        Returns:
        instance
      • setProcessInstance

        public void setProcessInstance​(ProcessInstanceImpl processInstance)
        Set the instance for which user is affected
        Parameters:
        processInstance - instance
      • toUser

        public static User[] toUser​(WorkingUser[] workingUsers)
                             throws WorkflowException
        Get User information from an array of workingUsers
        Parameters:
        workingUsers - an array of WorkingUser objects
        Returns:
        an array of objects implementing User interface and containing user details
        Throws:
        WorkflowException