Liferay 6.1.2-ce-ga3

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

Packages that use Resource
com.liferay.portal.lar This package defines the portal archiving interfaces, classes, and exceptions. 
com.liferay.portal.model This package defines the portal model interfaces, classes, utilities, wrappers, and annotated types. 
com.liferay.portal.model.impl This package defines the portal model implementation base classes. 
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.base This package defines the portal service local and remote base classes. 
com.liferay.portal.service.http This package defines the HTTP and SOAP portal service utilities. 
com.liferay.portal.service.impl This package defines the portal service local and remote implementations. 
com.liferay.portal.service.persistence This package defines the portal service persistence interfaces, classes, and utilities. 
com.liferay.portal.tools.samplesqlbuilder   
com.liferay.portal.util This package defines the portal utility interfaces and classes. 
com.liferay.portal.verify   
 

Uses of Resource in com.liferay.portal.lar
 

Fields in com.liferay.portal.lar with type parameters of type Resource
protected  Map<String,Resource> LayoutCache.resourcesMap
           
 

Methods in com.liferay.portal.lar that return Resource
protected  Resource LayoutCache.getResource(long companyId, long groupId, String resourceName, int scope, String resourcePrimKey, boolean portletActions)
           
 

Uses of Resource in com.liferay.portal.model
 

Classes in com.liferay.portal.model that implement Resource
 class ResourceWrapper
           This class is a wrapper for Resource.
 

Methods in com.liferay.portal.model that return Resource
 Resource PermissionDisplay.getResource()
           
 Resource ResourceWrapper.getWrappedModel()
           
 Resource ResourceWrapper.getWrappedResource()
          Deprecated. Renamed to ResourceWrapper.getWrappedModel()
 Resource ResourceModel.toEscapedModel()
           
 Resource ResourceWrapper.toEscapedModel()
           
 Resource ResourceModel.toUnescapedModel()
           
 Resource ResourceWrapper.toUnescapedModel()
           
 

Methods in com.liferay.portal.model that return types with arguments of type Resource
 CacheModel<Resource> ResourceModel.toCacheModel()
           
 CacheModel<Resource> ResourceWrapper.toCacheModel()
           
 

Methods in com.liferay.portal.model with parameters of type Resource
 int ResourceModel.compareTo(Resource resource)
           
 int ResourceWrapper.compareTo(Resource resource)
           
static ResourceSoap ResourceSoap.toSoapModel(Resource model)
           
static ResourceSoap[] ResourceSoap.toSoapModels(Resource[] models)
           
static ResourceSoap[][] ResourceSoap.toSoapModels(Resource[][] models)
           
 

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

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

Uses of Resource in com.liferay.portal.model.impl
 

Classes in com.liferay.portal.model.impl that implement Resource
 class ResourceBaseImpl
          The extended model base implementation for the Resource service.
 class ResourceImpl
          Represents a permissionable resource in permissions versions < 6.
 

Methods in com.liferay.portal.model.impl that return Resource
 Resource ResourceCacheModel.toEntityModel()
           
 Resource ResourceModelImpl.toEscapedModel()
           
static Resource ResourceModelImpl.toModel(ResourceSoap soapModel)
          Converts the soap model instance into a normal model instance.
 Resource ResourceModelImpl.toUnescapedModel()
           
 

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

Methods in com.liferay.portal.model.impl with parameters of type Resource
 int ResourceModelImpl.compareTo(Resource resource)
           
 

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

Methods in com.liferay.portal.security.permission that return types with arguments of type Resource
protected  List<Resource> AdvancedPermissionChecker.getResources(long companyId, long groupId, String name, String primKey, String actionId)
          Returns representations of the resource at each scope level.
 

Uses of Resource in com.liferay.portal.service
 

Methods in com.liferay.portal.service that return Resource
 Resource ResourceLocalServiceWrapper.addResource(long companyId, String name, int scope, String primKey)
           
static Resource ResourceLocalServiceUtil.addResource(long companyId, String name, int scope, String primKey)
           
 Resource ResourceLocalService.addResource(long companyId, String name, int scope, String primKey)
           
 Resource ResourceLocalServiceWrapper.addResource(Resource resource)
          Adds the resource to the database.
static Resource ResourceLocalServiceUtil.addResource(Resource resource)
          Adds the resource to the database.
 Resource ResourceLocalService.addResource(Resource resource)
          Adds the resource to the database.
 Resource ResourceLocalServiceWrapper.createResource(long resourceId)
          Creates a new resource with the primary key.
static Resource ResourceLocalServiceUtil.createResource(long resourceId)
          Creates a new resource with the primary key.
 Resource ResourceLocalService.createResource(long resourceId)
          Creates a new resource with the primary key.
 Resource ResourceLocalServiceWrapper.deleteResource(long resourceId)
          Deletes the resource with the primary key from the database.
