Liferay 6.1.2-ce-ga3

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

Packages that use Permission
com.liferay.portal.model This package defines the portal model interfaces, classes, utilities, wrappers, and annotated types. 
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. 
 

Uses of Permission in com.liferay.portal.model
 

Classes in com.liferay.portal.model that implement Permission
 class PermissionWrapper
           This class is a wrapper for Permission.
 

Fields in com.liferay.portal.model with type parameters of type Permission
static Accessor<Permission,Long> Permission.PERMISSION_ID_ACCESSOR
           
 

Methods in com.liferay.portal.model that return Permission
 Permission PermissionDisplay.getPermission()
           
 Permission PermissionWrapper.getWrappedModel()
           
 Permission PermissionWrapper.getWrappedPermission()
          Deprecated. Renamed to PermissionWrapper.getWrappedModel()
 Permission PermissionModel.toEscapedModel()
           
 Permission PermissionWrapper.toEscapedModel()
           
 Permission PermissionModel.toUnescapedModel()
           
 Permission PermissionWrapper.toUnescapedModel()
           
 

Methods in com.liferay.portal.model that return types with arguments of type Permission
 CacheModel<Permission> PermissionModel.toCacheModel()
           
 CacheModel<Permission> PermissionWrapper.toCacheModel()
           
 

Methods in com.liferay.portal.model with parameters of type Permission
 int PermissionModel.compareTo(Permission permission)
           
 int PermissionWrapper.compareTo(Permission permission)
           
static PermissionSoap PermissionSoap.toSoapModel(Permission model)
           
static PermissionSoap[] PermissionSoap.toSoapModels(Permission[] models)
           
static PermissionSoap[][] PermissionSoap.toSoapModels(Permission[][] models)
           
 

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

Constructors in com.liferay.portal.model with parameters of type Permission
PermissionDisplay(Permission permission, Resource resource, String portletName, String portletLabel, String modelName, String modelLabel, String actionId, String actionLabel)
           
PermissionWrapper(Permission permission)
           
 

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

Methods in com.liferay.portal.security.permission that return types with arguments of type Permission
 List<Permission> PermissionsListFilter.filterGroupPermissions(long companyId, long groupId, long userId, String name, String primKey, boolean portletActions, List<Permission> permissions)
           
 List<Permission> PermissionsListFilter.filterGuestPermissions(long companyId, long groupId, long userId, String name, String primKey, boolean portletActions, List<Permission> permissions)
           
 List<Permission> PermissionsListFilter.filterUserPermissions(long companyId, long groupId, long userId, String name, String primKey, boolean portletActions, List<Permission> permissions)
           
 

Method parameters in com.liferay.portal.security.permission with type arguments of type Permission
 List<Permission> PermissionsListFilter.filterGroupPermissions(long companyId, long groupId, long userId, String name, String primKey, boolean portletActions, List<Permission> permissions)
           
 List<Permission> PermissionsListFilter.filterGuestPermissions(long companyId, long groupId, long userId, String name, String primKey, boolean portletActions, List<Permission> permissions)
           
 List<Permission> PermissionsListFilter.filterUserPermissions(long companyId, long groupId, long userId, String name, String primKey, boolean portletActions, List<Permission> permissions)
           
static List<String> ResourceActionsUtil.getActions(List<Permission> permissions)
           
 List<String> ResourceActions.getActions(List<Permission> permissions)
           
 

Uses of Permission in com.liferay.portal.service
 

Methods in com.liferay.portal.service that return Permission
 Permission PermissionLocalService.addPermission(long companyId, String actionId, long resourceId)
          Adds a permission to perform the action on the resource.
 Permission PermissionLocalServiceWrapper.addPermission(long companyId, String actionId, long resourceId)
          Adds a permission to perform the action on the resource.
static Permission PermissionLocalServiceUtil.addPermission(long companyId, String actionId, long resourceId)
          Adds a permission to perform the action on the resource.
 Permission PermissionLocalService.addPermission(Permission permission)
          Adds the permission to the database.
 Permission PermissionLocalServiceWrapper.addPermission(Permission permission)
          Adds the permission to the database.
static Permission PermissionLocalServiceUtil.addPermission(Permission permission)
          Adds the permission to the database.
 Permission PermissionLocalService.createPermission(long permissionId)
          Creates a new permission with the primary key.
 Permission PermissionLocalServiceWrapper.createPermission(long permissionId)
          Creates a new permission with the primary key.
