Class AssigneeInfo

java.lang.Object
com.aquima.interactions.process.dao.impl.AssigneeInfo
All Implemented Interfaces:
IAssigneeInfo

public class AssigneeInfo extends Object implements IAssigneeInfo
Assignee information for specific assignees.
Since:
9.1
Author:
r.fleuren
  • Constructor Details

    • AssigneeInfo

      public AssigneeInfo(String user)
      Constructor for a specific single users.
      Parameters:
      user - The specific user.
    • AssigneeInfo

      public AssigneeInfo(String[] users)
      Constructor for specific users.
      Parameters:
      users - The specific users.
    • AssigneeInfo

      public AssigneeInfo(String[] teams, String[] roles)
      Constructor for a specific teams and roles.
      Parameters:
      teams - The specific teams, or null
      roles - The specific roles, or null
    • AssigneeInfo

      public AssigneeInfo(IAssigneeInfo other)
      Copy constructor.
      Parameters:
      other - Other assigneeinfo
  • Method Details

    • getTeams

      public String[] getTeams()
      Description copied from interface: IAssigneeInfo
      Return the names of the teams.
      Specified by:
      getTeams in interface IAssigneeInfo
      Returns:
      teams
    • containsTeam

      public boolean containsTeam(String team)
      Description copied from interface: IAssigneeInfo
      Return if this assignee info is for a specific team.
      Specified by:
      containsTeam in interface IAssigneeInfo
      Parameters:
      team - the team
      Returns:
      contains team
    • getRoles

      public String[] getRoles()
      Description copied from interface: IAssigneeInfo
      Return the names of the roles.
      Specified by:
      getRoles in interface IAssigneeInfo
      Returns:
      roles
    • containsRole

      public boolean containsRole(String role)
      Description copied from interface: IAssigneeInfo
      Return if this assignee info is for a specific role.
      Specified by:
      containsRole in interface IAssigneeInfo
      Parameters:
      role - the role
      Returns:
      contains role
    • getUsers

      public String[] getUsers()
      Description copied from interface: IAssigneeInfo
      Return the name of a specific user.
      Specified by:
      getUsers in interface IAssigneeInfo
      Returns:
      users
    • containsUser

      public boolean containsUser(String user)
      Description copied from interface: IAssigneeInfo
      Return if this assignee info is for a specific user.
      Specified by:
      containsUser in interface IAssigneeInfo
      Parameters:
      user - the user
      Returns:
      users
    • getSingleUser

      public String getSingleUser()
      Description copied from interface: IAssigneeInfo
      Get single user.
      Specified by:
      getSingleUser in interface IAssigneeInfo
      Returns:
      user
    • isForUser

      public boolean isForUser()
      Description copied from interface: IAssigneeInfo
      Return if this assignee info is for a specific user.
      Specified by:
      isForUser in interface IAssigneeInfo
      Returns:
      if we have user information
    • isForTeamsAndRoles

      public boolean isForTeamsAndRoles()
      Description copied from interface: IAssigneeInfo
      Return if this assignee info is for a specific teams and roles.
      Specified by:
      isForTeamsAndRoles in interface IAssigneeInfo
      Returns:
      if we have user information
    • toString

      public String toString()
      Overrides:
      toString in class Object