Liferay 7.0-ce-b4

com.liferay.portal.service
Class PermissionServiceWrapper

java.lang.Object
  extended by com.liferay.portal.service.PermissionServiceWrapper
All Implemented Interfaces:
BaseService, PermissionService, ServiceWrapper<PermissionService>

@ProviderType
public class PermissionServiceWrapper
extends Object
implements PermissionService, ServiceWrapper<PermissionService>

Provides a wrapper for PermissionService.

See Also:
PermissionService

Constructor Summary
PermissionServiceWrapper(PermissionService permissionService)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PermissionServiceWrapper

public PermissionServiceWrapper(PermissionService permissionService)
Method Detail

checkPermission

public void checkPermission(long groupId,
                            String name,
                            long primKey)
                     throws PortalException
Checks to see if the group has permission to the service.

Specified by:
checkPermission in interface PermissionService
Parameters:
groupId - the primary key of the group
name - the service name
primKey - the primary key of the service
Throws:
PortalException

checkPermission

public void checkPermission(long groupId,
                            String name,
                            String primKey)
                     throws PortalException
Checks to see if the group has permission to the service.

Specified by:
checkPermission in interface PermissionService
Parameters:
groupId - the primary key of the group
name - the service name
primKey - the primary key of the service
Throws:
PortalException

getOSGiServiceIdentifier

public String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Specified by:
getOSGiServiceIdentifier in interface PermissionService
Returns:
the OSGi service identifier

getWrappedService

public PermissionService getWrappedService()
Specified by:
getWrappedService in interface ServiceWrapper<PermissionService>

setWrappedService

public void setWrappedService(PermissionService permissionService)
Specified by:
setWrappedService in interface ServiceWrapper<PermissionService>

Liferay 7.0-ce-b4