@ProviderType 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 PermissionService
groupId
- the primary key of the groupname
- the service nameprimKey
- the primary key of the servicePortalException
public void checkPermission(long groupId, String name, String primKey) throws PortalException
checkPermission
in interface PermissionService
groupId
- the primary key of the groupname
- the service nameprimKey
- the primary key of the servicePortalException
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface PermissionService
public PermissionService getWrappedService()
getWrappedService
in interface ServiceWrapper<PermissionService>
public void setWrappedService(PermissionService permissionService)
setWrappedService
in interface ServiceWrapper<PermissionService>