@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 |
getWrappedPermissionService()
Deprecated.
As of 6.1.0, replaced by
getWrappedService() |
PermissionService |
getWrappedService() |
void |
setWrappedPermissionService(PermissionService permissionService)
Deprecated.
As of 6.1.0, replaced by
setWrappedService(com.liferay.portal.service.PermissionService) |
void |
setWrappedService(PermissionService permissionService) |
public PermissionServiceWrapper(PermissionService permissionService)
public void checkPermission(long groupId,
java.lang.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,
java.lang.String name,
java.lang.String primKey)
throws PortalException
checkPermission in interface PermissionServicegroupId - the primary key of the groupname - the service nameprimKey - the primary key of the servicePortalExceptionpublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface PermissionService@Deprecated public PermissionService getWrappedPermissionService()
getWrappedService()@Deprecated public void setWrappedPermissionService(PermissionService permissionService)
setWrappedService(com.liferay.portal.service.PermissionService)public PermissionService getWrappedService()
getWrappedService in interface ServiceWrapper<PermissionService>public void setWrappedService(PermissionService permissionService)
setWrappedService in interface ServiceWrapper<PermissionService>