lumis.doui
Class DouiManager

Package class diagram package DouiManager
java.lang.Object
  extended by lumis.doui.DouiManager
All Implemented Interfaces:
IDouiManager

public class DouiManager
extends Object
implements IDouiManager

Doui manager implementation.

Since:
4.0.0

Constructor Summary
DouiManager()
           
 
Method Summary
 void clearDouiServiceDefinitionCache(String serviceId)
           
 Node getDouiServiceDefinitionNode(String serviceId, ITransaction transaction)
           
 DouiServiceInterfaceInstanceDefinition getDouiServiceInterfaceInstanceDefinition(SessionConfig sessionConfig, String serviceInterfaceInstanceId, IDouiDefinitionProcessor processor, ITransaction transaction)
          Return the doui definition for a service interface instance.
protected  void register(SessionConfig sessionConfig, Document douiConfigDoc, ITransaction transaction)
           
 void register(SessionConfig sessionConfig, String douiConfigPath, ITransaction transaction)
           
 void unregister(SessionConfig sessionConfig, String serviceId, ITransaction transaction)
           
protected  void validateControls(Document douiConfigDoc)
           
protected  boolean validateDouiDefinition(Document douiConfigDoc)
           
protected  void validateFields(Document douiConfigDoc)
           
protected  void validateInterfaceControls(Node currentNode, Set<String> controlIds, String interfaceFullId)
           
protected  boolean validateUniqueSourceIds(Document douiConfigDoc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DouiManager

public DouiManager()
Method Detail

getDouiServiceInterfaceInstanceDefinition

public DouiServiceInterfaceInstanceDefinition getDouiServiceInterfaceInstanceDefinition(SessionConfig sessionConfig,
                                                                                        String serviceInterfaceInstanceId,
                                                                                        IDouiDefinitionProcessor processor,
                                                                                        ITransaction transaction)
                                                                                 throws PortalException
Description copied from interface: IDouiManager
Return the doui definition for a service interface instance.

Specified by:
getDouiServiceInterfaceInstanceDefinition in interface IDouiManager
Parameters:
sessionConfig - the user session information.
serviceInterfaceInstanceId - the service interface instance identifier.
processor - an optional definition processor. If null the definition will not be pre-processed.
transaction - the transaction for persistence access.
Returns:
the doui service interface instance definition.
Throws:
PortalException

register

public void register(SessionConfig sessionConfig,
                     String douiConfigPath,
                     ITransaction transaction)
              throws ManagerException,
                     PortalException
Specified by:
register in interface IDouiManager
Throws:
ManagerException
PortalException

register

protected void register(SessionConfig sessionConfig,
                        Document douiConfigDoc,
                        ITransaction transaction)
                 throws ManagerException,
                        PortalException
Throws:
ManagerException
PortalException

validateDouiDefinition

protected boolean validateDouiDefinition(Document douiConfigDoc)
                                  throws PortalException
Throws:
PortalException

validateControls

protected void validateControls(Document douiConfigDoc)
                         throws PortalException
Throws:
PortalException

validateInterfaceControls

protected void validateInterfaceControls(Node currentNode,
                                         Set<String> controlIds,
                                         String interfaceFullId)
                                  throws PortalException
Throws:
PortalException

validateFields

protected void validateFields(Document douiConfigDoc)
                       throws PortalException
Throws:
PortalException

validateUniqueSourceIds

protected boolean validateUniqueSourceIds(Document douiConfigDoc)
                                   throws PortalException
Throws:
PortalException

unregister

public void unregister(SessionConfig sessionConfig,
                       String serviceId,
                       ITransaction transaction)
                throws ManagerException,
                       PortalException
Specified by:
unregister in interface IDouiManager
Throws:
ManagerException
PortalException

clearDouiServiceDefinitionCache

public void clearDouiServiceDefinitionCache(String serviceId)
                                     throws PortalException
Specified by:
clearDouiServiceDefinitionCache in interface IDouiManager
Throws:
PortalException

getDouiServiceDefinitionNode

public Node getDouiServiceDefinitionNode(String serviceId,
                                         ITransaction transaction)
                                  throws ManagerException,
                                         PortalException
Specified by:
getDouiServiceDefinitionNode in interface IDouiManager
Throws:
ManagerException
PortalException


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