Liferay 6.2.0-ce-m4

Uses of Interface
com.liferay.portal.model.Role

Packages that use Role
com.liferay.portal.model This package defines the portal model interfaces, classes, utilities, wrappers, and annotated types. 
com.liferay.portal.security.auth This package defines the portal security authentication interfaces, classes, utilities, wrappers, and exceptions. 
com.liferay.portal.security.permission This package defines the portal security permission interfaces and classes. 
com.liferay.portal.service This package defines the portal service interfaces and classes. 
com.liferay.portal.service.persistence This package defines the portal service persistence interfaces, classes, and utilities. 
com.liferay.portlet.rolesadmin.util   
com.liferay.portlet.usersadmin.util   
 

Uses of Role in com.liferay.portal.model
 

Classes in com.liferay.portal.model that implement Role
 class RoleWrapper
           This class is a wrapper for Role.
 

Fields in com.liferay.portal.model with type parameters of type Role
static Accessor<Role,String> Role.NAME_ACCESSOR
           
static Accessor<Role,Long> Role.ROLE_ID_ACCESSOR
           
 

Methods in com.liferay.portal.model that return Role
 Role UserGroupRoleWrapper.getRole()
           
 Role UserGroupRole.getRole()
           
 Role TeamWrapper.getRole()
           
 Role Team.getRole()
           
 Role RoleWrapper.getWrappedModel()
           
 Role RoleWrapper.getWrappedRole()
          Deprecated. Renamed to RoleWrapper.getWrappedModel()
 Role RoleWrapper.toEscapedModel()
           
 Role RoleModel.toEscapedModel()
           
 Role RoleWrapper.toUnescapedModel()
           
 Role RoleModel.toUnescapedModel()
           
 

Methods in com.liferay.portal.model that return types with arguments of type Role
 List<Role> UserWrapper.getRoles()
           
 List<Role> User.getRoles()
           
 CacheModel<Role> RoleWrapper.toCacheModel()
           
 CacheModel<Role> RoleModel.toCacheModel()
           
 

Methods in com.liferay.portal.model with parameters of type Role
 int RoleWrapper.compareTo(Role role)
           
 int RoleModel.compareTo(Role role)
           
static RoleSoap RoleSoap.toSoapModel(Role model)
           
static RoleSoap[] RoleSoap.toSoapModels(Role[] models)
           
static RoleSoap[][] RoleSoap.toSoapModels(Role[][] models)
           
 

Method parameters in com.liferay.portal.model with type arguments of type Role
static RoleSoap[] RoleSoap.toSoapModels(List<Role> models)
           
 

Constructors in com.liferay.portal.model with parameters of type Role
RoleWrapper(Role role)
           
 

Uses of Role in com.liferay.portal.security.auth
 

Methods in com.liferay.portal.security.auth that return types with arguments of type Role
static Set<Role> MembershipPolicyUtil.getForbiddenRoles(Group group, User user)
           
 Set<Role> MembershipPolicy.getForbiddenRoles(Group group, User user)
           
 Set<Role> DefaultMembershipPolicy.getForbiddenRoles(Group group, User user)
           
 Set<Role> MembershipPolicy.getForbiddenRoles(Organization organization, User user)
           
 Set<Role> DefaultMembershipPolicy.getForbiddenRoles(Organization organization, User user)
           
static Set<Role> MembershipPolicyUtil.getForbiddenRoles(User user)
           
 Set<Role> MembershipPolicy.getForbiddenRoles(User user)
           
 Set<Role> DefaultMembershipPolicy.getForbiddenRoles(User user)
           
static Set<Role> MembershipPolicyUtil.getForbiddenRoles(User user, Organization organization)
           
static Set<Role> MembershipPolicyUtil.getMandatoryRoles(Group group, User user)
           
 Set<Role> MembershipPolicy.getMandatoryRoles(Group group, User user)
           
 Set<Role> DefaultMembershipPolicy.getMandatoryRoles(Group group, User user)
           
static Set<Role> MembershipPolicyUtil.getMandatoryRoles(Organization organization, User user)
           
 Set<Role> MembershipPolicy.getMandatoryRoles(Organization organization, User user)
           
 Set<Role> DefaultMembershipPolicy.getMandatoryRoles(Organization organization, User user)
           
static Set<Role> MembershipPolicyUtil.getMandatoryRoles(User user)
           
 Set<Role> MembershipPolicy.getMandatoryRoles(User user)
           
 Set<Role> DefaultMembershipPolicy.getMandatoryRoles(User user)
           
 List<Role> MembershipPolicyException.getRoles()
           
 

Methods in com.liferay.portal.security.auth with parameters of type Role
 void MembershipPolicyException.addRole(Role role)
           
static boolean MembershipPolicyUtil.isMembershipAllowed(Group group, Role role, User user)
           
 boolean MembershipPolicy.isMembershipAllowed(Group group, Role role, User user)
           
 boolean DefaultMembershipPolicy.isMembershipAllowed(Group group, Role role, User user)
           
static boolean MembershipPolicyUtil.isMembershipAllowed(Organization organization, Role role, User user)
           
 boolean MembershipPolicy.isMembershipAllowed(Organization organization, Role role, User user)
           
 boolean DefaultMembershipPolicy.isMembershipAllowed(Organization organization, Role role, User user)
           
static boolean MembershipPolicyUtil.isMembershipAllowed(Role role, User user)
           
 boolean MembershipPolicy.isMembershipAllowed(Role role, User user)
           
 boolean DefaultMembershipPolicy.isMembershipAllowed(Role role, User user)
           
static boolean MembershipPolicyUtil.isMembershipProtected(PermissionChecker permissionChecker, Group group, Role role, User user)
           
 boolean MembershipPolicy.isMembershipProtected(PermissionChecker permissionChecker, Group group, Role role, User user)
           
 boolean DefaultMembershipPolicy.isMembershipProtected(PermissionChecker permissionChecker, Group group, Role role, User user)
           
static boolean MembershipPolicyUtil.isMembershipProtected(PermissionChecker permissionChecker, Organization organization, Role role, User user)
           
 boolean MembershipPolicy.isMembershipProtected(PermissionChecker permissionChecker, Organization organization, Role role, User user)
           
 boolean DefaultMembershipPolicy.isMembershipProtected(PermissionChecker permissionChecker, Organization organization, Role role, User user)
           
 

Uses of Role in com.liferay.portal.security.permission
 

Methods in com.liferay.portal.security.permission that return types with arguments of type Role
 List<Role> PermissionCheckerBag.getRoles()
           
static List<Role> ResourceActionsUtil.getRoles(long companyId, Group group, String modelResource)
          Deprecated. ResourceActionsUtil.getRoles(long, Group, String, int[])
 List<Role> ResourceActions.getRoles(long companyId, Group group, String modelResource)
          Deprecated. ResourceActions.getRoles(long, Group, String, int[])
