| com.liferay.portal.service.PermissionService
All known Subclasses: com.liferay.portal.service.base.PermissionServiceBaseImpl,
PermissionService | public interface PermissionService (Code) | | View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.portal.service.impl.PermissionServiceImpl .
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
author: Brian Wing Shun Chan See Also: com.liferay.portal.service.PermissionServiceFactory See Also: com.liferay.portal.service.PermissionServiceUtil |
Method Summary | |
public void | checkPermission(long groupId, java.lang.String name, java.lang.String primKey) | public boolean | hasGroupPermission(long groupId, java.lang.String actionId, long resourceId) | public boolean | hasUserPermission(long userId, java.lang.String actionId, long resourceId) | public boolean | hasUserPermissions(long userId, long groupId, java.lang.String actionId, long[] resourceIds, com.liferay.portal.kernel.security.permission.PermissionCheckerBag permissionCheckerBag) | public void | setGroupPermissions(long groupId, java.lang.String[] actionIds, long resourceId) | public void | setGroupPermissions(java.lang.String className, java.lang.String classPK, long groupId, java.lang.String[] actionIds, long resourceId) | public void | setOrgGroupPermissions(long organizationId, long groupId, java.lang.String[] actionIds, long resourceId) | public void | setRolePermission(long roleId, long groupId, java.lang.String name, int scope, java.lang.String primKey, java.lang.String actionId) | public void | setRolePermissions(long roleId, long groupId, java.lang.String[] actionIds, long resourceId) | public void | setUserPermissions(long userId, long groupId, java.lang.String[] actionIds, long resourceId) | public void | unsetRolePermission(long roleId, long groupId, long permissionId) | public void | unsetRolePermission(long roleId, long groupId, java.lang.String name, int scope, java.lang.String primKey, java.lang.String actionId) | public void | unsetRolePermissions(long roleId, long groupId, java.lang.String name, int scope, java.lang.String actionId) | public void | unsetUserPermissions(long userId, long groupId, java.lang.String[] actionIds, long resourceId) |
|
|