Package | Description |
---|---|
com.liferay.portal.kernel.model |
This package defines the portal model interfaces, classes, utilities, wrappers, and annotated types.
|
com.liferay.portal.kernel.service |
This package defines the portal service interfaces and classes.
|
Modifier and Type | Method and Description |
---|---|
Resource |
PermissionDisplay.getResource() |
Constructor and Description |
---|
PermissionDisplay(Permission permission,
Resource resource,
String portletName,
String portletLabel,
String modelName,
String modelLabel,
String actionId,
String actionLabel) |
Modifier and Type | Method and Description |
---|---|
Resource |
ResourceLocalServiceWrapper.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 |
ResourceLocalServiceUtil.getResource(long companyId,
String name,
int scope,
String primKey)
Returns a new resource with the name and primary key at the scope.
|
Modifier and Type | Method and Description |
---|---|
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. |
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. |
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 |
ResourceLocalServiceWrapper.hasUserPermissions(long userId,
long resourceId,
List<Resource> resources,
String actionId,
long[] roleIds)
Returns
true if the roles have permission to perform the
action on the resources. |
boolean |
ResourceLocalService.hasUserPermissions(long userId,
long resourceId,
List<Resource> resources,
String actionId,
long[] roleIds)
Returns
true if the roles have permission to perform the
action on the resources. |
static boolean |
ResourceLocalServiceUtil.hasUserPermissions(long userId,
long resourceId,
List<Resource> resources,
String actionId,
long[] roleIds)
Returns
true if the roles have permission to perform the
action on the resources. |