public class PermissionServiceWrapper extends Object implements PermissionService, ServiceWrapper<PermissionService>
PermissionService.PermissionService| Constructor and Description |
|---|
PermissionServiceWrapper(PermissionService permissionService) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
PermissionService |
getWrappedService() |
void |
setWrappedService(PermissionService permissionService) |
public PermissionServiceWrapper(PermissionService permissionService)
public void checkPermission(long groupId,
String name,
long primKey)
throws PortalException
checkPermission in interface PermissionServicegroupId - the primary key of the groupname - the service nameprimKey - the primary key of the servicePortalExceptionpublic void checkPermission(long groupId,
String name,
String primKey)
throws PortalException
checkPermission in interface PermissionServicegroupId - the primary key of the groupname - the service nameprimKey - the primary key of the servicePortalExceptionpublic String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface PermissionServicepublic PermissionService getWrappedService()
getWrappedService in interface ServiceWrapper<PermissionService>public void setWrappedService(PermissionService permissionService)
setWrappedService in interface ServiceWrapper<PermissionService>