Class PermissionServiceWrapper
Object
com.liferay.portal.kernel.service.PermissionServiceWrapper
- All Implemented Interfaces:
BaseService
,PermissionService
,ServiceWrapper<PermissionService>
public class PermissionServiceWrapper
extends Object
implements PermissionService, ServiceWrapper<PermissionService>
Provides a wrapper for
PermissionService
.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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.Returns the OSGi service identifier.void
setWrappedService
(PermissionService permissionService)
-
Constructor Details
-
PermissionServiceWrapper
public PermissionServiceWrapper() -
PermissionServiceWrapper
-
-
Method Details
-
checkPermission
Checks to see if the group has permission to the service.- Specified by:
checkPermission
in interfacePermissionService
- Parameters:
groupId
- the primary key of the groupname
- the service nameprimKey
- the primary key of the service- Throws:
PortalException
-
checkPermission
Checks to see if the group has permission to the service.- Specified by:
checkPermission
in interfacePermissionService
- Parameters:
groupId
- the primary key of the groupname
- the service nameprimKey
- the primary key of the service- Throws:
PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfacePermissionService
- Returns:
- the OSGi service identifier
-
getWrappedService
- Specified by:
getWrappedService
in interfaceServiceWrapper<PermissionService>
-
setWrappedService
- Specified by:
setWrappedService
in interfaceServiceWrapper<PermissionService>
-