|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Resource | |
---|---|
com.liferay.portal.model | This package defines the portal model interfaces, classes, utilities, wrappers, and annotated types. |
com.liferay.portal.service | This package defines the portal service interfaces and classes. |
com.liferay.portal.service.persistence | This package defines the portal service persistence interfaces, classes, and utilities. |
com.liferay.portal.util | This package defines the portal utility interfaces and classes. |
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.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.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)
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. |
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. |
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 = ?. |
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 = ?. |
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. |
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 = ?. |
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 = ?. |
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. |
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 = ?. |
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 = ?. |
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 = ?. |
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. |
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 = ?. |
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 = ?. |
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 = ?. |
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.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. |
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()
Returns all the resources. |
List<Resource> |
ResourcePersistence.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. |
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. |
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)
Returns all the resources where codeId = ?. |
List<Resource> |
ResourcePersistence.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 = ?. |
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 = ?. |
static List<Resource> |
ResourceFinderUtil.findByContainerResource(long codeId,
long classNameId)
|
List<Resource> |
ResourceFinder.findByContainerResource(long codeId,
long classNameId)
|
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> |
ResourceFinderUtil.findByNoActions(long codeId,
String actionId)
|
List<Resource> |
ResourceFinder.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 = ?. |
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 = ?. |
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 = ?. |
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.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)
Returns the base model instance for the resource. |
static BaseModel<?> |
PortalUtil.getModel(Resource resource)
Deprecated. PortalUtil.getBaseModel(Resource) |
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV NEXT | FRAMES NO FRAMES |