static Resource ResourceLocalServiceUtil.deleteResource(long resourceId)
          Deletes the resource with the primary key from the database.
 Resource ResourceLocalService.deleteResource(long resourceId)
          Deletes the resource with the primary key from the database.
 Resource ResourceLocalServiceWrapper.deleteResource(Resource resource)
          Deletes the resource from the database.
static Resource ResourceLocalServiceUtil.deleteResource(Resource resource)
          Deletes the resource from the database.
 Resource ResourceLocalService.deleteResource(Resource resource)
          Deletes the resource from the database.
 Resource ResourceLocalServiceWrapper.fetchResource(long resourceId)
           
static Resource ResourceLocalServiceUtil.fetchResource(long resourceId)
           
 Resource ResourceLocalService.fetchResource(long resourceId)
           
 Resource ResourceLocalServiceWrapper.fetchResource(long companyId, String name, int scope, String primKey)
           
static Resource ResourceLocalServiceUtil.fetchResource(long companyId, String name, int scope, String primKey)
           
 Resource ResourceLocalService.fetchResource(long companyId, String name, int scope, String primKey)
           
 Resource ResourceLocalServiceWrapper.getResource(long resourceId)
          Returns the resource with the primary key.
static Resource ResourceLocalServiceUtil.getResource(long resourceId)
          Returns the resource with the primary key.
 Resource ResourceLocalService.getResource(long resourceId)
          Returns the resource with the primary key.
 Resource ResourceService.getResource(long companyId, String name, int scope, String primKey)
           
 Resource ResourceServiceWrapper.getResource(long companyId, String name, int scope, String primKey)
           
 Resource ResourceLocalServiceWrapper.getResource(long companyId, String name, int scope, String primKey)
          Returns a new resource with the name and primary key at the scope.
static Resource ResourceLocalServiceUtil.getResource(long companyId, String name, int scope, String primKey)
          Returns a new resource with the name and primary key at the scope.
 Resource ResourceLocalService.getResource(long companyId, String name, int scope, String primKey)
          Returns a new resource with the name and primary key at the scope.
static Resource ResourceServiceUtil.getResource(long companyId, String name, int scope, String primKey)
           
 Resource ResourceLocalServiceWrapper.updateResource(Resource resource)
          Updates the resource in the database or adds it if it does not yet exist.
static Resource ResourceLocalServiceUtil.updateResource(Resource resource)
          Updates the resource in the database or adds it if it does not yet exist.
 Resource ResourceLocalService.updateResource(Resource resource)
          Updates the resource in the database or adds it if it does not yet exist.
 Resource ResourceLocalServiceWrapper.updateResource(Resource resource, boolean merge)
          Updates the resource in the database or adds it if it does not yet exist.
static Resource ResourceLocalServiceUtil.updateResource(Resource resource, boolean merge)
          Updates the resource in the database or adds it if it does not yet exist.
 Resource ResourceLocalService.updateResource(Resource resource, boolean merge)
          Updates the resource 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 Resource
 List<Resource> ResourceLocalServiceWrapper.getResources()
           
static List<Resource> ResourceLocalServiceUtil.getResources()
           
 List<Resource> ResourceLocalService.getResources()
           
 List<Resource> ResourceLocalServiceWrapper.getResources(int start, int end)
          Returns a range of all the resources.
static List<Resource> ResourceLocalServiceUtil.getResources(int start, int end)
          Returns a range of all the resources.
 List<Resource> ResourceLocalService.getResources(int start, int end)
          Returns a range of all the resources.
 

Methods in com.liferay.portal.service with parameters of type Resource
 Resource ResourceLocalServiceWrapper.addResource(Resource resource)
          Adds the resource to the database.
static Resource ResourceLocalServiceUtil.addResource(Resource resource)
          Adds the resource to the database.
 Resource ResourceLocalService.addResource(Resource resource)
          Adds the resource to the database.
 Resource ResourceLocalServiceWrapper.deleteResource(Resource resource)
          Deletes the resource from the database.
static Resource ResourceLocalServiceUtil.deleteResource(Resource resource)
          Deletes the resource from the database.
 Resource ResourceLocalService.deleteResource(Resource resource)
          Deletes the resource from the database.
 Resource ResourceLocalServiceWrapper.updateResource(Resource resource)
          Updates the resource in the database or adds it if it does not yet exist.
static Resource ResourceLocalServiceUtil.updateResource(Resource resource)
          Updates the resource in the database or adds it if it does not yet exist.
 Resource ResourceLocalService.updateResource(Resource resource)
          Updates the resource in the database or adds it if it does not yet exist.
 Resource ResourceLocalServiceWrapper.updateResource(Resource resource, boolean merge)
          Updates the resource in the database or adds it if it does not yet exist.