static List<Role> ResourceActionsUtil.getRoles(long companyId, Group group, String modelResource, int[] roleTypes)
           
 List<Role> ResourceActions.getRoles(long companyId, Group group, String modelResource, int[] roleTypes)
           
 

Uses of Role in com.liferay.portal.service
 

Methods in com.liferay.portal.service that return Role
 Role RoleLocalServiceWrapper.addRole(long userId, long companyId, String name, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, int type)
          Deprecated. RoleLocalServiceWrapper.addRole(long, String, long, String, Map, Map, int, String, ServiceContext)
static Role RoleLocalServiceUtil.addRole(long userId, long companyId, String name, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, int type)
          Deprecated. RoleLocalServiceUtil.addRole(long, String, long, String, Map, Map, int, String, ServiceContext)
 Role RoleLocalService.addRole(long userId, long companyId, String name, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, int type)
          Deprecated. RoleLocalService.addRole(long, String, long, String, Map, Map, int, String, ServiceContext)
 Role RoleLocalServiceWrapper.addRole(long userId, long companyId, String name, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, int type, String className, long classPK)
          Deprecated. RoleLocalServiceWrapper.addRole(long, String, long, String, Map, Map, int, String, ServiceContext)
static Role RoleLocalServiceUtil.addRole(long userId, long companyId, String name, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, int type, String className, long classPK)
          Deprecated. RoleLocalServiceUtil.addRole(long, String, long, String, Map, Map, int, String, ServiceContext)
 Role RoleLocalService.addRole(long userId, long companyId, String name, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, int type, String className, long classPK)
          Deprecated. RoleLocalService.addRole(long, String, long, String, Map, Map, int, String, ServiceContext)
 Role RoleLocalServiceWrapper.addRole(long userId, String className, long classPK, String name, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, int type, String subType, ServiceContext serviceContext)
          Adds a role with additional parameters.
static Role RoleLocalServiceUtil.addRole(long userId, String className, long classPK, String name, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, int type, String subType, ServiceContext serviceContext)
          Adds a role with additional parameters.
 Role RoleLocalService.addRole(long userId, String className, long classPK, String name, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, int type, String subType, ServiceContext serviceContext)
          Adds a role with additional parameters.
 Role RoleLocalServiceWrapper.addRole(Role role)
          Adds the role to the database.
static Role RoleLocalServiceUtil.addRole(Role role)
          Adds the role to the database.
 Role RoleLocalService.addRole(Role role)
          Adds the role to the database.
 Role RoleServiceWrapper.addRole(String className, long classPK, String name, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, int type, String subType, ServiceContext serviceContext)
          Adds a role.
static Role RoleServiceUtil.addRole(String className, long classPK, String name, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, int type, String subType, ServiceContext serviceContext)
          Adds a role.
 Role RoleService.addRole(String className, long classPK, String name, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, int type, String subType, ServiceContext serviceContext)
          Adds a role.
 Role RoleServiceWrapper.addRole(String name, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, int type)
          Deprecated. RoleServiceWrapper.addRole(String, long, String, Map, Map, int, String, ServiceContext)
static Role RoleServiceUtil.addRole(String name, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, int type)
          Deprecated. RoleServiceUtil.addRole(String, long, String, Map, Map, int, String, ServiceContext)
 Role RoleService.addRole(String name, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, int type)
          Deprecated. RoleService.addRole(String, long, String, Map, Map, int, String, ServiceContext)
 Role RoleLocalServiceWrapper.createRole(long roleId)
          Creates a new role with the primary key.
static Role RoleLocalServiceUtil.createRole(long roleId)
          Creates a new role with the primary key.
 Role RoleLocalService.createRole(long roleId)
          Creates a new role with the primary key.
 Role RoleLocalServiceWrapper.deleteRole(long roleId)
          Deletes the role with the primary key from the database.
static Role RoleLocalServiceUtil.deleteRole(long roleId)
          Deletes the role with the primary key from the database.
 Role RoleLocalService.deleteRole(long roleId)
          Deletes the role with the primary key from the database.
 Role RoleLocalServiceWrapper.deleteRole(Role role)
          Deletes the role from the database.
static Role RoleLocalServiceUtil.deleteRole(Role role)
          Deletes the role from the database.
 Role RoleLocalService.deleteRole(Role role)
          Deletes the role from the database.
 Role RoleLocalServiceWrapper.fetchRole(long roleId)
           
static Role RoleLocalServiceUtil.fetchRole(long roleId)
           
 Role RoleLocalService.fetchRole(long roleId)
           
 Role RoleLocalServiceWrapper.fetchRole(long companyId, String name)
          Returns the role with the name in the company.
static Role RoleLocalServiceUtil.fetchRole(long companyId, String name)
          Returns the role with the name in the company.
 Role RoleLocalService.fetchRole(long companyId, String name)
          Returns the role with the name in the company.
 Role RoleLocalServiceWrapper.getDefaultGroupRole(long groupId)
          Returns the default role for the group with the primary key.
static Role RoleLocalServiceUtil.getDefaultGroupRole(long groupId)
          Returns the default role for the group with the primary key.
 Role RoleLocalService.getDefaultGroupRole(long groupId)
          Returns the default role for the group with the primary key.
 Role RoleServiceWrapper.getRole(long roleId)
          Returns the role with the primary key.
static Role RoleServiceUtil.getRole(long roleId)
          Returns the role with the primary key.
 Role RoleService.getRole(long roleId)
          Returns the role with the primary key.
 Role RoleLocalServiceWrapper.getRole(long roleId)
          Returns the role with the primary key.
static Role RoleLocalServiceUtil.getRole(long roleId)
          Returns the role with the primary key.
 Role RoleLocalService.getRole(long roleId)
          Returns the role with the primary key.
 Role RoleServiceWrapper.getRole(long companyId, String name)
          Returns the role with the name in the company.
static Role RoleServiceUtil.getRole(long companyId, String name)
          Returns the role with the name in the company.
 Role RoleService.getRole(long companyId, String name)
          Returns the role with the name in the company.
 Role RoleLocalServiceWrapper.getRole(long companyId, String name)
          Returns the role with the name in the company.
static Role RoleLocalServiceUtil.getRole(long companyId, String name)
          Returns the role with the name in the company.
 Role RoleLocalService.getRole(long companyId, String name)
          Returns the role with the name in the company.
 Role RoleLocalServiceWrapper.getTeamRole(long companyId, long teamId)
          Returns the team role in the company.
static Role RoleLocalServiceUtil.getTeamRole(long companyId, long teamId)
          Returns the team role in the company.
 Role RoleLocalService.getTeamRole(long companyId, long teamId)
          Returns the team role in the company.
 Role RoleLocalServiceWrapper.loadFetchRole(long companyId, String name)
          Returns a role with the name in the company.
