Liferay 6.1.10-ee-ga1

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

Packages that use Permission
com.liferay.portal.model This package defines the portal model interfaces and classes, including SOAP and wrapper classes. 
com.liferay.portal.model.impl   
com.liferay.portal.security.permission This package defines the portal security permission interfaces and classes. 
com.liferay.portal.service This package defines the local and remote portal service interfaces and classes. 
com.liferay.portal.service.base   
com.liferay.portal.service.impl This package defines the local and remote portal service implementations. 
com.liferay.portal.service.persistence This package defines the portal service persistence interfaces and classes. 
com.liferay.portal.tools.samplesqlbuilder   
com.liferay.portal.verify   
 

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 PermissionWrapper.toEscapedModel()
           
 Permission PermissionModel.toEscapedModel()
           
 

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

Methods in com.liferay.portal.model with parameters of type Permission
 int PermissionWrapper.compareTo(Permission permission)
           
 int PermissionModel.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.model.impl
 

Classes in com.liferay.portal.model.impl that implement Permission
 class PermissionBaseImpl
          The extended model base implementation for the Permission service.
 class PermissionImpl
          Represents a permission to perform an action on a resource in permissions versions < 6.
 

Methods in com.liferay.portal.model.impl that return Permission
 Permission PermissionCacheModel.toEntityModel()
           
 Permission PermissionModelImpl.toEscapedModel()
           
static Permission PermissionModelImpl.toModel(PermissionSoap soapModel)
          Converts the soap model instance into a normal model instance.
 

Methods in com.liferay.portal.model.impl that return types with arguments of type Permission
 CacheModel<Permission> PermissionModelImpl.toCacheModel()
           
static List<Permission> PermissionModelImpl.toModels(PermissionSoap[] soapModels)
          Converts the soap model instances into normal model instances.
 

Methods in com.liferay.portal.model.impl with parameters of type Permission
 int PermissionModelImpl.compareTo(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> PermissionsListFilterImpl.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> PermissionsListFilterImpl.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)
           
 List<Permission> PermissionsListFilterImpl.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> PermissionsListFilterImpl.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> PermissionsListFilterImpl.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)
           
 List<Permission> PermissionsListFilterImpl.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)
           
 List<String> ResourceActionsImpl.getActions(List<Permission> permissions)
           
 

Uses of Permission in com.liferay.portal.service
 

Methods in com.liferay.portal.service that return Permission
 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(long companyId, String actionId, long resourceId)
          Adds a permission to perform the action on the resource.
 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.addPermission(Permission permission)
          Adds the permission to the database.
 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.createPermission(long permissionId)
          Creates a new permission with the primary key.
 Permission PermissionLocalServiceWrapper.fetchPermission(long permissionId)
           
static Permission PermissionLocalServiceUtil.fetchPermission(long permissionId)
           
 Permission PermissionLocalService.fetchPermission(long permissionId)
           
 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.getPermission(long permissionId)
          Returns the permission with the primary key.
 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)
          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.
 Permission PermissionLocalService.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> 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, List<String> actionIds, long resourceId)
          Adds permissions to perform the 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.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.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 resourceId)
          Returns all the group's permissions on the resource.
 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.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.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.getOrgGroupPermissions(long organizationId, long groupId, long resourceId)
          Returns all the permissions of the organization's group with respect to the resource.
 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(int start, int end)
          Returns a range of all the permissions.
 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.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.getRolePermissions(long roleId)
          Returns all the role's permissions.
static List<Permission> PermissionLocalServiceUtil.getRolePermissions(long roleId)
          Returns all the role's permissions.
 List<Permission> PermissionLocalService.getRolePermissions(long roleId)
          Returns all the role's permissions.
 List<Permission> PermissionLocalServiceWrapper.getRolePermissions(long roleId, int[] scopes)
           
static List<Permission> PermissionLocalServiceUtil.getRolePermissions(long roleId, int[] scopes)
           
 List<Permission> PermissionLocalService.getRolePermissions(long roleId, int[] scopes)
           
 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.getRolePermissions(long roleId, long resourceId)
          Returns all the role's permissions on the resource.
 List<Permission> PermissionLocalServiceWrapper.getUserPermissions(long userId)
          Returns all the user's permissions.