static Resource ResourceLocalServiceUtil.updateResource(Resource resource, boolean merge)
          Updates the resource in the database or adds it if it does not yet exist.
 Resource ResourceLocalService.updateResource(Resource resource, boolean merge)
          Updates the resource in the database or adds it if it does not yet exist.
 

Method parameters in com.liferay.portal.service with type arguments of type Resource
 boolean ResourcePermissionLocalService.hasResourcePermission(List<Resource> resources, long[] roleIds, String actionId)
          Returns true if the roles have permission at the scope to perform the action on the resources.
static boolean ResourcePermissionLocalServiceUtil.hasResourcePermission(List<Resource> resources, long[] roleIds, String actionId)
          Returns true if the roles have permission at the scope to perform the action on the resources.
 boolean ResourcePermissionLocalServiceWrapper.hasResourcePermission(List<Resource> resources, long[] roleIds, String actionId)
          Returns true if the roles have permission at the scope to perform the action on the resources.
 boolean PermissionLocalService.hasUserPermissions(long userId, long groupId, List<Resource> resources, String actionId, PermissionCheckerBag permissionCheckerBag)
          Returns true if the user has permission to perform the action on the resources.
 boolean PermissionLocalServiceWrapper.hasUserPermissions(long userId, long groupId, List<Resource> resources, String actionId, PermissionCheckerBag permissionCheckerBag)
          Returns true if the user has permission to perform the action on the resources.
static boolean PermissionServiceUtil.hasUserPermissions(long userId, long groupId, List<Resource> resources, String actionId, PermissionCheckerBag permissionCheckerBag)
          Returns true if the user has permission to perform the action on the resources.
 boolean PermissionService.hasUserPermissions(long userId, long groupId, List<Resource> resources, String actionId, PermissionCheckerBag permissionCheckerBag)
          Returns true if the user has permission to perform the action on the resources.
 boolean PermissionServiceWrapper.hasUserPermissions(long userId, long groupId, List<Resource> resources, String actionId, PermissionCheckerBag permissionCheckerBag)
          Returns true if the user has permission to perform the action on the resources.
static boolean PermissionLocalServiceUtil.hasUserPermissions(long userId, long groupId, List<Resource> resources, String actionId, PermissionCheckerBag permissionCheckerBag)
          Returns true if the user has permission to perform the action on the resources.
 

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

Methods in com.liferay.portal.service.base that return Resource
 Resource ResourceLocalServiceBaseImpl.addResource(Resource resource)
          Adds the resource to the database.
 Resource ResourceLocalServiceBaseImpl.createResource(long resourceId)
          Creates a new resource with the primary key.
 Resource ResourceLocalServiceBaseImpl.deleteResource(long resourceId)
          Deletes the resource with the primary key from the database.
 Resource ResourceLocalServiceBaseImpl.deleteResource(Resource resource)
          Deletes the resource from the database.
 Resource ResourceLocalServiceBaseImpl.fetchResource(long resourceId)
           
 Resource ResourceLocalServiceBaseImpl.getResource(long resourceId)
          Returns the resource with the primary key.
 Resource ResourceLocalServiceBaseImpl.updateResource(Resource resource)
          Updates the resource in the database or adds it if it does not yet exist.
 Resource ResourceLocalServiceBaseImpl.updateResource(Resource resource, boolean merge)
          Updates the resource 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 Resource
 List<Resource> ResourceLocalServiceBaseImpl.getResources(int start, int end)
          Returns a range of all the resources.
 

Methods in com.liferay.portal.service.base with parameters of type Resource
 Resource ResourceLocalServiceBaseImpl.addResource(Resource resource)
          Adds the resource to the database.
 Resource ResourceLocalServiceBaseImpl.deleteResource(Resource resource)
          Deletes the resource from the database.
 Resource ResourceLocalServiceBaseImpl.updateResource(Resource resource)
          Updates the resource in the database or adds it if it does not yet exist.
 Resource ResourceLocalServiceBaseImpl.updateResource(Resource resource, boolean merge)
          Updates the resource in the database or adds it if it does not yet exist.
 

Uses of Resource in com.liferay.portal.service.http
 

Methods in com.liferay.portal.service.http that return Resource
static Resource ResourceServiceHttp.getResource(HttpPrincipal httpPrincipal, long companyId, String name, int scope, String primKey)
           
 

Method parameters in com.liferay.portal.service.http with type arguments of type Resource
static boolean PermissionServiceHttp.hasUserPermissions(HttpPrincipal httpPrincipal, long userId, long groupId, List<Resource> resources, String actionId, PermissionCheckerBag permissionCheckerBag)
           
 

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