static Role RoleLocalServiceUtil.loadFetchRole(long companyId, String name)
          Returns a role with the name in the company.
 Role RoleLocalService.loadFetchRole(long companyId, String name)
          Returns a role with the name in the company.
 Role RoleLocalServiceWrapper.loadGetRole(long companyId, String name)
          Returns a role with the name in the company.
static Role RoleLocalServiceUtil.loadGetRole(long companyId, String name)
          Returns a role with the name in the company.
 Role RoleLocalService.loadGetRole(long companyId, String name)
          Returns a role with the name in the company.
 Role RoleServiceWrapper.updateRole(long roleId, String name, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String subtype, ServiceContext serviceContext)
          Updates the role with the primary key.
static Role RoleServiceUtil.updateRole(long roleId, String name, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String subtype, ServiceContext serviceContext)
          Updates the role with the primary key.
 Role RoleService.updateRole(long roleId, String name, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String subtype, ServiceContext serviceContext)
          Updates the role with the primary key.
 Role RoleLocalServiceWrapper.updateRole(long roleId, String name, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String subtype, ServiceContext serviceContext)
          Updates the role with the primary key.
static Role RoleLocalServiceUtil.updateRole(long roleId, String name, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String subtype, ServiceContext serviceContext)
          Updates the role with the primary key.
 Role RoleLocalService.updateRole(long roleId, String name, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String subtype, ServiceContext serviceContext)
          Updates the role with the primary key.
 Role RoleLocalServiceWrapper.updateRole(Role role)
          Updates the role in the database or adds it if it does not yet exist.
static Role RoleLocalServiceUtil.updateRole(Role role)
          Updates the role in the database or adds it if it does not yet exist.
 Role RoleLocalService.updateRole(Role role)
          Updates the role in the database or adds it if it does not yet exist.
 

Methods in com.liferay.portal.service that return types with arguments of type Role
 List<Role> RoleServiceWrapper.getGroupRoles(long groupId)
          Returns all the roles associated with the group.
static List<Role> RoleServiceUtil.getGroupRoles(long groupId)
          Returns all the roles associated with the group.
 List<Role> RoleService.getGroupRoles(long groupId)
          Returns all the roles associated with the group.
 List<Role> RoleLocalServiceWrapper.getGroupRoles(long groupId)
          Returns all the roles associated with the group.
static List<Role> RoleLocalServiceUtil.getGroupRoles(long groupId)
          Returns all the roles associated with the group.
 List<Role> RoleLocalService.getGroupRoles(long groupId)
          Returns all the roles associated with the group.
 List<Role> RoleLocalServiceWrapper.getResourceBlockRoles(long resourceBlockId, String className, String actionId)
           
static List<Role> RoleLocalServiceUtil.getResourceBlockRoles(long resourceBlockId, String className, String actionId)
           
 List<Role> RoleLocalService.getResourceBlockRoles(long resourceBlockId, String className, String actionId)
           
 List<Role> RoleLocalServiceWrapper.getResourceRoles(long companyId, String name, int scope, String primKey, String actionId)
          Returns all the roles associated with the action ID in the company within the permission scope.
static List<Role> RoleLocalServiceUtil.getResourceRoles(long companyId, String name, int scope, String primKey, String actionId)
          Returns all the roles associated with the action ID in the company within the permission scope.
 List<Role> RoleLocalService.getResourceRoles(long companyId, String name, int scope, String primKey, String actionId)
          Returns all the roles associated with the action ID in the company within the permission scope.
 List<Role> RoleLocalServiceWrapper.getRoles(int start, int end)
          Returns a range of all the roles.
static List<Role> RoleLocalServiceUtil.getRoles(int start, int end)
          Returns a range of all the roles.
 List<Role> RoleLocalService.getRoles(int start, int end)
          Returns a range of all the roles.
 List<Role> RoleLocalServiceWrapper.getRoles(int type, String subtype)
          Returns all the roles of the type and subtype.
static List<Role> RoleLocalServiceUtil.getRoles(int type, String subtype)
          Returns all the roles of the type and subtype.
 List<Role> RoleLocalService.getRoles(int type, String subtype)
          Returns all the roles of the type and subtype.
 List<Role> RoleLocalServiceWrapper.getRoles(long companyId)
          Returns all the roles in the company.
static List<Role> RoleLocalServiceUtil.getRoles(long companyId)
          Returns all the roles in the company.
 List<Role> RoleLocalService.getRoles(long companyId)
          Returns all the roles in the company.
 List<Role> RoleLocalServiceWrapper.getRoles(long[] roleIds)
          Returns all the roles with the primary keys.
static List<Role> RoleLocalServiceUtil.getRoles(long[] roleIds)
          Returns all the roles with the primary keys.
 List<Role> RoleLocalService.getRoles(long[] roleIds)
          Returns all the roles with the primary keys.
 List<Role> RoleLocalServiceWrapper.getSubtypeRoles(String subtype)
          Returns all the roles of the subtype.
static List<Role> RoleLocalServiceUtil.getSubtypeRoles(String subtype)
          Returns all the roles of the subtype.
 List<Role> RoleLocalService.getSubtypeRoles(String subtype)
          Returns all the roles of the subtype.
 List<Role> RoleServiceWrapper.getUserGroupGroupRoles(long userId, long groupId)
          Returns all the user's roles within the user group.
static List<Role> RoleServiceUtil.getUserGroupGroupRoles(long userId, long groupId)
          Returns all the user's roles within the user group.
 List<Role> RoleService.getUserGroupGroupRoles(long userId, long groupId)
          Returns all the user's roles within the user group.
 List<Role> RoleLocalServiceWrapper.getUserGroupGroupRoles(long userId, long groupId)
          Returns all the user's roles within the user group.
static List<Role> RoleLocalServiceUtil.getUserGroupGroupRoles(long userId, long groupId)
          Returns all the user's roles within the user group.
 List<Role> RoleLocalService.getUserGroupGroupRoles(long userId, long groupId)
          Returns all the user's roles within the user group.
 List<Role> RoleServiceWrapper.getUserGroupRoles(long userId, long groupId)
          Returns all the user's roles within the user group.
static List<Role> RoleServiceUtil.getUserGroupRoles(long userId, long groupId)
          Returns all the user's roles within the user group.
 List<Role> RoleService.getUserGroupRoles(long userId, long groupId)
          Returns all the user's roles within the user group.
 List<Role> RoleLocalServiceWrapper.getUserGroupRoles(long userId, long groupId)
          Returns all the user's roles within the user group.
