Package lumis.service.wsrp.producer
Class ServiceInterfaceInstanceOwner
- java.lang.Object
-
- lumis.service.wsrp.producer.ServiceInterfaceInstanceOwner
-
- All Implemented Interfaces:
IServiceInterfaceInstanceOwner
public final class ServiceInterfaceInstanceOwner extends java.lang.Object implements IServiceInterfaceInstanceOwner
Service interface instance owner.- Since:
- 6.0.0
- Version:
- $Revision$ $Date$
-
-
Constructor Summary
Constructors Constructor Description ServiceInterfaceInstanceOwner()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkPermission(SessionConfig sessionConfig, ServiceInterfaceInstanceConfig serviceInterfaceInstanceConfig, ServiceInterfaceInstancePermission permission)
Checks the user permission based on the owner rules.static IServiceInterfaceInstanceOwner
getInstance()
-
-
-
Method Detail
-
checkPermission
public boolean checkPermission(SessionConfig sessionConfig, ServiceInterfaceInstanceConfig serviceInterfaceInstanceConfig, ServiceInterfaceInstancePermission permission) throws PortalException
Description copied from interface:IServiceInterfaceInstanceOwner
Checks the user permission based on the owner rules. Must return true if user has access to continue current operation or false otherwise.- Specified by:
checkPermission
in interfaceIServiceInterfaceInstanceOwner
- Parameters:
sessionConfig
- the user session config.serviceInterfaceInstanceConfig
- theservice interface instance
in which current operation is acting.permission
- thepermission
to be checked.- Returns:
- a boolean indicating if user has access to complete current action.
- Throws:
PortalException
- See Also:
ServiceInterfaceInstancePermission
-
getInstance
public static IServiceInterfaceInstanceOwner getInstance()
-
-