Methods in com.liferay.portal.service.impl that return Resource
protected  Resource ResourceLocalServiceImpl.addResource_1to5(long companyId, String name, int scope, String primKey)
           
protected  Resource ResourceLocalServiceImpl.addResource_6(long companyId, String name, int scope, String primKey)
           
 Resource ResourceLocalServiceImpl.addResource(long companyId, String name, int scope, String primKey)
           
 Resource ResourceLocalServiceImpl.deleteResource(long resourceId)
           
 Resource ResourceLocalServiceImpl.deleteResource(Resource resource)
           
protected  Resource ResourceLocalServiceImpl.fetchResource_1to5(long companyId, String name, int scope, String primKey)
           
 Resource ResourceLocalServiceImpl.fetchResource(long companyId, String name, int scope, String primKey)
           
protected  Resource ResourceLocalServiceImpl.getResource_1to5(long companyId, String name, int scope, String primKey)
           
protected  Resource ResourceLocalServiceImpl.getResource_6(long companyId, String name, int scope, String primKey)
           
 Resource ResourceLocalServiceImpl.getResource(long companyId, String name, int scope, String primKey)
          Returns a new resource with the name and primary key at the scope.
 Resource ResourceServiceImpl.getResource(long companyId, String name, int scope, String primKey)
           
 

Methods in com.liferay.portal.service.impl that return types with arguments of type Resource
 List<Resource> ResourceLocalServiceImpl.getResources()
           
 

Methods in com.liferay.portal.service.impl with parameters of type Resource
protected  void ResourceLocalServiceImpl.addGroupPermissions_1to5(long companyId, long groupId, long userId, String name, Resource resource, boolean portletActions, String[] actionIds)
           
protected  void ResourceLocalServiceImpl.addGroupPermissions_6(long groupId, Resource resource, String[] actionIds)
           
protected  void ResourceLocalServiceImpl.addGroupPermissions_6Blocks(long groupId, Resource resource, List<String> actionIds, PermissionedModel permissionedModel)
           
protected  void ResourceLocalServiceImpl.addGroupPermissions(long companyId, long groupId, long userId, String name, Resource resource, boolean portletActions, PermissionedModel permissionedModel)
           
protected  void ResourceLocalServiceImpl.addGuestPermissions_1to5(long companyId, long groupId, long userId, String name, Resource resource, boolean portletActions, String[] actionIds)
           
protected  void ResourceLocalServiceImpl.addGuestPermissions_6(long companyId, Resource resource, String[] actionIds)
           
protected  void ResourceLocalServiceImpl.addGuestPermissions_6Blocks(long companyId, long groupId, Resource resource, List<String> actionIds, PermissionedModel permissionedModel)
           
protected  void ResourceLocalServiceImpl.addGuestPermissions(long companyId, long groupId, long userId, String name, Resource resource, boolean portletActions, PermissionedModel permissionedModel)
           
protected  void ResourceLocalServiceImpl.addModelResources_1to5(long companyId, long groupId, long userId, Resource resource, String[] groupPermissions, String[] guestPermissions)
           
protected  void ResourceLocalServiceImpl.addModelResources_6(long companyId, long groupId, long userId, Resource resource, String[] groupPermissions, String[] guestPermissions, PermissionedModel permissionedModel)
           
protected  void ResourceLocalServiceImpl.addResources_1to5(long companyId, long groupId, long userId, Resource resource, boolean portletActions)
           
protected  void ResourceLocalServiceImpl.addResources_6(long companyId, long groupId, long userId, Resource resource, boolean portletActions, PermissionedModel permissionedModel)
           
 Resource ResourceLocalServiceImpl.deleteResource(Resource resource)
           
protected  void ResourceLocalServiceImpl.updateResources_1to5(long companyId, long groupId, Resource resource, String[] groupPermissions, String[] guestPermissions)
           
protected  void ResourceLocalServiceImpl.updateResources_6(long companyId, long groupId, Resource resource, String[] groupPermissions, String[] guestPermissions)
           
protected  void ResourceLocalServiceImpl.updateResources_6Blocks(long companyId, long groupId, Resource resource, String[] groupPermissions, String[] guestPermissions, PermissionedModel permissionedModel)
           
 

Method parameters in com.liferay.portal.service.impl with type arguments of type Resource
 boolean ResourcePermissionLocalServiceImpl.hasResourcePermission(List<Resource> resources, long[] roleIds, String actionId)
          Returns true if the roles have permission at the scope to perform the action on the resources.
protected  boolean PermissionLocalServiceImpl.hasUserPermissions_6(long userId, long resourceId, List<Resource> resources, String actionId, long[] roleIds, org.apache.commons.lang.time.StopWatch stopWatch, int block)
           
 boolean PermissionServiceImpl.hasUserPermissions(long userId, long groupId, List<Resource> resources, String actionId, PermissionCheckerBag permissionCheckerBag)
          Returns true if the user has permission to perform the action on the resources.
 boolean PermissionLocalServiceImpl.hasUserPermissions(long userId, long groupId, List<Resource> resources, String actionId, PermissionCheckerBag permissionCheckerBag)
          Returns true if the user has permission to perform the action on the resources.
 

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

Methods in com.liferay.portal.service.persistence that return Resource
static Resource ResourceUtil.create(long resourceId)
          Creates a new resource with the primary key.
 Resource ResourcePersistence.create(long resourceId)
          Creates a new resource with the primary key.
 Resource ResourcePersistenceImpl.create(long resourceId)
          Creates a new resource with the primary key.
static Resource ResourceUtil.fetchByC_P(long codeId, String primKey)
          Returns the resource where codeId = ? and primKey = ? or returns null if it could not be found.
 Resource ResourcePersistence.fetchByC_P(long codeId, String primKey)
          Returns the resource where codeId = ? and primKey = ? or returns null if it could not be found.
 Resource ResourcePersistenceImpl.fetchByC_P(long codeId, String primKey)
          Returns the resource where codeId = ? and primKey = ? or returns null if it could not be found.
static Resource ResourceUtil.fetchByC_P(long codeId, String primKey, boolean retrieveFromCache)
          Returns the resource where codeId = ? and primKey = ? or returns null if it could not be found, optionally using the finder cache.
 Resource ResourcePersistence.fetchByC_P(long codeId, String primKey, boolean retrieveFromCache)
          Returns the resource where codeId = ? and primKey = ? or returns null if it could not be found, optionally using the finder cache.
 Resource ResourcePersistenceImpl.fetchByC_P(long codeId, String primKey, boolean retrieveFromCache)
          Returns the resource where codeId = ? and primKey = ? or returns null if it could not be found, optionally using the finder cache.
static Resource ResourceUtil.fetchByCodeId_First(long codeId, OrderByComparator orderByComparator)
          Returns the first resource in the ordered set where codeId = ?.
 Resource ResourcePersistence.fetchByCodeId_First(long codeId, OrderByComparator orderByComparator)
          Returns the first resource in the ordered set where codeId = ?.
 Resource ResourcePersistenceImpl.fetchByCodeId_First(long codeId, OrderByComparator orderByComparator)
          Returns the first resource in the ordered set where codeId = ?.
static Resource ResourceUtil.fetchByCodeId_Last(long codeId, OrderByComparator orderByComparator)
          Returns the last resource in the ordered set where codeId = ?.
 Resource ResourcePersistence.fetchByCodeId_Last(long codeId, OrderByComparator orderByComparator)
          Returns the last resource in the ordered set where codeId = ?.
 Resource ResourcePersistenceImpl.fetchByCodeId_Last(long codeId, OrderByComparator orderByComparator)
          Returns the last resource in the ordered set where codeId = ?.
static Resource ResourceUtil.fetchByPrimaryKey(long resourceId)
          Returns the resource with the primary key or returns null if it could not be found.
 Resource ResourcePersistence.fetchByPrimaryKey(long resourceId)
          Returns the resource with the primary key or returns null if it could not be found.
 Resource ResourcePersistenceImpl.fetchByPrimaryKey(long resourceId)
          Returns the resource with the primary key or returns null if it could not be found.
 Resource ResourcePersistenceImpl.fetchByPrimaryKey(Serializable primaryKey)
          Returns the resource with the primary key or returns null if it could not be found.
static Resource ResourceUtil.fetchByPrimKey_First(String primKey, OrderByComparator orderByComparator)
          Returns the first resource in the ordered set where primKey = ?.
 Resource ResourcePersistence.fetchByPrimKey_First(String primKey, OrderByComparator orderByComparator)
          Returns the first resource in the ordered set where primKey = ?.
 Resource ResourcePersistenceImpl.fetchByPrimKey_First(String primKey, OrderByComparator orderByComparator)
          Returns the first resource in the ordered set where primKey = ?.
static Resource ResourceUtil.fetchByPrimKey_Last(String primKey, OrderByComparator orderByComparator)
          Returns the last resource in the ordered set where primKey = ?.
 Resource ResourcePersistence.fetchByPrimKey_Last(String primKey, OrderByComparator orderByComparator)
          Returns the last resource in the ordered set where primKey = ?.
 Resource ResourcePersistenceImpl.fetchByPrimKey_Last(String primKey, OrderByComparator orderByComparator)
          Returns the last resource in the ordered set where primKey = ?.
static Resource ResourceUtil.findByC_P(long codeId, String primKey)
          Returns the resource where codeId = ? and primKey = ? or throws a NoSuchResourceException if it could not be found.
 Resource ResourcePersistence.findByC_P(long codeId, String primKey)
          Returns the resource where codeId = ? and primKey = ? or throws a NoSuchResourceException if it could not be found.
 Resource ResourcePersistenceImpl.findByC_P(long codeId, String primKey)
          Returns the resource where codeId = ? and primKey = ? or throws a NoSuchResourceException if it could not be found.
static Resource ResourceUtil.findByCodeId_First(long codeId, OrderByComparator orderByComparator)
          Returns the first resource in the ordered set where codeId = ?.
 Resource ResourcePersistence.findByCodeId_First(long codeId, OrderByComparator orderByComparator)
          Returns the first resource in the ordered set where codeId = ?.
 Resource ResourcePersistenceImpl.findByCodeId_First(long codeId, OrderByComparator orderByComparator)
          Returns the first resource in the ordered set where codeId = ?.
static Resource ResourceUtil.findByCodeId_Last(long codeId, OrderByComparator orderByComparator)
          Returns the last resource in the ordered set where codeId = ?.
 Resource ResourcePersistence.findByCodeId_Last(long codeId, OrderByComparator orderByComparator)
          Returns the last resource in the ordered set where codeId = ?.
 Resource ResourcePersistenceImpl.findByCodeId_Last(long codeId, OrderByComparator orderByComparator)
          Returns the last resource in the ordered set where codeId = ?.
static Resource[] ResourceUtil.findByCodeId_PrevAndNext(long resourceId, long codeId, OrderByComparator orderByComparator)
          Returns the resources before and after the current resource in the ordered set where codeId = ?.
 Resource[] ResourcePersistence.findByCodeId_PrevAndNext(long resourceId, long codeId, OrderByComparator orderByComparator)
          Returns the resources before and after the current resource in the ordered set where codeId = ?.
 Resource[] ResourcePersistenceImpl.findByCodeId_PrevAndNext(long resourceId, long codeId, OrderByComparator orderByComparator)
          Returns the resources before and after the current resource in the ordered set where codeId = ?.
static Resource ResourceUtil.findByPrimaryKey(long resourceId)
          Returns the resource with the primary key or throws a NoSuchResourceException if it could not be found.
 Resource ResourcePersistence.findByPrimaryKey(long resourceId)
          Returns the resource with the primary key or throws a NoSuchResourceException if it could not be found.
 Resource ResourcePersistenceImpl.findByPrimaryKey(long resourceId)
          Returns the resource with the primary key or throws a NoSuchResourceException if it could not be found.
 Resource ResourcePersistenceImpl.findByPrimaryKey(Serializable primaryKey)
          Returns the resource with the primary key or throws a NoSuchModelException if it could not be found.
static Resource ResourceUtil.findByPrimKey_First(String primKey, OrderByComparator orderByComparator)
          Returns the first resource in the ordered set where primKey = ?.
 Resource ResourcePersistence.findByPrimKey_First(String primKey, OrderByComparator orderByComparator)
          Returns the first resource in the ordered set where primKey = ?.
 Resource ResourcePersistenceImpl.findByPrimKey_First(String primKey, OrderByComparator orderByComparator)
          Returns the first resource in the ordered set where primKey = ?.
static Resource ResourceUtil.findByPrimKey_Last(String primKey, OrderByComparator orderByComparator)
          Returns the last resource in the ordered set where primKey = ?.
 Resource ResourcePersistence.findByPrimKey_Last(String primKey, OrderByComparator orderByComparator)
          Returns the last resource in the ordered set where primKey = ?.
 Resource ResourcePersistenceImpl.findByPrimKey_Last(String primKey, OrderByComparator orderByComparator)
          Returns the last resource in the ordered set where primKey = ?.
static Resource[] ResourceUtil.findByPrimKey_PrevAndNext(long resourceId, String primKey, OrderByComparator orderByComparator)
          Returns the resources before and after the current resource in the ordered set where primKey = ?.
 Resource[] ResourcePersistence.findByPrimKey_PrevAndNext(long resourceId, String primKey, OrderByComparator orderByComparator)
          Returns the resources before and after the current resource in the ordered set where primKey = ?.
 Resource[] ResourcePersistenceImpl.findByPrimKey_PrevAndNext(long resourceId, String primKey, OrderByComparator orderByComparator)
          Returns the resources before and after the current resource in the ordered set where primKey = ?.
