Class ConfigApplicationDS
java.lang.Object
com.aquima.interactions.foundation.report.ReportingDelegateDS
com.aquima.interactions.portal.ds.delegate.ModuleDelegateDS
com.aquima.interactions.portal.ds.xml.r17.parsing.config.ConfigModuleDS
com.aquima.interactions.portal.ds.xml.r17.parsing.config.ConfigApplicationDS
- All Implemented Interfaces:
IReportingDS
,IApplicationDS
,IModuleDS
Datasource implementation to wrap the project datasource and delegate some method calls to the
IApplicationConfiguration.
- Since:
- 8.0
- Author:
- Jon van Leuven
-
Constructor Summary
ConstructorsConstructorDescriptionConfigApplicationDS
(IApplicationDS datasource, IApplicationConfiguration configuration) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addMessage
(ErrorCode code, String[] parameters, Severity severity) This method will add an initialization error to the report for the specified error code and parameters.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.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.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.r17.parsing.config.ConfigModuleDS
cachingEnabled, getRuleEngineDS, getTimelineCreator, getTraceDao
Methods inherited from class com.aquima.interactions.portal.ds.delegate.ModuleDelegateDS
getCommunicationEngineDS, getComposerDS, getFlowEngineDS, getMatchEngineDS, getMetaModelDS, getModuleId, getTreeEngineDS, iterateContainerExpanders, iterateFunctionCalls, iterateMaskCalls, iterateServiceCalls
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
-
Constructor Details
-
ConfigApplicationDS
-
-
Method Details
-
addMessage
Description copied from interface:IReportingDS
This method will add an initialization error to the report for the specified error code and parameters.- Specified by:
addMessage
in interfaceIReportingDS
- Overrides:
addMessage
in classReportingDelegateDS
- Parameters:
code
- Error code identifying the message.parameters
- Optional array of parameters for the message.severity
- The severity of the message.
-
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.
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
-
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:
-