public class PermissionServiceImpl extends PermissionServiceBaseImpl
counterLocalService, permissionService
Constructor and Description |
---|
PermissionServiceImpl() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkBaseModelPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long groupId,
String className,
long classPK) |
void |
checkPermission(long groupId,
String name,
long primKey)
Checks to see if the group has permission to the service.
|
void |
checkPermission(long groupId,
String name,
String primKey)
Checks to see if the group has permission to the service.
|
protected void |
checkPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long groupId,
String name,
String primKey) |
afterPropertiesSet, destroy, getCounterLocalService, getOSGiServiceIdentifier, getPermissionService, runSQL, setCounterLocalService, setPermissionService
@JSONWebService(mode=IGNORE) @Transactional(readOnly=true) public void checkPermission(long groupId, String name, long primKey) throws com.liferay.portal.kernel.exception.PortalException
groupId
- the primary key of the groupname
- the service nameprimKey
- the primary key of the servicecom.liferay.portal.kernel.exception.PortalException
@Transactional(readOnly=true) public void checkPermission(long groupId, String name, String primKey) throws com.liferay.portal.kernel.exception.PortalException
groupId
- the primary key of the groupname
- the service nameprimKey
- the primary key of the servicecom.liferay.portal.kernel.exception.PortalException
protected boolean checkBaseModelPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, long groupId, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void checkPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, long groupId, String name, String primKey) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException