Class AuthRoleBean

java.lang.Object
com.bloomreach.xm.repository.security.AuthRoleBean
All Implemented Interfaces:
AuthRole, Comparable<AuthRole>

public class AuthRoleBean extends Object implements AuthRole
Simple POJO bean implementation of AuthRole
  • Constructor Details

    • AuthRoleBean

      public AuthRoleBean(String name, String domainPath, String role)
    • AuthRoleBean

      public AuthRoleBean(AuthRole other)
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface AuthRole
      Returns:
      the (node) name of the authrole
    • getDomainPath

      public String getDomainPath()
      Specified by:
      getDomainPath in interface AuthRole
      Returns:
      the parent (domain) node path of the authrole
    • getPath

      public String getPath()
      Specified by:
      getPath in interface AuthRole
      Returns:
      the node path of the authrole
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface AuthRole
      Returns:
      the description of the authrole
    • setDescription

      public void setDescription(String description)
    • getRole

      public String getRole()
      Specified by:
      getRole in interface AuthRole
      Returns:
      the role of the authrole
    • getUserRole

      public String getUserRole()
      Specified by:
      getUserRole in interface AuthRole
      Returns:
      the userrole of the authrole
    • setUserRole

      public void setUserRole(String userRole)
    • getGroups

      public TreeSet<String> getGroups()
      Specified by:
      getGroups in interface AuthRole
      Returns:
      the groups of the authrole
    • getUsers

      public TreeSet<String> getUsers()
      Specified by:
      getUsers in interface AuthRole
      Returns:
      the users of the authrole
    • compareTo

      public int compareTo(AuthRole o)
      Specified by:
      compareTo in interface Comparable<AuthRole>
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object