Class XmlApplicationDS

All Implemented Interfaces:
IReportingDS, IApplicationDS, IModuleDS

public class XmlApplicationDS extends XmlModuleDS implements IApplicationDS
Xml datasource implementation.
Since:
7.3
Author:
Danny Roest
  • 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

      public ApplicationID getApplicationId()
      Description copied from interface: IApplicationDS
      This method returns the ID of the application.
      Specified by:
      getApplicationId in interface IApplicationDS
      Returns:
      the ID of the application.
    • getApplicationMode

      public ApplicationMode getApplicationMode()
      Description copied from interface: IApplicationDS
      This method returns the application mode for the portal engine.
      Specified by:
      getApplicationMode in interface IApplicationDS
      Returns:
      The application mode for the portal engine.
    • getConnectionManager

      public IConnectionManager getConnectionManager()
      Description copied from interface: IApplicationDS
      This method may return an application specific connection manager.
      Specified by:
      getConnectionManager in interface IApplicationDS
      Returns:
      an application specific connection manager, or null if no predefined connections are available in the application.
    • getFactoryManager

      public IFactoryManager getFactoryManager()
      Description copied from interface: IApplicationDS
      This method should return a factory manager implementation for the application.
      Specified by:
      getFactoryManager in interface IApplicationDS
      Returns:
      a factory manager implementation for the application.
    • getProcessEngine

      public IProcessModuleDS 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 interface IApplicationDS
      Returns:
      the module containing the process definitions
    • getProcessMappingDS

      public IProcessMappingDS 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 interface IApplicationDS
      Returns:
      the mapping that should be used for the processes.
    • getProjectDS

      public IProjectDS 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 interface IApplicationDS
      Returns:
      Data source providing the definitions of the global objects.
    • getResourceManager

      public IResourceManager getResourceManager()
      Description copied from interface: IApplicationDS
      This method should return a resource manager implementation for the application.
      Specified by:
      getResourceManager in interface IApplicationDS
      Returns:
      a resource manager implementation for the application.
    • iterateMappings

      public void iterateMappings(IMappingVisitor visitor)
      Description copied from interface: IApplicationDS
      This method should iterate over all the mappings and add them to the provided visitor.
      Specified by:
      iterateMappings in interface IApplicationDS
      Parameters:
      visitor - The visitor that should be used to add the mapping definitions to.
    • iterateModules

      public void iterateModules(IModuleVisitor visitor)
      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 interface IApplicationDS
      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 interface IApplicationDS
      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 interface IApplicationDS
      Returns:
      a boolean indicating if elements that fail expansion should be replaced by failed element objects.
    • getId

      public GUID getId()
    • iterateWebServices

      public void iterateWebServices(IWebServiceVisitor visitor)
      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 interface IApplicationDS
      Parameters:
      visitor - The visitor that should be used to add the exposed web service definitions to.
    • getProjectMetadata

      public ProjectMetadata getProjectMetadata()
      Description copied from interface: IApplicationDS
      Returns the project metadata containing webservice calls and library references
      Specified by:
      getProjectMetadata in interface IApplicationDS
      Returns: