Liferay 6.0-ee-sp2

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

Packages that use Resource
com.liferay.portal.model   
com.liferay.portal.service   
com.liferay.portal.service.persistence   
com.liferay.portal.util   
 

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.getWrappedResource()
           
 Resource ResourceWrapper.toEscapedModel()
           
 Resource ResourceModel.toEscapedModel()
           
 

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

Methods in com.liferay.portal.model with parameters of type Resource
 int ResourceWrapper.compareTo(Resource resource)
           
 int ResourceModel.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.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.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 ResourceServiceWrapper.getResource(long companyId, String name, int scope, String primKey)
           
static Resource ResourceServiceUtil.getResource(long companyId, String name, int scope, String primKey)
           
 Resource ResourceService.getResource(long companyId, String name, int scope, String primKey)
           
 Resource ResourceLocalServiceWrapper.getResource(long companyId, String name, int scope, String primKey)
           
static Resource ResourceLocalServiceUtil.getResource(long companyId, String name, int scope, String primKey)
           
 Resource ResourceLocalService.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.
 void ResourceLocalServiceWrapper.deleteResource(Resource resource)
          Deletes the resource from the database.
static void ResourceLocalServiceUtil.deleteResource(Resource resource)
          Deletes the resource from the database.
 void 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 PermissionServiceWrapper.hasUserPermissions(long userId, long groupId, List<Resource> resources, String actionId, PermissionCheckerBag permissionCheckerBag)
           
static boolean PermissionServiceUtil.hasUserPermissions(long userId, long groupId, List<Resource> resources, String actionId, PermissionCheckerBag permissionCheckerBag)
           
 boolean PermissionService.hasUserPermissions(long userId, long groupId, List<Resource> resources, String actionId, PermissionCheckerBag permissionCheckerBag)
           
 boolean PermissionLocalServiceWrapper.hasUserPermissions(long userId, long groupId, List<Resource> resources, String actionId, PermissionCheckerBag permissionCheckerBag)
           
static boolean PermissionLocalServiceUtil.hasUserPermissions(long userId, long groupId, List<Resource> resources, String actionId, PermissionCheckerBag permissionCheckerBag)
           
 boolean PermissionLocalService.hasUserPermissions(long userId, long groupId, List<Resource> resources, String actionId, PermissionCheckerBag permissionCheckerBag)
           
 

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.
static Resource ResourceUtil.fetchByC_P(long codeId, String primKey)
          Finds the resource where codeId = ? and primKey = ? or returns null if it could not be found.
 Resource ResourcePersistence.fetchByC_P(long codeId, String primKey)
          Finds 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)
          Finds 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)
          Finds the resource where codeId = ? and primKey = ? or returns null if it could not be found, optionally using the finder cache.
static Resource ResourceUtil.fetchByPrimaryKey(long resourceId)
          Finds the resource with the primary key or returns null if it could not be found.
 Resource ResourcePersistence.fetchByPrimaryKey(long resourceId)
          Finds the resource with the primary key or returns null if it could not be found.
static Resource ResourceUtil.findByC_P(long codeId, String primKey)
          Finds the resource where codeId = ? and primKey = ? or throws a NoSuchResourceException if it could not be found.
 Resource ResourcePersistence.findByC_P(long codeId, String primKey)
          Finds 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)
          Finds the first resource in the ordered set where codeId = ?.
 Resource ResourcePersistence.findByCodeId_First(long codeId, OrderByComparator orderByComparator)
          Finds the first resource in the ordered set where codeId = ?.
static Resource ResourceUtil.findByCodeId_Last(long codeId, OrderByComparator orderByComparator)
          Finds the last resource in the ordered set where codeId = ?.
 Resource ResourcePersistence.findByCodeId_Last(long codeId, OrderByComparator orderByComparator)
          Finds the last resource in the ordered set where codeId = ?.
static Resource[] ResourceUtil.findByCodeId_PrevAndNext(long resourceId, long codeId, OrderByComparator orderByComparator)
          Finds the resources before and after the current resource in the ordered set where codeId = ?.
 Resource[] ResourcePersistence.findByCodeId_PrevAndNext(long resourceId, long codeId, OrderByComparator orderByComparator)
          Finds the resources before and after the current resource in the ordered set where codeId = ?.
static Resource ResourceUtil.findByPrimaryKey(long resourceId)
          Finds the resource with the primary key or throws a NoSuchResourceException if it could not be found.
 Resource ResourcePersistence.findByPrimaryKey(long resourceId)
          Finds the resource with the primary key or throws a NoSuchResourceException if it could not be found.
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.
static Resource ResourceUtil.remove(Resource resource)
           
 Resource ResourcePersistence.remove(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)
           
 

Methods in com.liferay.portal.service.persistence that return types with arguments of type Resource
static List<Resource> ResourceUtil.findAll()
          Finds all the resources.
 List<Resource> ResourcePersistence.findAll()
          Finds all the resources.
static List<Resource> ResourceUtil.findAll(int start, int end)
          Finds a range of all the resources.
 List<Resource> ResourcePersistence.findAll(int start, int end)
          Finds a range of all the resources.
static List<Resource> ResourceUtil.findAll(int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the resources.
 List<Resource> ResourcePersistence.findAll(int start, int end, OrderByComparator orderByComparator)
          Finds 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)
           
static List<Resource> ResourceUtil.findByCodeId(long codeId)
          Finds all the resources where codeId = ?.
 List<Resource> ResourcePersistence.findByCodeId(long codeId)
          Finds all the resources where codeId = ?.
static List<Resource> ResourceUtil.findByCodeId(long codeId, int start, int end)
          Finds a range of all the resources where codeId = ?.
 List<Resource> ResourcePersistence.findByCodeId(long codeId, int start, int end)
          Finds a range of all the resources where codeId = ?.
static List<Resource> ResourceUtil.findByCodeId(long codeId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the resources where codeId = ?.
 List<Resource> ResourcePersistence.findByCodeId(long codeId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the resources where codeId = ?.
static List<Resource> ResourceFinderUtil.findByN_S(String name, int scope)
           
 List<Resource> ResourceFinder.findByN_S(String name, int scope)
           
static List<Resource> ResourceFinderUtil.findByName(String name)
           
 List<Resource> ResourceFinder.findByName(String name)
           
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.
static void ResourceUtil.clearCache(Resource resource)
           
static Resource ResourceUtil.remove(Resource resource)
           
 Resource ResourcePersistence.remove(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)
           
 

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.
 

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)
          Gets the base model instance for the resource.
static BaseModel<?> PortalUtil.getModel(Resource resource)
          Deprecated. PortalUtil.getBaseModel(Resource)
 


Liferay 6.0-ee-sp2