Uses of Class
com.flexive.shared.security.Role

Packages that use Role
com.flexive.shared.content Classes for representing flexive contents, most notable FxContent and FxPK
com.flexive.shared.interfaces Local and remote interfaces of the flexive EJB engines. 
com.flexive.shared.security Data classes for flexive's security layer, like ACLs or roles. 
 

Uses of Role in com.flexive.shared.content
 

Methods in com.flexive.shared.content with parameters of type Role
static void FxPermissionUtils.checkRole(UserTicket ticket, Role... roles)
          Throw an exception if the calling user is not in the given roles
 

Uses of Role in com.flexive.shared.interfaces
 

Methods in com.flexive.shared.interfaces that return types with arguments of type Role
 java.util.List<Role> UserGroupEngine.getRoles(long groupId)
          Gets all roles that are assigned to a group.
 java.util.List<Role> AccountEngine.getRoles(long accountId, RoleLoadMode mode)
          Loads all roles that a user is assigned to.
 

Method parameters in com.flexive.shared.interfaces with type arguments of type Role
 void UserGroupEngine.setRoles(long groupId, java.util.List<Role> roles)
          Sets the roles a group is in.
 void AccountEngine.setRoles(long accountId, java.util.List<Role> roles)
          Sets the roles a user is in.
 

Uses of Role in com.flexive.shared.security
 

Methods in com.flexive.shared.security that return Role
static Role Role.getById(long roleId)
          Returns a role identified by its unique id.
static Role Role.valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Role[] Role.values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 

Methods in com.flexive.shared.security that return types with arguments of type Role
static java.util.List<Role> Role.fromIdList(java.util.List<java.lang.Long> list)
           
static java.util.List<Role> Role.getList()
          Get all roles as a List
 

Methods in com.flexive.shared.security with parameters of type Role
 boolean UserTicket.isInRole(Role role)
          Returns true if the user is assigned to the given role.
static java.lang.Long[] Role.toIdArray(Role[] roles)
          Convert a Role array to a Long id array
static long[] Role.toPrimitiveIdArray(Role[] roles)
          Convert a Role array to a long id array
 

Method parameters in com.flexive.shared.security with type arguments of type Role
static java.lang.Long[] Role.toIdArray(java.util.List<Role> roles)
          Convert a Role List to a Long id array
static java.util.List<java.lang.Long> Role.toIdList(java.util.List<Role> roles)