static List<Permission> PermissionLocalServiceUtil.getUserPermissions(long userId)
          Returns all the user's permissions.
 List<Permission> PermissionLocalService.getUserPermissions(long userId)
          Returns all the user's permissions.
 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 resourceId)
          Returns all the user's permissions on the resource.
 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.
 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.
 

Methods in com.liferay.portal.service with parameters of type Permission
 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.addPermission(Permission permission)
          Adds the permission to the database.
 void PermissionLocalServiceWrapper.deletePermission(Permission permission)
          Deletes the permission from the database.
static void PermissionLocalServiceUtil.deletePermission(Permission permission)
          Deletes the permission from the database.
 void PermissionLocalService.deletePermission(Permission permission)
          Deletes the permission from the database.
 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)
          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.
 Permission PermissionLocalService.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
 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.
 List<String> PermissionLocalService.getActions(List<Permission> permissions)
          Returns the IDs of all the actions belonging to the permissions.
 

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

Methods in com.liferay.portal.service.base that return Permission
 Permission PermissionLocalServiceBaseImpl.addPermission(Permission permission)
          Adds the permission to the database.
 Permission PermissionLocalServiceBaseImpl.createPermission(long permissionId)
          Creates a new permission with the primary key.
 Permission PermissionLocalServiceBaseImpl.fetchPermission(long permissionId)
           
 Permission PermissionLocalServiceBaseImpl.getPermission(long permissionId)
          Returns the permission with the primary key.
 Permission PermissionLocalServiceBaseImpl.updatePermission(Permission permission)
          Updates the permission in the database or adds it if it does not yet exist.
 Permission PermissionLocalServiceBaseImpl.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.base that return types with arguments of type Permission
 List<Permission> PermissionLocalServiceBaseImpl.getPermissions(int start, int end)
          Returns a range of all the permissions.
 

Methods in com.liferay.portal.service.base with parameters of type Permission
 Permission PermissionLocalServiceBaseImpl.addPermission(Permission permission)
          Adds the permission to the database.
 void PermissionLocalServiceBaseImpl.deletePermission(Permission permission)
          Deletes the permission from the database.
 Permission PermissionLocalServiceBaseImpl.updatePermission(Permission permission)
          Updates the permission in the database or adds it if it does not yet exist.
 Permission PermissionLocalServiceBaseImpl.updatePermission(Permission permission, boolean merge)
          Updates the permission in the database or adds it if it does not yet exist.
 

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

Methods in com.liferay.portal.service.impl that return Permission
 Permission PermissionLocalServiceImpl.addPermission(long companyId, String actionId, long resourceId)
          Adds a permission to perform the action on the resource.
 

Methods in com.liferay.portal.service.impl that return types with arguments of type Permission
 List<Permission> PermissionLocalServiceImpl.addPermissions(long companyId, List<String> actionIds, long resourceId)
          Adds permissions to perform the actions on the resource.
 List<Permission> PermissionLocalServiceImpl.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> PermissionLocalServiceImpl.getGroupPermissions(long groupId, long resourceId)
          Returns all the group's permissions on the resource.
 List<Permission> PermissionLocalServiceImpl.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> PermissionLocalServiceImpl.getOrgGroupPermissions(long organizationId, long groupId, long resourceId)
          Returns all the permissions of the organization's group with respect to the resource.
 List<Permission> PermissionLocalServiceImpl.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> PermissionLocalServiceImpl.getRolePermissions(long roleId)
          Returns all the role's permissions.
 List<Permission> PermissionLocalServiceImpl.getRolePermissions(long roleId, int[] scopes)
           
 List<Permission> PermissionLocalServiceImpl.getRolePermissions(long roleId, long resourceId)
          Returns all the role's permissions on the resource.
 List<Permission> PermissionLocalServiceImpl.getUserPermissions(long userId)
          Returns all the user's permissions.
 List<Permission> PermissionLocalServiceImpl.getUserPermissions(long userId, long resourceId)
          Returns all the user's permissions on the resource.
 List<Permission> PermissionLocalServiceImpl.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.impl with parameters of type Permission
protected  void PermissionLocalServiceImpl.addRolePermissions(String roleName, Permission permission)
           
protected  boolean PermissionLocalServiceImpl.checkOrgGroupPermission(List<Organization> organizations, List<Group> groups, Permission permission)
           
 

Method parameters in com.liferay.portal.service.impl with type arguments of type Permission
protected  boolean PermissionLocalServiceImpl.checkOrgGroupPermission(List<Organization> organizations, List<Group> groups, List<Permission> permissions)
           
protected  void ResourceLocalServiceImpl.filterOwnerPermissions(String name, List<Permission> permissions)
           
 List<String> PermissionLocalServiceImpl.getActions(List<Permission> permissions)
          Returns the IDs of all the actions belonging to the permissions.
protected  boolean PermissionLocalServiceImpl.hasUserPermissions_1(long userId, long resourceId, String actionId, List<Permission> permissions, List<Group> groups, long groupId, org.apache.commons.lang.time.StopWatch stopWatch, int block)
           
protected  boolean PermissionLocalServiceImpl.hasUserPermissions_2(long userId, long resourceId, String actionId, List<Permission> permissions, List<Group> groups, long groupId, org.apache.commons.lang.time.StopWatch stopWatch, int block)
           
protected  boolean PermissionLocalServiceImpl.hasUserPermissions_3(long userId, long resourceId, String actionId, List<Permission> permissions, List<Group> groups, List<Role> roles, org.apache.commons.lang.time.StopWatch stopWatch, int block)
           
protected  boolean PermissionLocalServiceImpl.hasUserPermissions_4(long userId, long resourceId, String actionId, List<Permission> permissions, List<Group> groups, List<Role> roles, org.apache.commons.lang.time.StopWatch stopWatch, int block)
           
protected  boolean PermissionLocalServiceImpl.hasUserPermissions_5(long userId, long resourceId, String actionId, List<Permission> permissions, List<Role> roles, org.apache.commons.lang.time.StopWatch stopWatch, int block)
           
 

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

Methods in com.liferay.portal.service.persistence that return Permission
static Permission PermissionUtil.create(long permissionId)
          Creates a new permission with the primary key.
 Permission PermissionPersistence.create(long permissionId)
          Creates a new permission with the primary key.
 Permission PermissionPersistenceImpl.create(long permissionId)
          Creates a new permission with the primary key.
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)
          Returns the permission where actionId = ? and resourceId = ? or returns null if it could not be found.
 Permission PermissionPersistenceImpl.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, 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.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 PermissionPersistenceImpl.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.fetchByPrimaryKey(long permissionId)
          Returns the permission with the primary key or returns null if it could not be found.
 Permission PermissionPersistence.fetchByPrimaryKey(long permissionId)
          Returns the permission with the primary key or returns null if it could not be found.
 Permission PermissionPersistenceImpl.fetchByPrimaryKey(long permissionId)
          Returns the permission with the primary key or returns null if it could not be found.
 Permission PermissionPersistenceImpl.fetchByPrimaryKey(Serializable primaryKey)
          Returns the permission with the primary key or returns null 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.findByA_R(String actionId, long resourceId)
          Returns the permission where actionId = ? and resourceId = ? or throws a NoSuchPermissionException if it could not be found.
 Permission PermissionPersistenceImpl.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.findByPrimaryKey(long permissionId)
          Returns the permission with the primary key 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.
 Permission PermissionPersistenceImpl.findByPrimaryKey(long permissionId)
          Returns the permission with the primary key or throws a NoSuchPermissionException if it could not be found.
 Permission PermissionPersistenceImpl.findByPrimaryKey(Serializable primaryKey)
          Returns the permission with the primary key or throws a NoSuchModelException if it could not be found.
