public class PermissionServiceUtil
extends Object
com.liferay.portal.service.impl.PermissionServiceImpl and is an
access point for service operations in application layer code running on a
remote server. Methods of this service are expected to have security checks
based on the propagated JAAS credentials because this service can be
accessed remotely.PermissionService| Constructor and Description |
|---|
PermissionServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkPermission(long groupId,
String name,
long primKey)
Checks to see if the group has permission to the service.
|
static void |
checkPermission(long groupId,
String name,
String primKey)
Checks to see if the group has permission to the service.
|
static String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static PermissionService |
getService() |
public static void checkPermission(long groupId,
String name,
long primKey)
throws PortalException
groupId - the primary key of the groupname - the service nameprimKey - the primary key of the servicePortalExceptionpublic static void checkPermission(long groupId,
String name,
String primKey)
throws PortalException
groupId - the primary key of the groupname - the service nameprimKey - the primary key of the servicePortalExceptionpublic static String getOSGiServiceIdentifier()
public static PermissionService getService()