protected  Resource ResourcePersistenceImpl.getByCodeId_PrevAndNext(Session session, Resource resource, long codeId, OrderByComparator orderByComparator, boolean previous)
           
protected  Resource ResourcePersistenceImpl.getByPrimKey_PrevAndNext(Session session, Resource resource, String primKey, OrderByComparator orderByComparator, boolean previous)
           
static Resource ResourceUtil.remove(long resourceId)
          Removes the resource with the primary key from the database.
 Resource ResourcePersistence.remove(long resourceId)
          Removes the resource with the primary key from the database.
 Resource ResourcePersistenceImpl.remove(long resourceId)
          Removes the resource with the primary key from the database.
 Resource ResourcePersistenceImpl.remove(Serializable primaryKey)
          Removes the resource with the primary key from the database.
static Resource ResourceUtil.removeByC_P(long codeId, String primKey)
          Removes the resource where codeId = ? and primKey = ? from the database.
 Resource ResourcePersistence.removeByC_P(long codeId, String primKey)
          Removes the resource where codeId = ? and primKey = ? from the database.
 Resource ResourcePersistenceImpl.removeByC_P(long codeId, String primKey)
          Removes the resource where codeId = ? and primKey = ? from the database.
protected  Resource ResourcePersistenceImpl.removeImpl(Resource resource)
           
protected  Resource ResourcePersistenceImpl.toUnwrappedModel(Resource resource)
           
static Resource ResourceUtil.update(Resource resource, boolean merge)
           
static Resource ResourceUtil.update(Resource resource, boolean merge, ServiceContext serviceContext)
           
static Resource ResourceUtil.updateImpl(Resource resource, boolean merge)
           
 Resource ResourcePersistence.updateImpl(Resource resource, boolean merge)
           
 Resource ResourcePersistenceImpl.updateImpl(Resource resource, boolean merge)
           
 

Methods in com.liferay.portal.service.persistence that return types with arguments of type Resource
static List<Resource> ResourceUtil.findAll()
          Returns all the resources.
 List<Resource> ResourcePersistence.findAll()
          Returns all the resources.
 List<Resource> ResourcePersistenceImpl.findAll()
          Returns all the resources.
static List<Resource> ResourceUtil.findAll(int start, int end)
          Returns a range of all the resources.
 List<Resource> ResourcePersistence.findAll(int start, int end)
          Returns a range of all the resources.
 List<Resource> ResourcePersistenceImpl.findAll(int start, int end)
          Returns a range of all the resources.
