@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 |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
PermissionService |
getWrappedPermissionService()
Deprecated.
As of 6.1.0, replaced by
getWrappedService() |
PermissionService |
getWrappedService() |
void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
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 servicePortalException - if the group did not have permission to the
service, if a group with the primary key could not be found or if
the permission information was invalidpublic 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 servicePortalException - if the group did not have permission to the
service, if a group with the primary key could not be found or if
the permission information was invalidpublic java.lang.String getBeanIdentifier()
getBeanIdentifier in interface PermissionServicepublic void setBeanIdentifier(java.lang.String beanIdentifier)
setBeanIdentifier in interface PermissionServicebeanIdentifier - the Spring bean ID for this bean@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>