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 TypeMethodDescriptionvoidcheckPermission(long groupId, String name, long primKey) Checks to see if the group has permission to the service.voidcheckPermission(long groupId, String name, String primKey) Checks to see if the group has permission to the service.Returns the OSGi service identifier.voidsetWrappedService(PermissionService permissionService)
-
Constructor Details
-
PermissionServiceWrapper
public PermissionServiceWrapper() -
PermissionServiceWrapper
-
-
Method Details
-
checkPermission
Checks to see if the group has permission to the service.- Specified by:
checkPermissionin 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:
checkPermissionin 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:
getOSGiServiceIdentifierin interfacePermissionService- Returns:
- the OSGi service identifier
-
getWrappedService
- Specified by:
getWrappedServicein interfaceServiceWrapper<PermissionService>
-
setWrappedService
- Specified by:
setWrappedServicein interfaceServiceWrapper<PermissionService>
-