static List<Role> RoleLocalServiceUtil.getUserGroupRoles(long userId, long groupId)
          Returns all the user's roles within the user group.
 List<Role> RoleLocalService.getUserGroupRoles(long userId, long groupId)
          Returns all the user's roles within the user group.
 List<Role> RoleServiceWrapper.getUserRelatedRoles(long userId, List<Group> groups)
          Returns the union of all the user's roles within the groups.
static List<Role> RoleServiceUtil.getUserRelatedRoles(long userId, List<Group> groups)
          Returns the union of all the user's roles within the groups.
 List<Role> RoleService.getUserRelatedRoles(long userId, List<Group> groups)
          Returns the union of all the user's roles within the groups.
 List<Role> RoleLocalServiceWrapper.getUserRelatedRoles(long userId, List<Group> groups)
          Returns the union of all the user's roles within the groups.
static List<Role> RoleLocalServiceUtil.getUserRelatedRoles(long userId, List<Group> groups)
          Returns the union of all the user's roles within the groups.
 List<Role> RoleLocalService.getUserRelatedRoles(long userId, List<Group> groups)
          Returns the union of all the user's roles within the groups.
 List<Role> RoleLocalServiceWrapper.getUserRelatedRoles(long userId, long groupId)
          Returns all the user's roles within the group.
static List<Role> RoleLocalServiceUtil.getUserRelatedRoles(long userId, long groupId)
          Returns all the user's roles within the group.
 List<Role> RoleLocalService.getUserRelatedRoles(long userId, long groupId)
          Returns all the user's roles within the group.
 List<Role> RoleLocalServiceWrapper.getUserRelatedRoles(long userId, long[] groupIds)
          Returns the union of all the user's roles within the groups.
static List<Role> RoleLocalServiceUtil.getUserRelatedRoles(long userId, long[] groupIds)
          Returns the union of all the user's roles within the groups.
 List<Role> RoleLocalService.getUserRelatedRoles(long userId, long[] groupIds)
          Returns the union of all the user's roles within the groups.
 List<Role> RoleServiceWrapper.getUserRoles(long userId)
          Returns all the roles associated with the user.
static List<Role> RoleServiceUtil.getUserRoles(long userId)
          Returns all the roles associated with the user.
 List<Role> RoleService.getUserRoles(long userId)
          Returns all the roles associated with the user.
 List<Role> RoleLocalServiceWrapper.getUserRoles(long userId)
          Returns all the roles associated with the user.
static List<Role> RoleLocalServiceUtil.getUserRoles(long userId)
          Returns all the roles associated with the user.
 List<Role> RoleLocalService.getUserRoles(long userId)
          Returns all the roles associated with the user.
 List<Role> RoleLocalServiceWrapper.search(long companyId, String keywords, Integer[] types, int start, int end, OrderByComparator obc)
          Returns an ordered range of all the roles that match the keywords and types.
static List<Role> RoleLocalServiceUtil.search(long companyId, String keywords, Integer[] types, int start, int end, OrderByComparator obc)
          Returns an ordered range of all the roles that match the keywords and types.
 List<Role> RoleLocalService.search(long companyId, String keywords, Integer[] types, int start, int end, OrderByComparator obc)
          Returns an ordered range of all the roles that match the keywords and types.
 List<Role> RoleLocalServiceWrapper.search(long companyId, String keywords, Integer[] types, LinkedHashMap<String,Object> params, int start, int end, OrderByComparator obc)
          Returns an ordered range of all the roles that match the keywords, types, and params.
static List<Role> RoleLocalServiceUtil.search(long companyId, String keywords, Integer[] types, LinkedHashMap<String,Object> params, int start, int end, OrderByComparator obc)
          Returns an ordered range of all the roles that match the keywords, types, and params.
 List<Role> RoleLocalService.search(long companyId, String keywords, Integer[] types, LinkedHashMap<String,Object> params, int start, int end, OrderByComparator obc)
          Returns an ordered range of all the roles that match the keywords, types, and params.
 List<Role> RoleLocalServiceWrapper.search(long companyId, String name, String description, Integer[] types, int start, int end, OrderByComparator obc)
          Returns an ordered range of all the roles that match the name, description, and types.
static List<Role> RoleLocalServiceUtil.search(long companyId, String name, String description, Integer[] types, int start, int end, OrderByComparator obc)
          Returns an ordered range of all the roles that match the name, description, and types.
 List<Role> RoleLocalService.search(long companyId, String name, String description, Integer[] types, int start, int end, OrderByComparator obc)
          Returns an ordered range of all the roles that match the name, description, and types.
 List<Role> RoleLocalServiceWrapper.search(long companyId, String name, String description, Integer[] types, LinkedHashMap<String,Object> params, int start, int end, OrderByComparator obc)
          Returns an ordered range of all the roles that match the name, description, types, and params.
static List<Role> RoleLocalServiceUtil.search(long companyId, String name, String description, Integer[] types, LinkedHashMap<String,Object> params, int start, int end, OrderByComparator obc)
          Returns an ordered range of all the roles that match the name, description, types, and params.
 List<Role> RoleLocalService.search(long companyId, String name, String description, Integer[] types, LinkedHashMap<String,Object> params, int start, int end, OrderByComparator obc)
          Returns an ordered range of all the roles that match the name, description, types, and params.
 

Methods in com.liferay.portal.service with parameters of type Role
 Role RoleLocalServiceWrapper.addRole(Role role)
          Adds the role to the database.
static Role RoleLocalServiceUtil.addRole(Role role)
          Adds the role to the database.
 Role RoleLocalService.addRole(Role role)
          Adds the role to the database.
 Role RoleLocalServiceWrapper.deleteRole(Role role)
          Deletes the role from the database.
static Role RoleLocalServiceUtil.deleteRole(Role role)
          Deletes the role from the database.
 Role RoleLocalService.deleteRole(Role role)
          Deletes the role from the database.
 Role RoleLocalServiceWrapper.updateRole(Role role)
          Updates the role in the database or adds it if it does not yet exist.
static Role RoleLocalServiceUtil.updateRole(Role role)
          Updates the role in the database or adds it if it does not yet exist.
 Role RoleLocalService.updateRole(Role role)
          Updates the role in the database or adds it if it does not yet exist.
 

Uses of Role in com.liferay.portal.service.persistence
 

Methods in com.liferay.portal.service.persistence that return Role
static Role RoleUtil.create(long roleId)
          Creates a new role with the primary key.
 Role RolePersistence.create(long roleId)
          Creates a new role with the primary key.
static Role RoleUtil.fetchByC_C_C(long companyId, long classNameId, long classPK)
          Returns the role where companyId = ? and classNameId = ? and classPK = ? or returns null if it could not be found.
 Role RolePersistence.fetchByC_C_C(long companyId, long classNameId, long classPK)
          Returns the role where companyId = ? and classNameId = ? and classPK = ? or returns null if it could not be found.
