Class XmlApplicationDS
java.lang.Object
com.aquima.interactions.foundation.report.ReportingDS
com.aquima.interactions.portal.ds.xml.r12.parsing.XmlModuleDS
com.aquima.interactions.portal.ds.xml.r12.parsing.XmlApplicationDS
- All Implemented Interfaces:
IReportingDS
,IApplicationDS
,IModuleDS
Xml datasource implementation.
- Since:
- 7.3
- Author:
- Danny Roest
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
static IApplicationDS
create
(IInitializationReport report, IApplicationConfiguration configuration, IXmlNode node) This method returns the ID of the application.This method returns the application mode for the portal engine.This method may return an application specific connection manager.This method should return a factory manager implementation for the application.getId()
This method returns the module containing process definitions.This method returns the mapping that should be used for the processes.This method returns the data source that should be used to initialize the objects that are defined project wide and used by all modules in the project.Returns the project metadata containing webservice calls and library referencesThis method should return a resource manager implementation for the application.boolean
This method returns a boolean indicating if a document may contain failed elements, or that the cause of the failure should be thrown as an exception.void
iterateMappings
(IMappingVisitor visitor) This method should iterate over all the mappings and add them to the provided visitor.void
iterateModules
(IModuleVisitor visitor) This method should iterate over all modules that are used by the application, and add a data source implementation for each of them to the visitor.void
iterateWebServices
(IWebServiceVisitor visitor) This method should iterate over all the exposed web services and add them to the provided visitor.boolean
This method returns a boolean indicating if failed masks must be included, or that the cause of the failure should be thrown as an exception.boolean
This method returns a boolean indicating if elements that fail expansion should be replaced by failed element objects, or that the cause of the failure should be thrown as an exception.Methods inherited from class com.aquima.interactions.portal.ds.xml.r12.parsing.XmlModuleDS
cachingEnabled, getCommunicationEngineDS, getComposerDS, getFlowEngineDS, getMatchEngineDS, getMetaModelDS, getModuleId, getRuleEngineDS, getTimelineCreator, getTraceDao, getTreeEngineDS, iterateContainerExpanders, iterateFunctionCalls, iterateMaskCalls, iterateServiceCalls
Methods inherited from class com.aquima.interactions.foundation.report.ReportingDS
addError, addMessage, getCategory, getReport
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.aquima.interactions.portal.ds.IApplicationDS
getTimelineCreator, getTraceDao
Methods inherited from interface com.aquima.interactions.portal.ds.IModuleDS
cachingEnabled, getCommunicationEngineDS, getComposerDS, getFlowEngineDS, getMatchEngineDS, getMetaModelDS, getModuleId, getRuleEngineDS, getTreeEngineDS, iterateContainerExpanders, iterateFunctionCalls, iterateMaskCalls, iterateServiceCalls
Methods inherited from interface com.aquima.interactions.foundation.report.IReportingDS
addMessage
-
Method Details
-
create
public static IApplicationDS create(IInitializationReport report, IApplicationConfiguration configuration, IXmlNode node) -
activatePageContextInstances
public boolean activatePageContextInstances() -
callHandleOnRefresh
public boolean callHandleOnRefresh() -
clearEventOnRefresh
public boolean clearEventOnRefresh() -
getApplicationId
Description copied from interface:IApplicationDS
This method returns the ID of the application.- Specified by:
getApplicationId
in interfaceIApplicationDS
- Returns:
- the ID of the application.
-
getApplicationMode
Description copied from interface:IApplicationDS
This method returns the application mode for the portal engine.- Specified by:
getApplicationMode
in interfaceIApplicationDS
- Returns:
- The application mode for the portal engine.
-
getConnectionManager
Description copied from interface:IApplicationDS
This method may return an application specific connection manager.- Specified by:
getConnectionManager
in interfaceIApplicationDS
- Returns:
- an application specific connection manager, or null if no predefined connections are available in the application.
-
getFactoryManager
Description copied from interface:IApplicationDS
This method should return a factory manager implementation for the application.- Specified by:
getFactoryManager
in interfaceIApplicationDS
- Returns:
- a factory manager implementation for the application.
-
getProcessEngine
Description copied from interface:IApplicationDS
This method returns the module containing process definitions. When no process engine is used this will return null- Specified by:
getProcessEngine
in interfaceIApplicationDS
- Returns:
- the module containing the process definitions
-
getProcessMappingDS
Description copied from interface:IApplicationDS
This method returns the mapping that should be used for the processes. If the application does not use a process engine, as null value should be returned. Usually an application using a process engine does not define any processes.- Specified by:
getProcessMappingDS
in interfaceIApplicationDS
- Returns:
- the mapping that should be used for the processes.
-
getProjectDS
Description copied from interface:IApplicationDS
This method returns the data source that should be used to initialize the objects that are defined project wide and used by all modules in the project.- Specified by:
getProjectDS
in interfaceIApplicationDS
- Returns:
- Data source providing the definitions of the global objects.
-
getResourceManager
Description copied from interface:IApplicationDS
This method should return a resource manager implementation for the application.- Specified by:
getResourceManager
in interfaceIApplicationDS
- Returns:
- a resource manager implementation for the application.
-
iterateMappings
Description copied from interface:IApplicationDS
This method should iterate over all the mappings and add them to the provided visitor.- Specified by:
iterateMappings
in interfaceIApplicationDS
- Parameters:
visitor
- The visitor that should be used to add the mapping definitions to.
-
iterateModules
Description copied from interface:IApplicationDS
This method should iterate over all modules that are used by the application, and add a data source implementation for each of them to the visitor.- Specified by:
iterateModules
in interfaceIApplicationDS
- Parameters:
visitor
- The visitor that should be used to add the module data sources to.
-
outputFailedMasks
public boolean outputFailedMasks()Description copied from interface:IApplicationDS
This method returns a boolean indicating if failed masks must be included, or that the cause of the failure should be thrown as an exception.- Specified by:
outputFailedMasks
in interfaceIApplicationDS
- Returns:
- a boolean indicating if mask that fails should be included in the expanded element
-
wrapFailedElements
public boolean wrapFailedElements()Description copied from interface:IApplicationDS
This method returns a boolean indicating if elements that fail expansion should be replaced by failed element objects, or that the cause of the failure should be thrown as an exception.- Specified by:
wrapFailedElements
in interfaceIApplicationDS
- Returns:
- a boolean indicating if elements that fail expansion should be replaced by failed element objects.
-
isContinueOnFailedDocument
public boolean isContinueOnFailedDocument()Description copied from interface:IApplicationDS
This method returns a boolean indicating if a document may contain failed elements, or that the cause of the failure should be thrown as an exception.- Specified by:
isContinueOnFailedDocument
in interfaceIApplicationDS
- Returns:
- a boolean indicating if a document may contain failed elements.
-
getId
-
iterateWebServices
Description copied from interface:IApplicationDS
This method should iterate over all the exposed web services and add them to the provided visitor.- Specified by:
iterateWebServices
in interfaceIApplicationDS
- Parameters:
visitor
- The visitor that should be used to add the exposed web service definitions to.
-
getProjectMetadata
Description copied from interface:IApplicationDS
Returns the project metadata containing webservice calls and library references- Specified by:
getProjectMetadata
in interfaceIApplicationDS
- Returns:
-