static List<Resource> ResourceUtil.findAll(int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the resources.
 List<Resource> ResourcePersistence.findAll(int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the resources.
 List<Resource> ResourcePersistenceImpl.findAll(int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the resources.
static List<Resource> ResourceFinderUtil.findByC_P(long companyId, String primKey)
           
 List<Resource> ResourceFinder.findByC_P(long companyId, String primKey)
           
 List<Resource> ResourceFinderImpl.findByC_P(long companyId, String primKey)
           
static List<Resource> ResourceUtil.findByCodeId(long codeId)
          Returns all the resources where codeId = ?.
 List<Resource> ResourcePersistence.findByCodeId(long codeId)
          Returns all the resources where codeId = ?.
 List<Resource> ResourcePersistenceImpl.findByCodeId(long codeId)
          Returns all the resources where codeId = ?.
static List<Resource> ResourceUtil.findByCodeId(long codeId, int start, int end)
          Returns a range of all the resources where codeId = ?.
 List<Resource> ResourcePersistence.findByCodeId(long codeId, int start, int end)
          Returns a range of all the resources where codeId = ?.
 List<Resource> ResourcePersistenceImpl.findByCodeId(long codeId, int start, int end)
          Returns a range of all the resources where codeId = ?.
static List<Resource> ResourceUtil.findByCodeId(long codeId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the resources where codeId = ?.
 List<Resource> ResourcePersistence.findByCodeId(long codeId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the resources where codeId = ?.
 List<Resource> ResourcePersistenceImpl.findByCodeId(long codeId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the resources where codeId = ?.
static List<Resource> ResourceFinderUtil.findByContainerResource(long codeId, long classNameId)
           
 List<Resource> ResourceFinder.findByContainerResource(long codeId, long classNameId)
           
 List<Resource> ResourceFinderImpl.findByContainerResource(long codeId, long classNameId)
           
static List<Resource> ResourceFinderUtil.findByN_S(String name, int scope)
           
 List<Resource> ResourceFinder.findByN_S(String name, int scope)
           
 List<Resource> ResourceFinderImpl.findByN_S(String name, int scope)
           
static List<Resource> ResourceFinderUtil.findByName(String name)
           
 List<Resource> ResourceFinder.findByName(String name)
           
 List<Resource> ResourceFinderImpl.findByName(String name)
           
static List<Resource> ResourceFinderUtil.findByNoActions(long codeId, String actionId)
           
 List<Resource> ResourceFinder.findByNoActions(long codeId, String actionId)
           
 List<Resource> ResourceFinderImpl.findByNoActions(long codeId, String actionId)
           
static List<Resource> ResourceUtil.findByPrimKey(String primKey)
          Returns all the resources where primKey = ?.
 List<Resource> ResourcePersistence.findByPrimKey(String primKey)
          Returns all the resources where primKey = ?.
 List<Resource> ResourcePersistenceImpl.findByPrimKey(String primKey)
          Returns all the resources where primKey = ?.
static List<Resource> ResourceUtil.findByPrimKey(String primKey, int start, int end)
          Returns a range of all the resources where primKey = ?.
 List<Resource> ResourcePersistence.findByPrimKey(String primKey, int start, int end)
          Returns a range of all the resources where primKey = ?.
 List<Resource> ResourcePersistenceImpl.findByPrimKey(String primKey, int start, int end)
          Returns a range of all the resources where primKey = ?.
static List<Resource> ResourceUtil.findByPrimKey(String primKey, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the resources where primKey = ?.
 List<Resource> ResourcePersistence.findByPrimKey(String primKey, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the resources where primKey = ?.
 List<Resource> ResourcePersistenceImpl.findByPrimKey(String primKey, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the resources where primKey = ?.
static List<Resource> ResourceUtil.findWithDynamicQuery(DynamicQuery dynamicQuery)
           
static List<Resource> ResourceUtil.findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
static List<Resource> ResourceUtil.findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
 

Methods in com.liferay.portal.service.persistence with parameters of type Resource
static void ResourceUtil.cacheResult(Resource resource)
          Caches the resource in the entity cache if it is enabled.
 void ResourcePersistence.cacheResult(Resource resource)
          Caches the resource in the entity cache if it is enabled.
 void ResourcePersistenceImpl.cacheResult(Resource resource)
          Caches the resource in the entity cache if it is enabled.
protected  void ResourcePersistenceImpl.cacheUniqueFindersCache(Resource resource)
           
static void ResourceUtil.clearCache(Resource resource)
           
 void ResourcePersistenceImpl.clearCache(Resource resource)
          Clears the cache for the resource.
protected  void ResourcePersistenceImpl.clearUniqueFindersCache(Resource resource)
           
protected  Resource ResourcePersistenceImpl.getByCodeId_PrevAndNext(Session session, Resource resource, long codeId, OrderByComparator orderByComparator, boolean previous)
           
protected  Resource ResourcePersistenceImpl.getByPrimKey_PrevAndNext(Session session, Resource resource, String primKey, OrderByComparator orderByComparator, boolean previous)
           
protected  Resource ResourcePersistenceImpl.removeImpl(Resource resource)
           
protected  Resource ResourcePersistenceImpl.toUnwrappedModel(Resource resource)
           
static Resource ResourceUtil.update(Resource resource, boolean merge)
           
static Resource ResourceUtil.update(Resource resource, boolean merge, ServiceContext serviceContext)
           
static Resource ResourceUtil.updateImpl(Resource resource, boolean merge)
           
 Resource ResourcePersistence.updateImpl(Resource resource, boolean merge)
           
 Resource ResourcePersistenceImpl.updateImpl(Resource resource, boolean merge)
           
 

Method parameters in com.liferay.portal.service.persistence with type arguments of type Resource
static void ResourceUtil.cacheResult(List<Resource> resources)
          Caches the resources in the entity cache if it is enabled.
 void ResourcePersistence.cacheResult(List<Resource> resources)
          Caches the resources in the entity cache if it is enabled.
 void ResourcePersistenceImpl.cacheResult(List<Resource> resources)
          Caches the resources in the entity cache if it is enabled.
 void ResourcePersistenceImpl.clearCache(List<Resource> resources)
           
 

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

Methods in com.liferay.portal.tools.samplesqlbuilder that return Resource
 Resource DataFactory.addResource(String name, String primKey)
           
 

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

Uses of Resource in com.liferay.portal.util
 

Methods in com.liferay.portal.util with parameters of type Resource
static BaseModel<?> PortalUtil.getBaseModel(Resource resource)
           
 BaseModel<?> Portal.getBaseModel(Resource resource)
          Returns the base model instance for the resource.
 BaseModel<?> PortalImpl.getBaseModel(Resource resource)
           
static BaseModel<?> PortalUtil.getModel(Resource resource)
          Deprecated. PortalUtil.getBaseModel(Resource)
 

Uses of Resource in com.liferay.portal.verify
 

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


Liferay 6.1.2-ce-ga3