static Role RoleUtil.fetchByC_C_C(long companyId, long classNameId, long classPK, boolean retrieveFromCache)
          Returns the role where companyId = ? and classNameId = ? and classPK = ? or returns null if it could not be found, optionally using the finder cache.
 Role RolePersistence.fetchByC_C_C(long companyId, long classNameId, long classPK, boolean retrieveFromCache)
          Returns the role where companyId = ? and classNameId = ? and classPK = ? or returns null if it could not be found, optionally using the finder cache.
static Role RoleUtil.fetchByC_N(long companyId, String name)
          Returns the role where companyId = ? and name = ? or returns null if it could not be found.
 Role RolePersistence.fetchByC_N(long companyId, String name)
          Returns the role where companyId = ? and name = ? or returns null if it could not be found.
static Role RoleUtil.fetchByC_N(long companyId, String name, boolean retrieveFromCache)
          Returns the role where companyId = ? and name = ? or returns null if it could not be found, optionally using the finder cache.
 Role RolePersistence.fetchByC_N(long companyId, String name, boolean retrieveFromCache)
          Returns the role where companyId = ? and name = ? or returns null if it could not be found, optionally using the finder cache.
static Role RoleUtil.fetchByCompanyId_First(long companyId, OrderByComparator orderByComparator)
          Returns the first role in the ordered set where companyId = ?.
 Role RolePersistence.fetchByCompanyId_First(long companyId, OrderByComparator orderByComparator)
          Returns the first role in the ordered set where companyId = ?.
static Role RoleUtil.fetchByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
          Returns the last role in the ordered set where companyId = ?.
 Role RolePersistence.fetchByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
          Returns the last role in the ordered set where companyId = ?.
static Role RoleUtil.fetchByName_First(String name, OrderByComparator orderByComparator)
          Returns the first role in the ordered set where name = ?.
 Role RolePersistence.fetchByName_First(String name, OrderByComparator orderByComparator)
          Returns the first role in the ordered set where name = ?.
static Role RoleUtil.fetchByName_Last(String name, OrderByComparator orderByComparator)
          Returns the last role in the ordered set where name = ?.
 Role RolePersistence.fetchByName_Last(String name, OrderByComparator orderByComparator)
          Returns the last role in the ordered set where name = ?.
static Role RoleUtil.fetchByPrimaryKey(long roleId)
          Returns the role with the primary key or returns null if it could not be found.
 Role RolePersistence.fetchByPrimaryKey(long roleId)
          Returns the role with the primary key or returns null if it could not be found.
static Role RoleUtil.fetchBySubtype_First(String subtype, OrderByComparator orderByComparator)
          Returns the first role in the ordered set where subtype = ?.
 Role RolePersistence.fetchBySubtype_First(String subtype, OrderByComparator orderByComparator)
          Returns the first role in the ordered set where subtype = ?.
static Role RoleUtil.fetchBySubtype_Last(String subtype, OrderByComparator orderByComparator)
          Returns the last role in the ordered set where subtype = ?.
 Role RolePersistence.fetchBySubtype_Last(String subtype, OrderByComparator orderByComparator)
          Returns the last role in the ordered set where subtype = ?.
static Role RoleUtil.fetchByT_S_First(int type, String subtype, OrderByComparator orderByComparator)
          Returns the first role in the ordered set where type = ? and subtype = ?.
 Role RolePersistence.fetchByT_S_First(int type, String subtype, OrderByComparator orderByComparator)
          Returns the first role in the ordered set where type = ? and subtype = ?.
static Role RoleUtil.fetchByT_S_Last(int type, String subtype, OrderByComparator orderByComparator)
          Returns the last role in the ordered set where type = ? and subtype = ?.
 Role RolePersistence.fetchByT_S_Last(int type, String subtype, OrderByComparator orderByComparator)
          Returns the last role in the ordered set where type = ? and subtype = ?.
static Role[] RoleUtil.filterFindByCompanyId_PrevAndNext(long roleId, long companyId, OrderByComparator orderByComparator)
          Returns the roles before and after the current role in the ordered set of roles that the user has permission to view where companyId = ?.
 Role[] RolePersistence.filterFindByCompanyId_PrevAndNext(long roleId, long companyId, OrderByComparator orderByComparator)
          Returns the roles before and after the current role in the ordered set of roles that the user has permission to view where companyId = ?.
static Role[] RoleUtil.filterFindByName_PrevAndNext(long roleId, String name, OrderByComparator orderByComparator)
          Returns the roles before and after the current role in the ordered set of roles that the user has permission to view where name = ?.
 Role[] RolePersistence.filterFindByName_PrevAndNext(long roleId, String name, OrderByComparator orderByComparator)
          Returns the roles before and after the current role in the ordered set of roles that the user has permission to view where name = ?.
static Role[] RoleUtil.filterFindBySubtype_PrevAndNext(long roleId, String subtype, OrderByComparator orderByComparator)
          Returns the roles before and after the current role in the ordered set of roles that the user has permission to view where subtype = ?.
 Role[] RolePersistence.filterFindBySubtype_PrevAndNext(long roleId, String subtype, OrderByComparator orderByComparator)
          Returns the roles before and after the current role in the ordered set of roles that the user has permission to view where subtype = ?.
static Role[] RoleUtil.filterFindByT_S_PrevAndNext(long roleId, int type, String subtype, OrderByComparator orderByComparator)
          Returns the roles before and after the current role in the ordered set of roles that the user has permission to view where type = ? and subtype = ?.
 Role[] RolePersistence.filterFindByT_S_PrevAndNext(long roleId, int type, String subtype, OrderByComparator orderByComparator)
          Returns the roles before and after the current role in the ordered set of roles that the user has permission to view where type = ? and subtype = ?.
static Role RoleUtil.findByC_C_C(long companyId, long classNameId, long classPK)
          Returns the role where companyId = ? and classNameId = ? and classPK = ? or throws a NoSuchRoleException if it could not be found.
 Role RolePersistence.findByC_C_C(long companyId, long classNameId, long classPK)
          Returns the role where companyId = ? and classNameId = ? and classPK = ? or throws a NoSuchRoleException if it could not be found.
static Role RoleUtil.findByC_N(long companyId, String name)
          Returns the role where companyId = ? and name = ? or throws a NoSuchRoleException if it could not be found.
 Role RolePersistence.findByC_N(long companyId, String name)
          Returns the role where companyId = ? and name = ? or throws a NoSuchRoleException if it could not be found.
static Role RoleFinderUtil.findByC_N(long companyId, String name)
           
 Role RoleFinder.findByC_N(long companyId, String name)
           
static Role RoleUtil.findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
          Returns the first role in the ordered set where companyId = ?.
 Role RolePersistence.findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
          Returns the first role in the ordered set where companyId = ?.
