lumis.portal.serviceinterfaceinstance
Interface IServiceInterfaceInstanceOwner

Package class diagram package IServiceInterfaceInstanceOwner
All Known Implementing Classes:
PagePersonalizationInterfaceInstanceOwner, ServiceInterfaceInstanceOwner

public interface IServiceInterfaceInstanceOwner

Represents the owner of a service interface instance. Implementations must have a public default constructor to be instantiated. When the service interface instance is persisted, the owner instance fields are not persisted. This means that if a IServiceInterfaceInstanceOwner object instance has filled fields when it was persisted, they will not be filled when it is read from database.

Since:
6.0.0

Method Summary
 boolean checkPermission(SessionConfig sessionConfig, ServiceInterfaceInstanceConfig serviceInterfaceInstanceConfig, ServiceInterfaceInstancePermission permission)
          Checks the user permission based on the owner rules.
 

Method Detail

checkPermission

boolean checkPermission(SessionConfig sessionConfig,
                        ServiceInterfaceInstanceConfig serviceInterfaceInstanceConfig,
                        ServiceInterfaceInstancePermission permission)
                        throws PortalException
Checks the user permission based on the owner rules. Must return true if user has access to continue current operation or false otherwise.

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
Since:
6.0.0
See Also:
ServiceInterfaceInstancePermission


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