Class DummyInterfaceInstanceOwner
- java.lang.Object
-
- lumis.portal.serviceinterfaceinstance.DummyInterfaceInstanceOwner
-
- All Implemented Interfaces:
IServiceInterfaceInstanceOwner
public class DummyInterfaceInstanceOwner extends java.lang.Object implements IServiceInterfaceInstanceOwner
Dummy interface instance owner.- Since:
- 9.0.0
- Version:
- $Revision: 19136 $ $Date: 2016-06-02 18:14:45 -0300 (Thu, 02 Jun 2016) $
-
-
Constructor Summary
Constructors Constructor Description DummyInterfaceInstanceOwner()
-
Method Summary
All 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.
-
-
-
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
-
-