static Permission PermissionLocalServiceUtil.createPermission(long permissionId)
          Creates a new permission with the primary key.
 Permission PermissionLocalService.deletePermission(long permissionId)
          Deletes the permission with the primary key from the database.
 Permission PermissionLocalServiceWrapper.deletePermission(long permissionId)
          Deletes the permission with the primary key from the database.
static Permission PermissionLocalServiceUtil.deletePermission(long permissionId)
          Deletes the permission with the primary key from the database.
 Permission PermissionLocalService.deletePermission(Permission permission)
          Deletes the permission from the database.
 Permission PermissionLocalServiceWrapper.deletePermission(Permission permission)
          Deletes the permission from the database.
static Permission PermissionLocalServiceUtil.deletePermission(Permission permission)
          Deletes the permission from the database.
 Permission PermissionLocalService.fetchPermission(long permissionId)
           
 Permission PermissionLocalServiceWrapper.fetchPermission(long permissionId)
           
static Permission PermissionLocalServiceUtil.fetchPermission(long permissionId)
           
 Permission PermissionLocalService.getPermission(long permissionId)
          Returns the permission with the primary key.
 Permission PermissionLocalServiceWrapper.getPermission(long permissionId)
          Returns the permission with the primary key.
static Permission PermissionLocalServiceUtil.getPermission(long permissionId)
          Returns the permission with the primary key.
 Permission PermissionLocalService.updatePermission(Permission permission)
          Updates the permission in the database or adds it if it does not yet exist.
 Permission PermissionLocalServiceWrapper.updatePermission(Permission permission)
          Updates the permission in the database or adds it if it does not yet exist.
static Permission PermissionLocalServiceUtil.updatePermission(Permission permission)
          Updates the permission in the database or adds it if it does not yet exist.
 Permission PermissionLocalService.updatePermission(Permission permission, boolean merge)
          Updates the permission in the database or adds it if it does not yet exist.
 Permission PermissionLocalServiceWrapper.updatePermission(Permission permission, boolean merge)
          Updates the permission in the database or adds it if it does not yet exist.
static Permission PermissionLocalServiceUtil.updatePermission(Permission permission, boolean merge)
          Updates the permission 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 Permission
 List<Permission> PermissionLocalService.addPermissions(long companyId, List<String> actionIds, long resourceId)
          Adds permissions to perform the actions on the resource.
 List<Permission> PermissionLocalServiceWrapper.addPermissions(long companyId, List<String> actionIds, long resourceId)
          Adds permissions to perform the actions on the resource.
static List<Permission> PermissionLocalServiceUtil.addPermissions(long companyId, List<String> actionIds, long resourceId)
          Adds permissions to perform the actions on the resource.
 List<Permission> PermissionLocalService.addPermissions(long companyId, String name, long resourceId, boolean portletActions)
          Adds permissions to perform either the portlet resource actions or model resource actions on the resource.
 List<Permission> PermissionLocalServiceWrapper.addPermissions(long companyId, String name, long resourceId, boolean portletActions)
          Adds permissions to perform either the portlet resource actions or model resource actions on the resource.
static List<Permission> PermissionLocalServiceUtil.addPermissions(long companyId, String name, long resourceId, boolean portletActions)
          Adds permissions to perform either the portlet resource actions or model resource actions on the resource.
 List<Permission> PermissionLocalService.getGroupPermissions(long groupId)
           
 List<Permission> PermissionLocalServiceWrapper.getGroupPermissions(long groupId)
           
static List<Permission> PermissionLocalServiceUtil.getGroupPermissions(long groupId)
           
 List<Permission> PermissionLocalService.getGroupPermissions(long groupId, int start, int end)
           
 List<Permission> PermissionLocalServiceWrapper.getGroupPermissions(long groupId, int start, int end)
           
