@ProviderType public class PermissionServiceWrapper extends java.lang.Object implements PermissionService, ServiceWrapper<PermissionService>
PermissionService
.PermissionService
Constructor and Description |
---|
PermissionServiceWrapper(PermissionService permissionService) |
Modifier and Type | Method and Description |
---|---|
void |
checkPermission(long groupId,
java.lang.String name,
long primKey)
Checks to see if the group has permission to the service.
|
void |
checkPermission(long groupId,
java.lang.String name,
java.lang.String primKey)
Checks to see if the group has permission to the service.
|
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
PermissionService |
getWrappedService() |
void |
setWrappedService(PermissionService permissionService) |
public PermissionServiceWrapper(PermissionService permissionService)
public void checkPermission(long groupId, java.lang.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, java.lang.String name, java.lang.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 java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface PermissionService
public PermissionService getWrappedService()
getWrappedService
in interface ServiceWrapper<PermissionService>
public void setWrappedService(PermissionService permissionService)
setWrappedService
in interface ServiceWrapper<PermissionService>