lumis.service.wsrp.producer
Class ServiceInterfaceInstanceOwner

Package class diagram package ServiceInterfaceInstanceOwner
java.lang.Object
  extended by lumis.service.wsrp.producer.ServiceInterfaceInstanceOwner
All Implemented Interfaces:
IServiceInterfaceInstanceOwner

public final class ServiceInterfaceInstanceOwner
extends Object
implements IServiceInterfaceInstanceOwner

Service interface instance owner.

Since:
6.0.0

Constructor Summary
ServiceInterfaceInstanceOwner()
           
 
Method Summary
 boolean checkPermission(SessionConfig sessionConfig, ServiceInterfaceInstanceConfig serviceInterfaceInstanceConfig, ServiceInterfaceInstancePermission permission)
          Checks the user permission based on the owner rules.
static IServiceInterfaceInstanceOwner getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceInterfaceInstanceOwner

public ServiceInterfaceInstanceOwner()
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 interface IServiceInterfaceInstanceOwner
Parameters:
sessionConfig - the user session config.
serviceInterfaceInstanceConfig - the service interface instance in which current operation is acting.
permission - the permission 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()


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.