Liferay 6.2-ce-ga5

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 getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 PermissionService getWrappedPermissionService()
          Deprecated. As of 6.1.0, replaced by getWrappedService()
 PermissionService getWrappedService()
           
 void setBeanIdentifier(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)
           
 
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

getBeanIdentifier

public String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Specified by:
getBeanIdentifier in interface PermissionService
Returns:
the Spring bean ID for this bean

setBeanIdentifier

public void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Specified by:
setBeanIdentifier in interface PermissionService
Parameters:
beanIdentifier - the Spring bean ID for this bean

checkPermission

public void checkPermission(long groupId,
                            String name,
                            long primKey)
                     throws PortalException,
                            SystemException
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 - 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 invalid
SystemException - if a system exception occurred

checkPermission

public void checkPermission(long groupId,
                            String name,
                            String primKey)
                     throws PortalException,
                            SystemException
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 - 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 invalid
SystemException - if a system exception occurred

getWrappedPermissionService

public PermissionService getWrappedPermissionService()
Deprecated. As of 6.1.0, replaced by getWrappedService()


setWrappedPermissionService

public void setWrappedPermissionService(PermissionService permissionService)
Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portal.service.PermissionService)


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 6.2-ce-ga5