static Role RoleUtil.findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
          Returns the last role in the ordered set where companyId = ?.
 Role RolePersistence.findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
          Returns the last role in the ordered set where companyId = ?.
static Role[] RoleUtil.findByCompanyId_PrevAndNext(long roleId, long companyId, OrderByComparator orderByComparator)
          Returns the roles before and after the current role in the ordered set where companyId = ?.
 Role[] RolePersistence.findByCompanyId_PrevAndNext(long roleId, long companyId, OrderByComparator orderByComparator)
          Returns the roles before and after the current role in the ordered set where companyId = ?.
static Role RoleUtil.findByName_First(String name, OrderByComparator orderByComparator)
          Returns the first role in the ordered set where name = ?.
 Role RolePersistence.findByName_First(String name, OrderByComparator orderByComparator)
          Returns the first role in the ordered set where name = ?.
static Role RoleUtil.findByName_Last(String name, OrderByComparator orderByComparator)
          Returns the last role in the ordered set where name = ?.
 Role RolePersistence.findByName_Last(String name, OrderByComparator orderByComparator)
          Returns the last role in the ordered set where name = ?.
static Role[] RoleUtil.findByName_PrevAndNext(long roleId, String name, OrderByComparator orderByComparator)
          Returns the roles before and after the current role in the ordered set where name = ?.
 Role[] RolePersistence.findByName_PrevAndNext(long roleId, String name, OrderByComparator orderByComparator)
          Returns the roles before and after the current role in the ordered set where name = ?.
static Role RoleUtil.findByPrimaryKey(long roleId)
          Returns the role with the primary key or throws a NoSuchRoleException if it could not be found.
 Role RolePersistence.findByPrimaryKey(long roleId)
          Returns the role with the primary key or throws a NoSuchRoleException if it could not be found.
static Role RoleUtil.findBySubtype_First(String subtype, OrderByComparator orderByComparator)
          Returns the first role in the ordered set where subtype = ?.
 Role RolePersistence.findBySubtype_First(String subtype, OrderByComparator orderByComparator)
          Returns the first role in the ordered set where subtype = ?.
static Role RoleUtil.findBySubtype_Last(String subtype, OrderByComparator orderByComparator)
          Returns the last role in the ordered set where subtype = ?.
 Role RolePersistence.findBySubtype_Last(String subtype, OrderByComparator orderByComparator)
          Returns the last role in the ordered set where subtype = ?.
static Role[] RoleUtil.findBySubtype_PrevAndNext(long roleId, String subtype, OrderByComparator orderByComparator)
          Returns the roles before and after the current role in the ordered set where subtype = ?.
 Role[] RolePersistence.findBySubtype_PrevAndNext(long roleId, String subtype, OrderByComparator orderByComparator)
          Returns the roles before and after the current role in the ordered set where subtype = ?.
static Role RoleUtil.findByT_S_First(int type, String subtype, OrderByComparator orderByComparator)
          Returns the first role in the ordered set where type = ? and subtype = ?.
 Role RolePersistence.findByT_S_First(int type, String subtype, OrderByComparator orderByComparator)
          Returns the first role in the ordered set where type = ? and subtype = ?.
static Role RoleUtil.findByT_S_Last(int type, String subtype, OrderByComparator orderByComparator)
          Returns the last role in the ordered set where type = ? and subtype = ?.
 Role RolePersistence.findByT_S_Last(int type, String subtype, OrderByComparator orderByComparator)
          Returns the last role in the ordered set where type = ? and subtype = ?.
static Role[] RoleUtil.findByT_S_PrevAndNext(long roleId, int type, String subtype, OrderByComparator orderByComparator)
          Returns the roles before and after the current role in the ordered set where type = ? and subtype = ?.
 Role[] RolePersistence.findByT_S_PrevAndNext(long roleId, int type, String subtype, OrderByComparator orderByComparator)
          Returns the roles before and after the current role in the ordered set where type = ? and subtype = ?.
static Role RoleUtil.remove(long roleId)
          Removes the role with the primary key from the database.
 Role RolePersistence.remove(long roleId)
          Removes the role with the primary key from the database.
static Role RoleUtil.removeByC_C_C(long companyId, long classNameId, long classPK)
          Removes the role where companyId = ? and classNameId = ? and classPK = ? from the database.
 Role RolePersistence.removeByC_C_C(long companyId, long classNameId, long classPK)
          Removes the role where companyId = ? and classNameId = ? and classPK = ? from the database.
static Role RoleUtil.removeByC_N(long companyId, String name)
          Removes the role where companyId = ? and name = ? from the database.
 Role RolePersistence.removeByC_N(long companyId, String name)
          Removes the role where companyId = ? and name = ? from the database.
static Role RoleUtil.update(Role role)
           
static Role RoleUtil.update(Role role, ServiceContext serviceContext)
           
static Role RoleUtil.updateImpl(Role role)
           
 Role RolePersistence.updateImpl(Role role)
           
 

Methods in com.liferay.portal.service.persistence that return types with arguments of type Role
static List<Role> RoleUtil.filterFindByCompanyId(long companyId)
          Returns all the roles that the user has permission to view where companyId = ?.
 List<Role> RolePersistence.filterFindByCompanyId(long companyId)
          Returns all the roles that the user has permission to view where companyId = ?.
static List<Role> RoleUtil.filterFindByCompanyId(long companyId, int start, int end)
          Returns a range of all the roles that the user has permission to view where companyId = ?.
 List<Role> RolePersistence.filterFindByCompanyId(long companyId, int start, int end)
          Returns a range of all the roles that the user has permission to view where companyId = ?.
static List<Role> RoleUtil.filterFindByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the roles that the user has permissions to view where companyId = ?.
 List<Role> RolePersistence.filterFindByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the roles that the user has permissions to view where companyId = ?.
static List<Role> RoleUtil.filterFindByName(String name)
          Returns all the roles that the user has permission to view where name = ?.
 List<Role> RolePersistence.filterFindByName(String name)
          Returns all the roles that the user has permission to view where name = ?.
static List<Role> RoleUtil.filterFindByName(String name, int start, int end)
          Returns a range of all the roles that the user has permission to view where name = ?.
 List<Role> RolePersistence.filterFindByName(String name, int start, int end)
          Returns a range of all the roles that the user has permission to view where name = ?.
