com.liferay.portal.service.impl
Class PermissionServiceImpl
java.lang.Object
com.liferay.portal.service.BaseServiceImpl
com.liferay.portal.service.base.PermissionServiceBaseImpl
com.liferay.portal.service.impl.PermissionServiceImpl
- All Implemented Interfaces:
- IdentifiableOSGiService, BaseService, PermissionService
public class PermissionServiceImpl
- extends PermissionServiceBaseImpl
Provides the remote service for checking permissions.
| Fields inherited from class com.liferay.portal.service.base.PermissionServiceBaseImpl |
counterLocalService, permissionService, resourceBlockFinder, resourceBlockLocalService, resourceBlockPersistence, resourceBlockService, resourcePermissionFinder, resourcePermissionLocalService, resourcePermissionPersistence, resourcePermissionService, roleFinder, roleLocalService, rolePersistence, roleService, teamFinder, teamLocalService, teamPersistence, teamService, userFinder, userLocalService, userPersistence, userService |
|
Method Summary |
void |
afterPropertiesSet()
|
protected boolean |
checkBaseModelPermission(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(PermissionChecker permissionChecker,
long groupId,
String name,
String primKey)
|
| Methods inherited from class com.liferay.portal.service.base.PermissionServiceBaseImpl |
destroy, getCounterLocalService, getOSGiServiceIdentifier, getPermissionService, getResourceBlockFinder, getResourceBlockLocalService, getResourceBlockPersistence, getResourceBlockService, getResourcePermissionFinder, getResourcePermissionLocalService, getResourcePermissionPersistence, getResourcePermissionService, getRoleFinder, getRoleLocalService, getRolePersistence, getRoleService, getTeamFinder, getTeamLocalService, getTeamPersistence, getTeamService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setCounterLocalService, setPermissionService, setResourceBlockFinder, setResourceBlockLocalService, setResourceBlockPersistence, setResourceBlockService, setResourcePermissionFinder, setResourcePermissionLocalService, setResourcePermissionPersistence, setResourcePermissionService, setRoleFinder, setRoleLocalService, setRolePersistence, setRoleService, setTeamFinder, setTeamLocalService, setTeamPersistence, setTeamService, setUserFinder, setUserLocalService, setUserPersistence, setUserService |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PermissionServiceImpl
public PermissionServiceImpl()
afterPropertiesSet
public void afterPropertiesSet()
- Overrides:
afterPropertiesSet in class PermissionServiceBaseImpl
checkPermission
@JSONWebService(mode=IGNORE)
public void checkPermission(long groupId,
String name,
long primKey)
throws PortalException
- Checks to see if the group has permission to the service.
- Parameters:
groupId - the primary key of the groupname - the service nameprimKey - the primary key of the service
- Throws:
PortalException
checkPermission
public void checkPermission(long groupId,
String name,
String primKey)
throws PortalException
- Checks to see if the group has permission to the service.
- Parameters:
groupId - the primary key of the groupname - the service nameprimKey - the primary key of the service
- Throws:
PortalException
checkBaseModelPermission
protected boolean checkBaseModelPermission(PermissionChecker permissionChecker,
long groupId,
String className,
long classPK)
throws PortalException
- Throws:
PortalException
checkPermission
protected void checkPermission(PermissionChecker permissionChecker,
long groupId,
String name,
String primKey)
throws PortalException
- Throws:
PortalException