Uses of Interface
com.liferay.portal.kernel.model.Resource
Packages that use Resource
Package
Description
This package defines the portal model interfaces, classes, utilities, wrappers, and annotated types.
This package defines the portal service interfaces and classes.
-
Uses of Resource in com.liferay.portal.kernel.model
Methods in com.liferay.portal.kernel.model that return ResourceConstructors in com.liferay.portal.kernel.model with parameters of type ResourceModifierConstructorDescriptionPermissionDisplay(Permission permission, Resource resource, String portletName, String portletLabel, String modelName, String modelLabel, String actionId, String actionLabel) -
Uses of Resource in com.liferay.portal.kernel.service
Methods in com.liferay.portal.kernel.service that return ResourceModifier and TypeMethodDescriptionResourceLocalService.getResource(long companyId, String name, int scope, String primKey) Returns a new resource with the name and primary key at the scope.static ResourceResourceLocalServiceUtil.getResource(long companyId, String name, int scope, String primKey) Returns a new resource with the name and primary key at the scope.ResourceLocalServiceWrapper.getResource(long companyId, String name, int scope, String primKey) Returns a new resource with the name and primary key at the scope.Method parameters in com.liferay.portal.kernel.service with type arguments of type ResourceModifier and TypeMethodDescriptionbooleanResourcePermissionLocalService.hasResourcePermission(List<Resource> resources, long[] roleIds, String actionId) Returnstrueif the roles have permission at the scope to perform the action on the resources.static booleanResourcePermissionLocalServiceUtil.hasResourcePermission(List<Resource> resources, long[] roleIds, String actionId) Returnstrueif the roles have permission at the scope to perform the action on the resources.booleanResourcePermissionLocalServiceWrapper.hasResourcePermission(List<Resource> resources, long[] roleIds, String actionId) Returnstrueif the roles have permission at the scope to perform the action on the resources.booleanResourceLocalService.hasUserPermissions(long userId, long resourceId, List<Resource> resources, String actionId, long[] roleIds) Returnstrueif the roles have permission to perform the action on the resources.static booleanResourceLocalServiceUtil.hasUserPermissions(long userId, long resourceId, List<Resource> resources, String actionId, long[] roleIds) Returnstrueif the roles have permission to perform the action on the resources.booleanResourceLocalServiceWrapper.hasUserPermissions(long userId, long resourceId, List<Resource> resources, String actionId, long[] roleIds) Returnstrueif the roles have permission to perform the action on the resources.