static List<Role> RoleUtil.filterFindByName(String name, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the roles that the user has permissions to view where name = ?.
 List<Role> RolePersistence.filterFindByName(String name, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the roles that the user has permissions to view where name = ?.
static List<Role> RoleUtil.filterFindBySubtype(String subtype)
          Returns all the roles that the user has permission to view where subtype = ?.
 List<Role> RolePersistence.filterFindBySubtype(String subtype)
          Returns all the roles that the user has permission to view where subtype = ?.
static List<Role> RoleUtil.filterFindBySubtype(String subtype, int start, int end)
          Returns a range of all the roles that the user has permission to view where subtype = ?.
 List<Role> RolePersistence.filterFindBySubtype(String subtype, int start, int end)
          Returns a range of all the roles that the user has permission to view where subtype = ?.
static List<Role> RoleUtil.filterFindBySubtype(String subtype, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the roles that the user has permissions to view where subtype = ?.
 List<Role> RolePersistence.filterFindBySubtype(String subtype, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the roles that the user has permissions to view where subtype = ?.
static List<Role> RoleUtil.filterFindByT_S(int type, String subtype)
          Returns all the roles that the user has permission to view where type = ? and subtype = ?.
 List<Role> RolePersistence.filterFindByT_S(int type, String subtype)
          Returns all the roles that the user has permission to view where type = ? and subtype = ?.
static List<Role> RoleUtil.filterFindByT_S(int type, String subtype, int start, int end)
          Returns a range of all the roles that the user has permission to view where type = ? and subtype = ?.
 List<Role> RolePersistence.filterFindByT_S(int type, String subtype, int start, int end)
          Returns a range of all the roles that the user has permission to view where type = ? and subtype = ?.
static List<Role> RoleUtil.filterFindByT_S(int type, String subtype, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the roles that the user has permissions to view where type = ? and subtype = ?.
 List<Role> RolePersistence.filterFindByT_S(int type, String subtype, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the roles that the user has permissions to view where type = ? and subtype = ?.
static List<Role> RoleUtil.findAll()
          Returns all the roles.
 List<Role> RolePersistence.findAll()
          Returns all the roles.
static List<Role> RoleUtil.findAll(int start, int end)
          Returns a range of all the roles.
 List<Role> RolePersistence.findAll(int start, int end)
          Returns a range of all the roles.
static List<Role> RoleUtil.findAll(int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the roles.
 List<Role> RolePersistence.findAll(int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the roles.
static List<Role> RoleFinderUtil.findByC_N_D_T(long companyId, String[] names, String[] descriptions, Integer[] types, LinkedHashMap<String,Object> params, boolean andOperator, int start, int end, OrderByComparator obc)
           
 List<Role> RoleFinder.findByC_N_D_T(long companyId, String[] names, String[] descriptions, Integer[] types, LinkedHashMap<String,Object> params, boolean andOperator, int start, int end, OrderByComparator obc)
           
static List<Role> RoleFinderUtil.findByC_N_D_T(long companyId, String name, String description, Integer[] types, LinkedHashMap<String,Object> params, boolean andOperator, int start, int end, OrderByComparator obc)
           
 List<Role> RoleFinder.findByC_N_D_T(long companyId, String name, String description, Integer[] types, LinkedHashMap<String,Object> params, boolean andOperator, int start, int end, OrderByComparator obc)
           
static List<Role> RoleFinderUtil.findByC_N_S_P_A(long companyId, String name, int scope, String primKey, String actionId)
           
 List<Role> RoleFinder.findByC_N_S_P_A(long companyId, String name, int scope, String primKey, String actionId)
           
static List<Role> RoleUtil.findByCompanyId(long companyId)
          Returns all the roles where companyId = ?.
 List<Role> RolePersistence.findByCompanyId(long companyId)
          Returns all the roles where companyId = ?.
static List<Role> RoleUtil.findByCompanyId(long companyId, int start, int end)
          Returns a range of all the roles where companyId = ?.
 List<Role> RolePersistence.findByCompanyId(long companyId, int start, int end)
          Returns a range of all the roles where companyId = ?.
static List<Role> RoleUtil.findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the roles where companyId = ?.
 List<Role> RolePersistence.findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the roles where companyId = ?.
static List<Role> RoleFinderUtil.findByKeywords(long companyId, String keywords, Integer[] types, int start, int end, OrderByComparator obc)
           
 List<Role> RoleFinder.findByKeywords(long companyId, String keywords, Integer[] types, int start, int end, OrderByComparator obc)
           
static List<Role> RoleFinderUtil.findByKeywords(long companyId, String keywords, Integer[] types, LinkedHashMap<String,Object> params, int start, int end, OrderByComparator obc)
           
 List<Role> RoleFinder.findByKeywords(long companyId, String keywords, Integer[] types, LinkedHashMap<String,Object> params, int start, int end, OrderByComparator obc)
           
static List<Role> RoleUtil.findByName(String name)
          Returns all the roles where name = ?.
 List<Role> RolePersistence.findByName(String name)
          Returns all the roles where name = ?.
static List<Role> RoleUtil.findByName(String name, int start, int end)
          Returns a range of all the roles where name = ?.
 List<Role> RolePersistence.findByName(String name, int start, int end)
          Returns a range of all the roles where name = ?.
static List<Role> RoleUtil.findByName(String name, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the roles where name = ?.
 List<Role> RolePersistence.findByName(String name, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the roles where name = ?.
static List<Role> RoleFinderUtil.findByR_N_A(long resourceBlockId, String className, String actionId)
           
 List<Role> RoleFinder.findByR_N_A(long resourceBlockId, String className, String actionId)
           
static List<Role> RoleUtil.findBySubtype(String subtype)
          Returns all the roles where subtype = ?.
 List<Role> RolePersistence.findBySubtype(String subtype)
          Returns all the roles where subtype = ?.
static List<Role> RoleUtil.findBySubtype(String subtype, int start, int end)
          Returns a range of all the roles where subtype = ?.
 List<Role> RolePersistence.findBySubtype(String subtype, int start, int end)
          Returns a range of all the roles where subtype = ?.
static List<Role> RoleUtil.findBySubtype(String subtype, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the roles where subtype = ?.
 List<Role> RolePersistence.findBySubtype(String subtype, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the roles where subtype = ?.
static List<Role> RoleFinderUtil.findBySystem(long companyId)
           
 List<Role> RoleFinder.findBySystem(long companyId)
           
static List<Role> RoleUtil.findByT_S(int type, String subtype)
          Returns all the roles where type = ? and subtype = ?.
 List<Role> RolePersistence.findByT_S(int type, String subtype)
          Returns all the roles where type = ? and subtype = ?.
static List<Role> RoleUtil.findByT_S(int type, String subtype, int start, int end)
          Returns a range of all the roles where type = ? and subtype = ?.
 List<Role> RolePersistence.findByT_S(int type, String subtype, int start, int end)
          Returns a range of all the roles where type = ? and subtype = ?.
static List<Role> RoleUtil.findByT_S(int type, String subtype, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the roles where type = ? and subtype = ?.
 List<Role> RolePersistence.findByT_S(int type, String subtype, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the roles where type = ? and subtype = ?.
static List<Role> RoleFinderUtil.findByU_G(long userId, List<Group> groups)
           
 List<Role> RoleFinder.findByU_G(long userId, List<Group> groups)
           
static List<Role> RoleFinderUtil.findByU_G(long userId, long groupId)
           
 List<Role> RoleFinder.findByU_G(long userId, long groupId)
           
static List<Role> RoleFinderUtil.findByU_G(long userId, long[] groupIds)
           
 List<Role> RoleFinder.findByU_G(long userId, long[] groupIds)
           
static List<Role> RoleFinderUtil.findByUserGroupGroupRole(long userId, long groupId)
           
 List<Role> RoleFinder.findByUserGroupGroupRole(long userId, long groupId)
           
static List<Role> RoleFinderUtil.findByUserGroupRole(long userId, long groupId)
           
 List<Role> RoleFinder.findByUserGroupRole(long userId, long groupId)
           
static List<Role> RoleUtil.findWithDynamicQuery(DynamicQuery dynamicQuery)
           
static List<Role> RoleUtil.findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
static List<Role> RoleUtil.findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
static List<Role> UserUtil.getRoles(long pk)
          Returns all the roles associated with the user.
 List<Role> UserPersistence.getRoles(long pk)
          Returns all the roles associated with the user.
static List<Role> GroupUtil.getRoles(long pk)
          Returns all the roles associated with the group.
 List<Role> GroupPersistence.getRoles(long pk)
          Returns all the roles associated with the group.
static List<Role> UserUtil.getRoles(long pk, int start, int end)
          Returns a range of all the roles associated with the user.
 List<Role> UserPersistence.getRoles(long pk, int start, int end)
          Returns a range of all the roles associated with the user.
static List<Role> GroupUtil.getRoles(long pk, int start, int end)
          Returns a range of all the roles associated with the group.
 List<Role> GroupPersistence.getRoles(long pk, int start, int end)
          Returns a range of all the roles associated with the group.
static List<Role> UserUtil.getRoles(long pk, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the roles associated with the user.
 List<Role> UserPersistence.getRoles(long pk, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the roles associated with the user.
static List<Role> GroupUtil.getRoles(long pk, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the roles associated with the group.
 List<Role> GroupPersistence.getRoles(long pk, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the roles associated with the group.
 

Methods in com.liferay.portal.service.persistence with parameters of type Role
static void UserUtil.addRole(long pk, Role role)
          Adds an association between the user and the role.
 void UserPersistence.addRole(long pk, Role role)
          Adds an association between the user and the role.
static void GroupUtil.addRole(long pk, Role role)
          Adds an association between the group and the role.
 void GroupPersistence.addRole(long pk, Role role)
          Adds an association between the group and the role.
static void RoleUtil.cacheResult(Role role)
          Caches the role in the entity cache if it is enabled.
 void RolePersistence.cacheResult(Role role)
          Caches the role in the entity cache if it is enabled.
static void RoleUtil.clearCache(Role role)
           
static void UserUtil.removeRole(long pk, Role role)
          Removes the association between the user and the role.
 void UserPersistence.removeRole(long pk, Role role)
          Removes the association between the user and the role.
static void GroupUtil.removeRole(long pk, Role role)
          Removes the association between the group and the role.
 void GroupPersistence.removeRole(long pk, Role role)
          Removes the association between the group and the role.
static Role RoleUtil.update(Role role)
           
static Role RoleUtil.update(Role role, ServiceContext serviceContext)
           
static Role RoleUtil.updateImpl(Role role)
           
 Role RolePersistence.updateImpl(Role role)
           
 

Method parameters in com.liferay.portal.service.persistence with type arguments of type Role
static void UserUtil.addRoles(long pk, List<Role> roles)
          Adds an association between the user and the roles.
 void UserPersistence.addRoles(long pk, List<Role> roles)
          Adds an association between the user and the roles.
static void GroupUtil.addRoles(long pk, List<Role> roles)
          Adds an association between the group and the roles.
 void GroupPersistence.addRoles(long pk, List<Role> roles)
          Adds an association between the group and the roles.
static void RoleUtil.cacheResult(List<Role> roles)
          Caches the roles in the entity cache if it is enabled.
 void RolePersistence.cacheResult(List<Role> roles)
          Caches the roles in the entity cache if it is enabled.
static void UserUtil.removeRoles(long pk, List<Role> roles)
          Removes the association between the user and the roles.
 void UserPersistence.removeRoles(long pk, List<Role> roles)
          Removes the association between the user and the roles.
static void GroupUtil.removeRoles(long pk, List<Role> roles)
          Removes the association between the group and the roles.
 void GroupPersistence.removeRoles(long pk, List<Role> roles)
          Removes the association between the group and the roles.
static void UserUtil.setRoles(long pk, List<Role> roles)
          Sets the roles associated with the user, removing and adding associations as necessary.
 void UserPersistence.setRoles(long pk, List<Role> roles)
          Sets the roles associated with the user, removing and adding associations as necessary.
static void GroupUtil.setRoles(long pk, List<Role> roles)
          Sets the roles associated with the group, removing and adding associations as necessary.
 void GroupPersistence.setRoles(long pk, List<Role> roles)
          Sets the roles associated with the group, removing and adding associations as necessary.
 

Uses of Role in com.liferay.portlet.rolesadmin.util
 

Methods in com.liferay.portlet.rolesadmin.util with parameters of type Role
static String RolesAdminUtil.getCssClassName(Role role)
           
 String RolesAdmin.getCssClassName(Role role)
           
 

Uses of Role in com.liferay.portlet.usersadmin.util
 

Methods in com.liferay.portlet.usersadmin.util that return types with arguments of type Role
static List<Role> UsersAdminUtil.filterGroupRoles(PermissionChecker permissionChecker, long groupId, List<Role> roles)
           
 List<Role> UsersAdmin.filterGroupRoles(PermissionChecker permissionChecker, long groupId, List<Role> roles)
           
static List<Role> UsersAdminUtil.filterRoles(PermissionChecker permissionChecker, List<Role> roles)
           
 List<Role> UsersAdmin.filterRoles(PermissionChecker permissionChecker, List<Role> roles)
           
 

Method parameters in com.liferay.portlet.usersadmin.util with type arguments of type Role
static List<Role> UsersAdminUtil.filterGroupRoles(PermissionChecker permissionChecker, long groupId, List<Role> roles)
           
 List<Role> UsersAdmin.filterGroupRoles(PermissionChecker permissionChecker, long groupId, List<Role> roles)
           
static List<Role> UsersAdminUtil.filterRoles(PermissionChecker permissionChecker, List<Role> roles)
           
 List<Role> UsersAdmin.filterRoles(PermissionChecker permissionChecker, List<Role> roles)
           
 


Liferay 6.2.0-ce-m4