Interface IApplicationDS
- All Superinterfaces:
IModuleDS
,IReportingDS
- All Known Implementing Classes:
ApplicationDelegateDS
,ApplicationDS
,ConfigApplicationDS
,ConfigApplicationDS
,ExtXmlMatchApplicationDS
,PrefixedApplicationDS
,ReportingApplicationDS
,XmlApplicationDS
,XmlApplicationDS
This interface provides the information needed to initialize an application project.
- Since:
- 7.1
- Author:
- O. Kerpershoek
-
Method Summary
Modifier and TypeMethodDescriptionThis 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.Returns the timeline dao that will be used by the trace engineReturns the trace dao that will be used by the trace enginevoid
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 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
-
getApplicationId
ApplicationID getApplicationId()This method returns the ID of the application.- Returns:
- the ID of the application.
-
getProcessEngine
IProcessModuleDS getProcessEngine()This method returns the module containing process definitions. When no process engine is used this will return null- Returns:
- the module containing the process definitions
-
iterateModules
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.- Parameters:
visitor
- The visitor that should be used to add the module data sources to.- Throws:
InitializationException
- This exception is thrown when the modules could not be initialized.
-
getProjectDS
IProjectDS getProjectDS()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:
- Data source providing the definitions of the global objects.
-
getProcessMappingDS
IProcessMappingDS getProcessMappingDS()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.- Returns:
- the mapping that should be used for the processes.
-
getApplicationMode
ApplicationMode getApplicationMode()This method returns the application mode for the portal engine.- Returns:
- The application mode for the portal engine.
-
getFactoryManager
IFactoryManager getFactoryManager()This method should return a factory manager implementation for the application.- Returns:
- a factory manager implementation for the application.
-
getResourceManager
IResourceManager getResourceManager()This method should return a resource manager implementation for the application.- Returns:
- a resource manager implementation for the application.
-
getConnectionManager
IConnectionManager getConnectionManager()This method may return an application specific connection manager.- Returns:
- an application specific connection manager, or null if no predefined connections are available in the application.
-
iterateMappings
This method should iterate over all the mappings and add them to the provided visitor.- Parameters:
visitor
- The visitor that should be used to add the mapping definitions to.- Throws:
InitializationException
- This exception is thrown when the mapping definitions could not be initialized.
-
wrapFailedElements
boolean wrapFailedElements()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.- Returns:
- a boolean indicating if elements that fail expansion should be replaced by failed element objects.
-
outputFailedMasks
boolean outputFailedMasks()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.- Returns:
- a boolean indicating if mask that fails should be included in the expanded element
-
iterateWebServices
This method should iterate over all the exposed web services and add them to the provided visitor.- Parameters:
visitor
- The visitor that should be used to add the exposed web service definitions to.- Throws:
InitializationException
- This exception is thrown when the exposed web service definitions could not be initialized.
-
getTraceDao
ITraceDao getTraceDao()Returns the trace dao that will be used by the trace engine- Returns:
- Since:
- 9.2
-
getTimelineCreator
ITimelineCreator getTimelineCreator()Returns the timeline dao that will be used by the trace engine- Returns:
- The Timeline Creator DAO
- Since:
- 14.6
-
getProjectMetadata
ProjectMetadata getProjectMetadata()Returns the project metadata containing webservice calls and library references- Returns:
- Since:
- 9.6
-