Package | Description |
---|---|
com.liferay.portal.kernel.service |
This package defines the portal service interfaces and classes.
|
Modifier and Type | Method and Description |
---|---|
void |
ResourcePermissionLocalService.addResourcePermission(long companyId,
String name,
int scope,
String primKey,
long roleId,
String actionId)
Grants the role permission at the scope to perform the action on
resources of the type.
|
PortletPreferences |
PortletPreferencesLocalService.getPreferences(long companyId,
long ownerId,
int ownerType,
long plid,
String portletId) |
PortletPreferences |
PortletPreferencesLocalService.getPreferences(long companyId,
long ownerId,
int ownerType,
long plid,
String portletId,
String defaultPreferences) |
PortletPreferences |
PortletPreferencesLocalService.getPreferences(PortletPreferencesIds portletPreferencesIds) |
void |
ResourcePermissionLocalService.setOwnerResourcePermissions(long companyId,
String name,
int scope,
String primKey,
long roleId,
long ownerId,
String[] actionIds)
Updates the role's permissions at the scope, setting the actions that can
be performed on resources of the type, also setting the owner of any
newly created resource permissions.
|
void |
ResourcePermissionLocalService.setResourcePermissions(long companyId,
String name,
int scope,
String primKey,
long roleId,
String[] actionIds)
Updates the role's permissions at the scope, setting the actions that can
be performed on resources of the type.
|
void |
ResourcePermissionLocalService.setResourcePermissions(long companyId,
String name,
int scope,
String primKey,
Map<Long,String[]> roleIdsToActionIds)
Updates the role's permissions at the scope, setting the actions that can
be performed on resources of the type.
|