static List<Permission> PermissionLocalServiceUtil.getGroupPermissions(long groupId, int start, int end)
           
 List<Permission> PermissionLocalService.getGroupPermissions(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 List<Permission> PermissionLocalServiceWrapper.getGroupPermissions(long groupId, int start, int end, OrderByComparator orderByComparator)
           
static List<Permission> PermissionLocalServiceUtil.getGroupPermissions(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 List<Permission> PermissionLocalService.getGroupPermissions(long groupId, long resourceId)
          Returns all the group's permissions on the resource.
 List<Permission> PermissionLocalServiceWrapper.getGroupPermissions(long groupId, long resourceId)
          Returns all the group's permissions on the resource.
static List<Permission> PermissionLocalServiceUtil.getGroupPermissions(long groupId, long resourceId)
          Returns all the group's permissions on the resource.
 List<Permission> PermissionLocalService.getGroupPermissions(long groupId, long companyId, String name, int scope, String primKey)
          Returns all the group's permissions on the named resource with the scope and primKey.
 List<Permission> PermissionLocalServiceWrapper.getGroupPermissions(long groupId, long companyId, String name, int scope, String primKey)
          Returns all the group's permissions on the named resource with the scope and primKey.
static List<Permission> PermissionLocalServiceUtil.getGroupPermissions(long groupId, long companyId, String name, int scope, String primKey)
          Returns all the group's permissions on the named resource with the scope and primKey.
 List<Permission> PermissionLocalService.getOrgGroupPermissions(long organizationId, long groupId, long resourceId)
          Returns all the permissions of the organization's group with respect to the resource.
 List<Permission> PermissionLocalServiceWrapper.getOrgGroupPermissions(long organizationId, long groupId, long resourceId)
          Returns all the permissions of the organization's group with respect to the resource.
static List<Permission> PermissionLocalServiceUtil.getOrgGroupPermissions(long organizationId, long groupId, long resourceId)
          Returns all the permissions of the organization's group with respect to the resource.
 List<Permission> PermissionLocalService.getPermissions(int start, int end)
          Returns a range of all the permissions.
 List<Permission> PermissionLocalServiceWrapper.getPermissions(int start, int end)
          Returns a range of all the permissions.
static List<Permission> PermissionLocalServiceUtil.getPermissions(int start, int end)
          Returns a range of all the permissions.
 List<Permission> PermissionLocalService.getPermissions(long companyId, String[] actionIds, long resourceId)
          Returns all the permissions to perform the actions on the resource, creating new permissions for any permissions not found.
 List<Permission> PermissionLocalServiceWrapper.getPermissions(long companyId, String[] actionIds, long resourceId)
          Returns all the permissions to perform the actions on the resource, creating new permissions for any permissions not found.
static List<Permission> PermissionLocalServiceUtil.getPermissions(long companyId, String[] actionIds, long resourceId)
          Returns all the permissions to perform the actions on the resource, creating new permissions for any permissions not found.
 List<Permission> PermissionLocalService.getRolePermissions(long roleId)
           
 List<Permission> PermissionLocalServiceWrapper.getRolePermissions(long roleId)
           
static List<Permission> PermissionLocalServiceUtil.getRolePermissions(long roleId)
           
 List<Permission> PermissionLocalService.getRolePermissions(long roleId, int[] scopes)
           
 List<Permission> PermissionLocalServiceWrapper.getRolePermissions(long roleId, int[] scopes)
           
static List<Permission> PermissionLocalServiceUtil.getRolePermissions(long roleId, int[] scopes)
           
 List<Permission> PermissionLocalService.getRolePermissions(long roleId, int start, int end)
           
 List<Permission> PermissionLocalServiceWrapper.getRolePermissions(long roleId, int start, int end)
           
static List<Permission> PermissionLocalServiceUtil.getRolePermissions(long roleId, int start, int end)
           
 List<Permission> PermissionLocalService.getRolePermissions(long roleId, int start, int end, OrderByComparator orderByComparator)
           
 List<Permission> PermissionLocalServiceWrapper.getRolePermissions(long roleId, int start, int end, OrderByComparator orderByComparator)
           
static List<Permission> PermissionLocalServiceUtil.getRolePermissions(long roleId, int start, int end, OrderByComparator orderByComparator)
           
 List<Permission> PermissionLocalService.getRolePermissions(long roleId, long resourceId)
          Returns all the role's permissions on the resource.
 List<Permission> PermissionLocalServiceWrapper.getRolePermissions(long roleId, long resourceId)
          Returns all the role's permissions on the resource.
static List<Permission> PermissionLocalServiceUtil.getRolePermissions(long roleId, long resourceId)
          Returns all the role's permissions on the resource.
 List<Permission> PermissionLocalService.getUserPermissions(long userId)
           
 List<Permission> PermissionLocalServiceWrapper.getUserPermissions(long userId)
           
static List<Permission> PermissionLocalServiceUtil.getUserPermissions(long userId)
           
 List<Permission> PermissionLocalService.getUserPermissions(long userId, int start, int end)
           
 List<Permission> PermissionLocalServiceWrapper.getUserPermissions(long userId, int start, int end)
           
static List<Permission> PermissionLocalServiceUtil.getUserPermissions(long userId, int start, int end)
           
 List<Permission> PermissionLocalService.getUserPermissions(long userId, int start, int end, OrderByComparator orderByComparator)
           
 List<Permission> PermissionLocalServiceWrapper.getUserPermissions(long userId, int start, int end, OrderByComparator orderByComparator)
           
static List<Permission> PermissionLocalServiceUtil.getUserPermissions(long userId, int start, int end, OrderByComparator orderByComparator)
           
 List<Permission> PermissionLocalService.getUserPermissions(long userId, long resourceId)
          Returns all the user's permissions on the resource.
 List<Permission> PermissionLocalServiceWrapper.getUserPermissions(long userId, long resourceId)
          Returns all the user's permissions on the resource.
static List<Permission> PermissionLocalServiceUtil.getUserPermissions(long userId, long resourceId)
          Returns all the user's permissions on the resource.
 List<Permission> PermissionLocalService.getUserPermissions(long userId, long companyId, String name, int scope, String primKey)
          Returns all the user's permissions on the named resource with the scope and primKey.
 List<Permission> PermissionLocalServiceWrapper.getUserPermissions(long userId, long companyId, String name, int scope, String primKey)
          Returns all the user's permissions on the named resource with the scope and primKey.
static List<Permission> PermissionLocalServiceUtil.getUserPermissions(long userId, long companyId, String name, int scope, String primKey)
          Returns all the user's permissions on the named resource with the scope and primKey.
 

Methods in com.liferay.portal.service with parameters of type Permission
 void PermissionLocalService.addGroupPermission(long groupId, Permission permission)
           
 void PermissionLocalServiceWrapper.addGroupPermission(long groupId, Permission permission)
           
static void PermissionLocalServiceUtil.addGroupPermission(long groupId, Permission permission)
           
 Permission PermissionLocalService.addPermission(Permission permission)
          Adds the permission to the database.
 Permission PermissionLocalServiceWrapper.addPermission(Permission permission)
          Adds the permission to the database.
static Permission PermissionLocalServiceUtil.addPermission(Permission permission)
          Adds the permission to the database.
 void PermissionLocalService.addRolePermission(long roleId, Permission permission)
           
 void PermissionLocalServiceWrapper.addRolePermission(long roleId, Permission permission)
           
static void PermissionLocalServiceUtil.addRolePermission(long roleId, Permission permission)
           
 void PermissionLocalService.addUserPermission(long userId, Permission permission)
           
 void PermissionLocalServiceWrapper.addUserPermission(long userId, Permission permission)
           
static void PermissionLocalServiceUtil.addUserPermission(long userId, Permission permission)
           
 void PermissionLocalService.deleteGroupPermission(long groupId, Permission permission)
           
 void PermissionLocalServiceWrapper.deleteGroupPermission(long groupId, Permission permission)
           
static void PermissionLocalServiceUtil.deleteGroupPermission(long groupId, Permission permission)
           
 Permission PermissionLocalService.deletePermission(Permission permission)
          Deletes the permission from the database.
 Permission PermissionLocalServiceWrapper.deletePermission(Permission permission)
          Deletes the permission from the database.
static Permission PermissionLocalServiceUtil.deletePermission(Permission permission)
          Deletes the permission from the database.
 void PermissionLocalService.deleteRolePermission(long roleId, Permission permission)
           
 void PermissionLocalServiceWrapper.deleteRolePermission(long roleId, Permission permission)
           
static void PermissionLocalServiceUtil.deleteRolePermission(long roleId, Permission permission)
           
 void PermissionLocalService.deleteUserPermission(long userId, Permission permission)
           
 void PermissionLocalServiceWrapper.deleteUserPermission(long userId, Permission permission)
           
static void PermissionLocalServiceUtil.deleteUserPermission(long userId, Permission permission)
           
 Permission PermissionLocalService.updatePermission(Permission permission)
          Updates the permission in the database or adds it if it does not yet exist.
 Permission PermissionLocalServiceWrapper.updatePermission(Permission permission)
          Updates the permission in the database or adds it if it does not yet exist.
static Permission PermissionLocalServiceUtil.updatePermission(Permission permission)
          Updates the permission in the database or adds it if it does not yet exist.
 Permission PermissionLocalService.updatePermission(Permission permission, boolean merge)
          Updates the permission in the database or adds it if it does not yet exist.
 Permission PermissionLocalServiceWrapper.updatePermission(Permission permission, boolean merge)
          Updates the permission in the database or adds it if it does not yet exist.
static Permission PermissionLocalServiceUtil.updatePermission(Permission permission, boolean merge)
          Updates the permission in the database or adds it if it does not yet exist.
 

Method parameters in com.liferay.portal.service with type arguments of type Permission
 void PermissionLocalService.addGroupPermissions(long groupId, List<Permission> Permissions)
           
 void PermissionLocalServiceWrapper.addGroupPermissions(long groupId, List<Permission> Permissions)
           
static void PermissionLocalServiceUtil.addGroupPermissions(long groupId, List<Permission> Permissions)
           
 void PermissionLocalService.addRolePermissions(long roleId, List<Permission> Permissions)
           
 void PermissionLocalServiceWrapper.addRolePermissions(long roleId, List<Permission> Permissions)
           
static void PermissionLocalServiceUtil.addRolePermissions(long roleId, List<Permission> Permissions)
           
 void PermissionLocalService.addUserPermissions(long userId, List<Permission> Permissions)
           
 void PermissionLocalServiceWrapper.addUserPermissions(long userId, List<Permission> Permissions)
           
static void PermissionLocalServiceUtil.addUserPermissions(long userId, List<Permission> Permissions)
           
 void PermissionLocalService.deleteGroupPermissions(long groupId, List<Permission> Permissions)
           
 void PermissionLocalServiceWrapper.deleteGroupPermissions(long groupId, List<Permission> Permissions)
           
static void PermissionLocalServiceUtil.deleteGroupPermissions(long groupId, List<Permission> Permissions)
           
 void PermissionLocalService.deleteRolePermissions(long roleId, List<Permission> Permissions)
           
 void PermissionLocalServiceWrapper.deleteRolePermissions(long roleId, List<Permission> Permissions)
           
static void PermissionLocalServiceUtil.deleteRolePermissions(long roleId, List<Permission> Permissions)
           
 void PermissionLocalService.deleteUserPermissions(long userId, List<Permission> Permissions)
           
 void PermissionLocalServiceWrapper.deleteUserPermissions(long userId, List<Permission> Permissions)
           
static void PermissionLocalServiceUtil.deleteUserPermissions(long userId, List<Permission> Permissions)
           
 List<String> PermissionLocalService.getActions(List<Permission> permissions)
          Returns the IDs of all the actions belonging to the permissions.
 List<String> PermissionLocalServiceWrapper.getActions(List<Permission> permissions)
          Returns the IDs of all the actions belonging to the permissions.
static List<String> PermissionLocalServiceUtil.getActions(List<Permission> permissions)
          Returns the IDs of all the actions belonging to the permissions.
 

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

Methods in com.liferay.portal.service.persistence that return Permission
 Permission PermissionPersistence.create(long permissionId)
          Creates a new permission with the primary key.
static Permission PermissionUtil.create(long permissionId)
          Creates a new permission with the primary key.
 Permission PermissionPersistence.fetchByA_R(String actionId, long resourceId)
          Returns the permission where actionId = ? and resourceId = ? or returns null if it could not be found.
static Permission PermissionUtil.fetchByA_R(String actionId, long resourceId)
          Returns the permission where actionId = ? and resourceId = ? or returns null if it could not be found.
 Permission PermissionPersistence.fetchByA_R(String actionId, long resourceId, boolean retrieveFromCache)
          Returns the permission where actionId = ? and resourceId = ? or returns null if it could not be found, optionally using the finder cache.
static Permission PermissionUtil.fetchByA_R(String actionId, long resourceId, boolean retrieveFromCache)
          Returns the permission where actionId = ? and resourceId = ? or returns null if it could not be found, optionally using the finder cache.
 Permission PermissionPersistence.fetchByPrimaryKey(long permissionId)
          Returns the permission with the primary key or returns null if it could not be found.
static Permission PermissionUtil.fetchByPrimaryKey(long permissionId)
          Returns the permission with the primary key or returns null if it could not be found.
 Permission PermissionPersistence.fetchByResourceId_First(long resourceId, OrderByComparator orderByComparator)
          Returns the first permission in the ordered set where resourceId = ?.
static Permission PermissionUtil.fetchByResourceId_First(long resourceId, OrderByComparator orderByComparator)
          Returns the first permission in the ordered set where resourceId = ?.
 Permission PermissionPersistence.fetchByResourceId_Last(long resourceId, OrderByComparator orderByComparator)
          Returns the last permission in the ordered set where resourceId = ?.
static Permission PermissionUtil.fetchByResourceId_Last(long resourceId, OrderByComparator orderByComparator)
          Returns the last permission in the ordered set where resourceId = ?.
 Permission PermissionPersistence.findByA_R(String actionId, long resourceId)
          Returns the permission where actionId = ? and resourceId = ? or throws a NoSuchPermissionException if it could not be found.
static Permission PermissionUtil.findByA_R(String actionId, long resourceId)
          Returns the permission where actionId = ? and resourceId = ? or throws a NoSuchPermissionException if it could not be found.
 Permission PermissionPersistence.findByPrimaryKey(long permissionId)
          Returns the permission with the primary key or throws a NoSuchPermissionException if it could not be found.
static Permission PermissionUtil.findByPrimaryKey(long permissionId)
          Returns the permission with the primary key or throws a NoSuchPermissionException if it could not be found.
 Permission PermissionPersistence.findByResourceId_First(long resourceId, OrderByComparator orderByComparator)
          Returns the first permission in the ordered set where resourceId = ?.
static Permission PermissionUtil.findByResourceId_First(long resourceId, OrderByComparator orderByComparator)
          Returns the first permission in the ordered set where resourceId = ?.
 Permission PermissionPersistence.findByResourceId_Last(long resourceId, OrderByComparator orderByComparator)
          Returns the last permission in the ordered set where resourceId = ?.
static Permission PermissionUtil.findByResourceId_Last(long resourceId, OrderByComparator orderByComparator)
          Returns the last permission in the ordered set where resourceId = ?.
 Permission[] PermissionPersistence.findByResourceId_PrevAndNext(long permissionId, long resourceId, OrderByComparator orderByComparator)
          Returns the permissions before and after the current permission in the ordered set where resourceId = ?.
static Permission[] PermissionUtil.findByResourceId_PrevAndNext(long permissionId, long resourceId, OrderByComparator orderByComparator)
          Returns the permissions before and after the current permission in the ordered set where resourceId = ?.
 Permission PermissionPersistence.remove(long permissionId)
          Removes the permission with the primary key from the database.
static Permission PermissionUtil.remove(long permissionId)
          Removes the permission with the primary key from the database.
 Permission PermissionPersistence.removeByA_R(String actionId, long resourceId)
          Removes the permission where actionId = ? and resourceId = ? from the database.
static Permission PermissionUtil.removeByA_R(String actionId, long resourceId)
          Removes the permission where actionId = ? and resourceId = ? from the database.
static Permission PermissionUtil.update(Permission permission, boolean merge)
           
static Permission PermissionUtil.update(Permission permission, boolean merge, ServiceContext serviceContext)
           
 Permission PermissionPersistence.updateImpl(Permission permission, boolean merge)
           
static Permission PermissionUtil.updateImpl(Permission permission, boolean merge)
           
 

Methods in com.liferay.portal.service.persistence that return types with arguments of type Permission
 List<Permission> PermissionPersistence.findAll()
          Returns all the permissions.
static List<Permission> PermissionUtil.findAll()
          Returns all the permissions.
 List<Permission> PermissionPersistence.findAll(int start, int end)
          Returns a range of all the permissions.
static List<Permission> PermissionUtil.findAll(int start, int end)
          Returns a range of all the permissions.
 List<Permission> PermissionPersistence.findAll(int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the permissions.
static List<Permission> PermissionUtil.findAll(int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the permissions.
 List<Permission> PermissionFinder.findByA_C(String actionId, long codeId)
           
static List<Permission> PermissionFinderUtil.findByA_C(String actionId, long codeId)
           
 List<Permission> PermissionFinder.findByA_R(String actionId, long[] resourceIds)
           
static List<Permission> PermissionFinderUtil.findByA_R(String actionId, long[] resourceIds)
           
 List<Permission> PermissionFinder.findByG_C_N_S_P(long groupId, long companyId, String name, int scope, String primKey)
           
static List<Permission> PermissionFinderUtil.findByG_C_N_S_P(long groupId, long companyId, String name, int scope, String primKey)
           
 List<Permission> PermissionFinder.findByG_R(long groupId, long resourceId)
           
static List<Permission> PermissionFinderUtil.findByG_R(long groupId, long resourceId)
           
 List<Permission> PermissionFinder.findByO_G_R(long organizationId, long groupId, long resourceId)
           
static List<Permission> PermissionFinderUtil.findByO_G_R(long organizationId, long groupId, long resourceId)
           
 List<Permission> PermissionFinder.findByR_R(long roleId, long resourceId)
           
static List<Permission> PermissionFinderUtil.findByR_R(long roleId, long resourceId)
           
 List<Permission> PermissionFinder.findByR_S(long roleId, int[] scopes)
           
static List<Permission> PermissionFinderUtil.findByR_S(long roleId, int[] scopes)
           
 List<Permission> PermissionPersistence.findByResourceId(long resourceId)
          Returns all the permissions where resourceId = ?.
static List<Permission> PermissionUtil.findByResourceId(long resourceId)
          Returns all the permissions where resourceId = ?.
 List<Permission> PermissionPersistence.findByResourceId(long resourceId, int start, int end)
          Returns a range of all the permissions where resourceId = ?.
static List<Permission> PermissionUtil.findByResourceId(long resourceId, int start, int end)
          Returns a range of all the permissions where resourceId = ?.
 List<Permission> PermissionPersistence.findByResourceId(long resourceId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the permissions where resourceId = ?.
static List<Permission> PermissionUtil.findByResourceId(long resourceId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the permissions where resourceId = ?.
 List<Permission> PermissionFinder.findByU_A_R(long userId, String[] actionIds, long resourceId)
           
static List<Permission> PermissionFinderUtil.findByU_A_R(long userId, String[] actionIds, long resourceId)
           
 List<Permission> PermissionFinder.findByU_C_N_S_P(long userId, long companyId, String name, int scope, String primKey)
           
static List<Permission> PermissionFinderUtil.findByU_C_N_S_P(long userId, long companyId, String name, int scope, String primKey)
           
 List<Permission> PermissionFinder.findByU_R(long userId, long resourceId)
           
static List<Permission> PermissionFinderUtil.findByU_R(long userId, long resourceId)
           
static List<Permission> PermissionUtil.findWithDynamicQuery(DynamicQuery dynamicQuery)
           
static List<Permission> PermissionUtil.findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
static List<Permission> PermissionUtil.findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
static List<Permission> RoleUtil.getPermissions(long pk)
          Returns all the permissions associated with the role.
 List<Permission> GroupPersistence.getPermissions(long pk)
          Returns all the permissions associated with the group.
static List<Permission> UserUtil.getPermissions(long pk)
          Returns all the permissions associated with the user.
 List<Permission> UserPersistence.getPermissions(long pk)
          Returns all the permissions associated with the user.
 List<Permission> RolePersistence.getPermissions(long pk)
          Returns all the permissions associated with the role.
static List<Permission> GroupUtil.getPermissions(long pk)
          Returns all the permissions associated with the group.
static List<Permission> RoleUtil.getPermissions(long pk, int start, int end)
          Returns a range of all the permissions associated with the role.
 List<Permission> GroupPersistence.getPermissions(long pk, int start, int end)
          Returns a range of all the permissions associated with the group.
static List<Permission> UserUtil.getPermissions(long pk, int start, int end)
          Returns a range of all the permissions associated with the user.
 List<Permission> UserPersistence.getPermissions(long pk, int start, int end)
          Returns a range of all the permissions associated with the user.
 List<Permission> RolePersistence.getPermissions(long pk, int start, int end)
          Returns a range of all the permissions associated with the role.
static List<Permission> GroupUtil.getPermissions(long pk, int start, int end)
          Returns a range of all the permissions associated with the group.
static List<Permission> RoleUtil.getPermissions(long pk, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the permissions associated with the role.
 List<Permission> GroupPersistence.getPermissions(long pk, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the permissions associated with the group.
static List<Permission> UserUtil.getPermissions(long pk, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the permissions associated with the user.
 List<Permission> UserPersistence.getPermissions(long pk, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the permissions associated with the user.
 List<Permission> RolePersistence.getPermissions(long pk, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the permissions associated with the role.
static List<Permission> GroupUtil.getPermissions(long pk, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the permissions associated with the group.
 

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

Method parameters in com.liferay.portal.service.persistence with type arguments of type Permission
static void RoleUtil.addPermissions(long pk, List<Permission> permissions)
          Adds an association between the role and the permissions.
 void GroupPersistence.addPermissions(long pk, List<Permission> permissions)
          Adds an association between the group and the permissions.
static void UserUtil.addPermissions(long pk, List<Permission> permissions)
          Adds an association between the user and the permissions.
 void UserPersistence.addPermissions(long pk, List<Permission> permissions)
          Adds an association between the user and the permissions.
 void RolePersistence.addPermissions(long pk, List<Permission> permissions)
          Adds an association between the role and the permissions.
static void GroupUtil.addPermissions(long pk, List<Permission> permissions)
          Adds an association between the group and the permissions.
 void PermissionPersistence.cacheResult(List<Permission> permissions)
          Caches the permissions in the entity cache if it is enabled.
static void PermissionUtil.cacheResult(List<Permission> permissions)
          Caches the permissions in the entity cache if it is enabled.
 boolean PermissionFinder.containsPermissions_2(List<Permission> permissions, long userId, List<Group> groups, long groupId)
           
static boolean PermissionFinderUtil.containsPermissions_2(List<Permission> permissions, long userId, List<Group> groups, long groupId)
           
 boolean PermissionFinder.containsPermissions_4(List<Permission> permissions, long userId, List<Group> groups, List<Role> roles)
           
static boolean PermissionFinderUtil.containsPermissions_4(List<Permission> permissions, long userId, List<Group> groups, List<Role> roles)
           
 int PermissionFinder.countByGroupsPermissions(List<Permission> permissions, List<Group> groups)
           
static int PermissionFinderUtil.countByGroupsPermissions(List<Permission> permissions, List<Group> groups)
           
 int PermissionFinder.countByGroupsRoles(List<Permission> permissions, List<Group> groups)
           
static int PermissionFinderUtil.countByGroupsRoles(List<Permission> permissions, List<Group> groups)
           
 int PermissionFinder.countByRolesPermissions(List<Permission> permissions, List<Role> roles)
           
static int PermissionFinderUtil.countByRolesPermissions(List<Permission> permissions, List<Role> roles)
           
 int PermissionFinder.countByUserGroupRole(List<Permission> permissions, long userId, long groupId)
           
static int PermissionFinderUtil.countByUserGroupRole(List<Permission> permissions, long userId, long groupId)
           
 int PermissionFinder.countByUsersPermissions(List<Permission> permissions, long userId)
           
static int PermissionFinderUtil.countByUsersPermissions(List<Permission> permissions, long userId)
           
 int PermissionFinder.countByUsersRoles(List<Permission> permissions, long userId)
           
static int PermissionFinderUtil.countByUsersRoles(List<Permission> permissions, long userId)
           
static void RoleUtil.removePermissions(long pk, List<Permission> permissions)
          Removes the association between the role and the permissions.
 void GroupPersistence.removePermissions(long pk, List<Permission> permissions)
          Removes the association between the group and the permissions.
static void UserUtil.removePermissions(long pk, List<Permission> permissions)
          Removes the association between the user and the permissions.
 void UserPersistence.removePermissions(long pk, List<Permission> permissions)
          Removes the association between the user and the permissions.
 void RolePersistence.removePermissions(long pk, List<Permission> permissions)
          Removes the association between the role and the permissions.
static void GroupUtil.removePermissions(long pk, List<Permission> permissions)
          Removes the association between the group and the permissions.
static void RoleUtil.setPermissions(long pk, List<Permission> permissions)
          Sets the permissions associated with the role, removing and adding associations as necessary.
 void GroupPersistence.setPermissions(long pk, List<Permission> permissions)
          Sets the permissions associated with the group, removing and adding associations as necessary.
static void UserUtil.setPermissions(long pk, List<Permission> permissions)
          Sets the permissions associated with the user, removing and adding associations as necessary.
 void UserPersistence.setPermissions(long pk, List<Permission> permissions)
          Sets the permissions associated with the user, removing and adding associations as necessary.
 void RolePersistence.setPermissions(long pk, List<Permission> permissions)
          Sets the permissions associated with the role, removing and adding associations as necessary.
static void GroupUtil.setPermissions(long pk, List<Permission> permissions)
          Sets the permissions associated with the group, removing and adding associations as necessary.
 


Liferay 6.1.2-ce-ga3