com.liferay.portal.service
Class PermissionServiceWrapper
java.lang.Object
com.liferay.portal.service.PermissionServiceWrapper
- All Implemented Interfaces:
- PermissionService
public class PermissionServiceWrapper
- extends Object
- implements PermissionService
This class is a wrapper for PermissionService
.
- See Also:
PermissionService
- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
Method Summary |
void |
checkPermission(long groupId,
long resourceId)
|
void |
checkPermission(long groupId,
String name,
long primKey)
|
void |
checkPermission(long groupId,
String name,
String primKey)
|
PermissionService |
getWrappedPermissionService()
|
boolean |
hasGroupPermission(long groupId,
String actionId,
long resourceId)
|
boolean |
hasUserPermission(long userId,
String actionId,
long resourceId)
|
boolean |
hasUserPermissions(long userId,
long groupId,
List<Resource> resources,
String actionId,
PermissionCheckerBag permissionCheckerBag)
|
void |
setGroupPermissions(long groupId,
String[] actionIds,
long resourceId)
|
void |
setGroupPermissions(String className,
String classPK,
long groupId,
String[] actionIds,
long resourceId)
|
void |
setOrgGroupPermissions(long organizationId,
long groupId,
String[] actionIds,
long resourceId)
|
void |
setRolePermission(long roleId,
long groupId,
String name,
int scope,
String primKey,
String actionId)
|
void |
setRolePermissions(long roleId,
long groupId,
String[] actionIds,
long resourceId)
|
void |
setUserPermissions(long userId,
long groupId,
String[] actionIds,
long resourceId)
|
void |
unsetRolePermission(long roleId,
long groupId,
long permissionId)
|
void |
unsetRolePermission(long roleId,
long groupId,
String name,
int scope,
String primKey,
String actionId)
|
void |
unsetRolePermissions(long roleId,
long groupId,
String name,
int scope,
String actionId)
|
void |
unsetUserPermissions(long userId,
long groupId,
String[] actionIds,
long resourceId)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PermissionServiceWrapper
public PermissionServiceWrapper(PermissionService permissionService)
checkPermission
public void checkPermission(long groupId,
long resourceId)
throws PortalException,
SystemException
- Specified by:
checkPermission
in interface PermissionService
- Throws:
PortalException
SystemException
checkPermission
public void checkPermission(long groupId,
String name,
long primKey)
throws PortalException,
SystemException
- Specified by:
checkPermission
in interface PermissionService
- Throws:
PortalException
SystemException
checkPermission
public void checkPermission(long groupId,
String name,
String primKey)
throws PortalException,
SystemException
- Specified by:
checkPermission
in interface PermissionService
- Throws:
PortalException
SystemException
hasGroupPermission
public boolean hasGroupPermission(long groupId,
String actionId,
long resourceId)
throws SystemException
- Specified by:
hasGroupPermission
in interface PermissionService
- Throws:
SystemException
hasUserPermission
public boolean hasUserPermission(long userId,
String actionId,
long resourceId)
throws SystemException
- Specified by:
hasUserPermission
in interface PermissionService
- Throws:
SystemException
hasUserPermissions
public boolean hasUserPermissions(long userId,
long groupId,
List<Resource> resources,
String actionId,
PermissionCheckerBag permissionCheckerBag)
throws PortalException,
SystemException
- Specified by:
hasUserPermissions
in interface PermissionService
- Throws:
PortalException
SystemException
setGroupPermissions
public void setGroupPermissions(long groupId,
String[] actionIds,
long resourceId)
throws PortalException,
SystemException
- Specified by:
setGroupPermissions
in interface PermissionService
- Throws:
PortalException
SystemException
setGroupPermissions
public void setGroupPermissions(String className,
String classPK,
long groupId,
String[] actionIds,
long resourceId)
throws PortalException,
SystemException
- Specified by:
setGroupPermissions
in interface PermissionService
- Throws:
PortalException
SystemException
setOrgGroupPermissions
public void setOrgGroupPermissions(long organizationId,
long groupId,
String[] actionIds,
long resourceId)
throws PortalException,
SystemException
- Specified by:
setOrgGroupPermissions
in interface PermissionService
- Throws:
PortalException
SystemException
setRolePermission
public void setRolePermission(long roleId,
long groupId,
String name,
int scope,
String primKey,
String actionId)
throws PortalException,
SystemException
- Specified by:
setRolePermission
in interface PermissionService
- Throws:
PortalException
SystemException
setRolePermissions
public void setRolePermissions(long roleId,
long groupId,
String[] actionIds,
long resourceId)
throws PortalException,
SystemException
- Specified by:
setRolePermissions
in interface PermissionService
- Throws:
PortalException
SystemException
setUserPermissions
public void setUserPermissions(long userId,
long groupId,
String[] actionIds,
long resourceId)
throws PortalException,
SystemException
- Specified by:
setUserPermissions
in interface PermissionService
- Throws:
PortalException
SystemException
unsetRolePermission
public void unsetRolePermission(long roleId,
long groupId,
long permissionId)
throws PortalException,
SystemException
- Specified by:
unsetRolePermission
in interface PermissionService
- Throws:
PortalException
SystemException
unsetRolePermission
public void unsetRolePermission(long roleId,
long groupId,
String name,
int scope,
String primKey,
String actionId)
throws PortalException,
SystemException
- Specified by:
unsetRolePermission
in interface PermissionService
- Throws:
PortalException
SystemException
unsetRolePermissions
public void unsetRolePermissions(long roleId,
long groupId,
String name,
int scope,
String actionId)
throws PortalException,
SystemException
- Specified by:
unsetRolePermissions
in interface PermissionService
- Throws:
PortalException
SystemException
unsetUserPermissions
public void unsetUserPermissions(long userId,
long groupId,
String[] actionIds,
long resourceId)
throws PortalException,
SystemException
- Specified by:
unsetUserPermissions
in interface PermissionService
- Throws:
PortalException
SystemException
getWrappedPermissionService
public PermissionService getWrappedPermissionService()