static Permission PermissionUtil.findByResourceId_First(long resourceId, OrderByComparator orderByComparator)
          Returns the first permission in the ordered set where resourceId = ?.
 Permission PermissionPersistence.findByResourceId_First(long resourceId, OrderByComparator orderByComparator)
          Returns the first permission in the ordered set where resourceId = ?.
 Permission PermissionPersistenceImpl.findByResourceId_First(long resourceId, OrderByComparator orderByComparator)
          Returns the first 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_Last(long resourceId, OrderByComparator orderByComparator)
          Returns the last permission in the ordered set where resourceId = ?.
 Permission PermissionPersistenceImpl.findByResourceId_Last(long resourceId, OrderByComparator orderByComparator)
          Returns the last 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.findByResourceId_PrevAndNext(long permissionId, long resourceId, OrderByComparator orderByComparator)
          Returns the permissions before and after the current permission in the ordered set where resourceId = ?.
 Permission[] PermissionPersistenceImpl.findByResourceId_PrevAndNext(long permissionId, long resourceId, OrderByComparator orderByComparator)
          Returns the permissions before and after the current permission in the ordered set where resourceId = ?.
protected  Permission PermissionPersistenceImpl.getByResourceId_PrevAndNext(Session session, Permission permission, long resourceId, OrderByComparator orderByComparator, boolean previous)
           
static Permission PermissionUtil.remove(long permissionId)
          Removes the permission with the primary key from the database.
 Permission PermissionPersistence.remove(long permissionId)
          Removes the permission with the primary key from the database.
 Permission PermissionPersistenceImpl.remove(long permissionId)
          Removes the permission with the primary key from the database.
 Permission PermissionPersistenceImpl.remove(Serializable primaryKey)
          Removes the permission with the primary key from the database.
protected  Permission PermissionPersistenceImpl.removeImpl(Permission permission)
           
protected  Permission PermissionPersistenceImpl.toUnwrappedModel(Permission permission)
           
static Permission PermissionUtil.update(Permission permission, boolean merge)
           
static Permission PermissionUtil.update(Permission permission, boolean merge, ServiceContext serviceContext)
           
static Permission PermissionUtil.updateImpl(Permission permission, boolean merge)
           
 Permission PermissionPersistence.updateImpl(Permission permission, boolean merge)
           
 Permission PermissionPersistenceImpl.updateImpl(Permission permission, boolean merge)
           
 

Methods in com.liferay.portal.service.persistence that return types with arguments of type Permission
static List<Permission> PermissionUtil.findAll()
          Returns all the permissions.
 List<Permission> PermissionPersistence.findAll()
          Returns all the permissions.
 List<Permission> PermissionPersistenceImpl.findAll()
          Returns 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)
          Returns a range of all the permissions.
 List<Permission> PermissionPersistenceImpl.findAll(int start, int end)
          Returns a 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> PermissionPersistence.findAll(int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the permissions.
 List<Permission> PermissionPersistenceImpl.findAll(int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the permissions.
static List<Permission> PermissionFinderUtil.findByA_C(String actionId, long codeId)
           
 List<Permission> PermissionFinder.findByA_C(String actionId, long codeId)
           
 List<Permission> PermissionFinderImpl.findByA_C(String actionId, long codeId)
           
static List<Permission> PermissionFinderUtil.findByA_R(String actionId, long[] resourceIds)
           
 List<Permission> PermissionFinder.findByA_R(String actionId, long[] resourceIds)
           
 List<Permission> PermissionFinderImpl.findByA_R(String actionId, long[] resourceIds)
           
static List<Permission> PermissionFinderUtil.findByG_C_N_S_P(long groupId, long companyId, String name, int scope, String primKey)
           
 List<Permission> PermissionFinder.findByG_C_N_S_P(long groupId, long companyId, String name, int scope, String primKey)
           
 List<Permission> PermissionFinderImpl.findByG_C_N_S_P(long groupId, long companyId, String name, int scope, String primKey)
           
static List<Permission> PermissionFinderUtil.findByG_R(long groupId, long resourceId)
           
 List<Permission> PermissionFinder.findByG_R(long groupId, long resourceId)
           
 List<Permission> PermissionFinderImpl.findByG_R(long groupId, long resourceId)
           
static List<Permission> PermissionFinderUtil.findByO_G_R(long organizationId, long groupId, long resourceId)
           
 List<Permission> PermissionFinder.findByO_G_R(long organizationId, long groupId, long resourceId)
           
 List<Permission> PermissionFinderImpl.findByO_G_R(long organizationId, long groupId, long resourceId)
           
static List<Permission> PermissionFinderUtil.findByR_R(long roleId, long resourceId)
           
 List<Permission> PermissionFinder.findByR_R(long roleId, long resourceId)
           
 List<Permission> PermissionFinderImpl.findByR_R(long roleId, long resourceId)
           
static List<Permission> PermissionFinderUtil.findByR_S(long roleId, int[] scopes)
           
 List<Permission> PermissionFinder.findByR_S(long roleId, int[] scopes)
           
 List<Permission> PermissionFinderImpl.findByR_S(long roleId, int[] scopes)
           
static List<Permission> PermissionUtil.findByResourceId(long resourceId)
          Returns all the permissions where resourceId = ?.
 List<Permission> PermissionPersistence.findByResourceId(long resourceId)
          Returns all the permissions where resourceId = ?.
 List<Permission> PermissionPersistenceImpl.findByResourceId(long resourceId)
          Returns 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)
          Returns a range of all the permissions where resourceId = ?.
 List<Permission> PermissionPersistenceImpl.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, OrderByComparator orderByComparator)
          Returns an ordered 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 = ?.
 List<Permission> PermissionPersistenceImpl.findByResourceId(long resourceId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the permissions where resourceId = ?.
static List<Permission> PermissionFinderUtil.findByU_A_R(long userId, String[] actionIds, long resourceId)
           
 List<Permission> PermissionFinder.findByU_A_R(long userId, String[] actionIds, long resourceId)
           
 List<Permission> PermissionFinderImpl.findByU_A_R(long userId, String[] actionIds, long resourceId)
           
static List<Permission> PermissionFinderUtil.findByU_C_N_S_P(long userId, long companyId, String name, int scope, String primKey)
           
 List<Permission> PermissionFinder.findByU_C_N_S_P(long userId, long companyId, String name, int scope, String primKey)
           
 List<Permission> PermissionFinderImpl.findByU_C_N_S_P(long userId, long companyId, String name, int scope, String primKey)
           
static List<Permission> PermissionFinderUtil.findByU_R(long userId, long resourceId)
           
 List<Permission> PermissionFinder.findByU_R(long userId, long resourceId)
           
 List<Permission> PermissionFinderImpl.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> 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.
static List<Permission> RoleUtil.getPermissions(long pk)
          Returns all the permissions associated with the role.
 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.
 List<Permission> GroupPersistence.getPermissions(long pk)
          Returns all the permissions associated with the group.
 List<Permission> UserPersistenceImpl.getPermissions(long pk)
          Returns all the permissions associated with the user.
 List<Permission> RolePersistenceImpl.getPermissions(long pk)
          Returns all the permissions associated with the role.
 List<Permission> GroupPersistenceImpl.getPermissions(long pk)
          Returns 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.
static List<Permission> RoleUtil.getPermissions(long pk, int start, int end)
          Returns a range of all the permissions associated with the role.
 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.
 List<Permission> GroupPersistence.getPermissions(long pk, int start, int end)
          Returns a range of all the permissions associated with the group.
 List<Permission> UserPersistenceImpl.getPermissions(long pk, int start, int end)
          Returns a range of all the permissions associated with the user.
 List<Permission> RolePersistenceImpl.getPermissions(long pk, int start, int end)
          Returns a range of all the permissions associated with the role.
 List<Permission> GroupPersistenceImpl.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, 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.
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> 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.
 List<Permission> GroupPersistence.getPermissions(long pk, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the permissions associated with the group.
 List<Permission> UserPersistenceImpl.getPermissions(long pk, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the permissions associated with the user.
 List<Permission> RolePersistenceImpl.getPermissions(long pk, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the permissions associated with the role.
 List<Permission> GroupPersistenceImpl.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 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.
static void RoleUtil.addPermission(long pk, Permission permission)
          Adds an association between the role 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 GroupPersistence.addPermission(long pk, Permission permission)
          Adds an association between the group and the permission.
 void UserPersistenceImpl.addPermission(long pk, Permission permission)
          Adds an association between the user and the permission.
 void RolePersistenceImpl.addPermission(long pk, Permission permission)
          Adds an association between the role and the permission.
 void GroupPersistenceImpl.addPermission(long pk, Permission permission)
          Adds an association between the group and the permission.
static void PermissionUtil.cacheResult(Permission permission)
          Caches the permission in the entity cache if it is enabled.
 void PermissionPersistence.cacheResult(Permission permission)
          Caches the permission in the entity cache if it is enabled.
 void PermissionPersistenceImpl.cacheResult(Permission permission)
          Caches the permission in the entity cache if it is enabled.
static void PermissionUtil.clearCache(Permission permission)
           
 void PermissionPersistenceImpl.clearCache(Permission permission)
          Clears the cache for the permission.
protected  void PermissionPersistenceImpl.clearUniqueFindersCache(Permission permission)
           
protected  Permission PermissionPersistenceImpl.getByResourceId_PrevAndNext(Session session, Permission permission, long resourceId, OrderByComparator orderByComparator, boolean previous)
           
protected  Permission PermissionPersistenceImpl.removeImpl(Permission 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.
static void RoleUtil.removePermission(long pk, Permission permission)
          Removes the association between the role 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.
 void GroupPersistence.removePermission(long pk, Permission permission)
          Removes the association between the group and the permission.
 void UserPersistenceImpl.removePermission(long pk, Permission permission)
          Removes the association between the user and the permission.
 void RolePersistenceImpl.removePermission(long pk, Permission permission)
          Removes the association between the role and the permission.
 void GroupPersistenceImpl.removePermission(long pk, Permission permission)
          Removes the association between the group and the permission.
protected  Permission PermissionPersistenceImpl.toUnwrappedModel(Permission permission)
           
static Permission PermissionUtil.update(Permission permission, boolean merge)
           
static Permission PermissionUtil.update(Permission permission, boolean merge, ServiceContext serviceContext)
           
static Permission PermissionUtil.updateImpl(Permission permission, boolean merge)
           
 Permission PermissionPersistence.updateImpl(Permission permission, boolean merge)
           
 Permission PermissionPersistenceImpl.updateImpl(Permission permission, boolean merge)
           
 

Method parameters in com.liferay.portal.service.persistence with type arguments of type Permission
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.
static void RoleUtil.addPermissions(long pk, List<Permission> permissions)
          Adds an association between the role 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 GroupPersistence.addPermissions(long pk, List<Permission> permissions)
          Adds an association between the group and the permissions.
 void UserPersistenceImpl.addPermissions(long pk, List<Permission> permissions)
          Adds an association between the user and the permissions.
 void RolePersistenceImpl.addPermissions(long pk, List<Permission> permissions)
          Adds an association between the role and the permissions.
 void GroupPersistenceImpl.addPermissions(long pk, List<Permission> permissions)
          Adds an association between the group and the permissions.
static void PermissionUtil.cacheResult(List<Permission> permissions)
          Caches the permissions in the entity cache if it is enabled.
 void PermissionPersistence.cacheResult(List<Permission> permissions)
          Caches the permissions in the entity cache if it is enabled.
 void PermissionPersistenceImpl.cacheResult(List<Permission> permissions)
          Caches the permissions in the entity cache if it is enabled.
 void PermissionPersistenceImpl.clearCache(List<Permission> permissions)
           
static boolean PermissionFinderUtil.containsPermissions_2(List<Permission> permissions, long userId, List<Group> groups, long groupId)
           
 boolean PermissionFinder.containsPermissions_2(List<Permission> permissions, long userId, List<Group> groups, long groupId)
           
 boolean PermissionFinderImpl.containsPermissions_2(List<Permission> permissions, long userId, List<Group> groups, long groupId)
           
static boolean PermissionFinderUtil.containsPermissions_4(List<Permission> permissions, long userId, List<Group> groups, List<Role> roles)
           
 boolean PermissionFinder.containsPermissions_4(List<Permission> permissions, long userId, List<Group> groups, List<Role> roles)
           
 boolean PermissionFinderImpl.containsPermissions_4(List<Permission> permissions, long userId, List<Group> groups, List<Role> roles)
           
static int PermissionFinderUtil.countByGroupsPermissions(List<Permission> permissions, List<Group> groups)
           
 int PermissionFinder.countByGroupsPermissions(List<Permission> permissions, List<Group> groups)
           
 int PermissionFinderImpl.countByGroupsPermissions(List<Permission> permissions, List<Group> groups)
           
static int PermissionFinderUtil.countByGroupsRoles(List<Permission> permissions, List<Group> groups)
           
 int PermissionFinder.countByGroupsRoles(List<Permission> permissions, List<Group> groups)
           
 int PermissionFinderImpl.countByGroupsRoles(List<Permission> permissions, List<Group> groups)
           
static int PermissionFinderUtil.countByRolesPermissions(List<Permission> permissions, List<Role> roles)
           
 int PermissionFinder.countByRolesPermissions(List<Permission> permissions, List<Role> roles)
           
 int PermissionFinderImpl.countByRolesPermissions(List<Permission> permissions, List<Role> roles)
           
static int PermissionFinderUtil.countByUserGroupRole(List<Permission> permissions, long userId, long groupId)
           
 int PermissionFinder.countByUserGroupRole(List<Permission> permissions, long userId, long groupId)
           
 int PermissionFinderImpl.countByUserGroupRole(List<Permission> permissions, long userId, long groupId)
           
static int PermissionFinderUtil.countByUsersPermissions(List<Permission> permissions, long userId)
           
 int PermissionFinder.countByUsersPermissions(List<Permission> permissions, long userId)
           
 int PermissionFinderImpl.countByUsersPermissions(List<Permission> permissions, long userId)
           
static int PermissionFinderUtil.countByUsersRoles(List<Permission> permissions, long userId)
           
 int PermissionFinder.countByUsersRoles(List<Permission> permissions, long userId)
           
 int PermissionFinderImpl.countByUsersRoles(List<Permission> permissions, long userId)
           
protected  String PermissionFinderImpl.getPermissionIds(List<Permission> permissions, String table)
           
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.
static void RoleUtil.removePermissions(long pk, List<Permission> permissions)
          Removes the association between the role 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.
 void GroupPersistence.removePermissions(long pk, List<Permission> permissions)
          Removes the association between the group and the permissions.
 void UserPersistenceImpl.removePermissions(long pk, List<Permission> permissions)
          Removes the association between the user and the permissions.
 void RolePersistenceImpl.removePermissions(long pk, List<Permission> permissions)
          Removes the association between the role and the permissions.
 void GroupPersistenceImpl.removePermissions(long pk, List<Permission> permissions)
          Removes the association between the group and the permissions.
protected  void PermissionFinderImpl.setPermissionIds(QueryPos qPos, List<Permission> permissions)
           
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.
static void RoleUtil.setPermissions(long pk, List<Permission> permissions)
          Sets the permissions associated with the role, 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.
 void GroupPersistence.setPermissions(long pk, List<Permission> permissions)
          Sets the permissions associated with the group, removing and adding associations as necessary.
 void UserPersistenceImpl.setPermissions(long pk, List<Permission> permissions)
          Sets the permissions associated with the user, removing and adding associations as necessary.
 void RolePersistenceImpl.setPermissions(long pk, List<Permission> permissions)
          Sets the permissions associated with the role, removing and adding associations as necessary.
 void GroupPersistenceImpl.setPermissions(long pk, List<Permission> permissions)
          Sets the permissions associated with the group, removing and adding associations as necessary.
 

Uses of Permission in com.liferay.portal.tools.samplesqlbuilder
 

Methods in com.liferay.portal.tools.samplesqlbuilder that return types with arguments of type Permission
 List<Permission> DataFactory.addPermissions(Resource resource)
           
 

Method parameters in com.liferay.portal.tools.samplesqlbuilder with type arguments of type Permission
 List<KeyValuePair> DataFactory.addRolesPermissions(Resource resource, List<Permission> permissions, Role memberRole)
           
 

Uses of Permission in com.liferay.portal.verify
 

Method parameters in com.liferay.portal.verify with type arguments of type Permission
protected  void VerifyPermission.processPermissions(Resource resource, List<Permission> permissions)
           
 


Liferay 6.1.10-ee-ga1