Interface IProjectDS
- All Superinterfaces:
IReportingDS
- All Known Implementing Classes:
ConfigProjectDS
,ConfigProjectDS
,PrefixedProjectDS
,ProjectDelegateDS
,ProjectDS
,ProjectDS
,ReportingProjectDS
,XmlProjectDS
,XmlProjectDS
This data source is used during initialization to gather the definition of the objects that are globally defined.
- Since:
- 7.1
- Author:
- O. Kerpershoek
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the default language, null when not specified.Returns the name of the default theme, null when not specified.getName()
This method returns the unique name of the application.This method returns the version of the application.void
iterateChannels
(IChannelVisitor visitor) This method should iterate over the various channels that are available in the application.void
iterateConnections
(IConnectionVisitor visitor) This method should iterate over all the connections and add them to the provided visitor.void
iterateExpanders
(IExpanderVisitor visitor) This method should iterate over all the expander definitions and add them to the provided visitor.void
iterateFieldTypes
(IFieldTypeVisitor visitor) void
void
iterateLanguages
(ILanguageVisitor visitor) This method should iterate over the available languages and add them to the visitor.void
iterateMessages
(IMessageVisitor visitor) This method should iterate over all the static messages and invoke the visitor for each message that should be added to the model.void
void
iterateRoles
(IRoleVisitor visitor) This method should iterate over all the roles and add them to the visitor.void
iterateServices
(IServiceVisitor visitor) This method should iterate over all the service definitions, and add them to the provided visitor.void
iterateTeams
(ITeamVisitor visitor) This method should iterate over the various teams that are available in the application.void
iterateThemes
(IThemeVisitor visitor) This method should iterate over all the themes that are available and add them to the visitor.void
iterateValidators
(IValidatorVisitor visitor) This method should iterate over all the validator types and add them to the provided visitor.void
iterateValueFormats
(IValueFormatVisitor visitor) This method should iterate over all the value formats, and invoke the visitor for each format that should be added to the model.Methods inherited from interface com.aquima.interactions.foundation.report.IReportingDS
addMessage
-
Field Details
-
CATEGORY
Category that should be used when reporting errors or warnings that are encountered during initialization.
-
-
Method Details
-
getName
String getName()This method returns the unique name of the application.- Returns:
- The name of the application.
-
getVersion
Version getVersion()This method returns the version of the application.- Returns:
- The version of the application.
-
iterateRoles
This method should iterate over all the roles and add them to the visitor.- Parameters:
visitor
- The visitor that should be used to add the role to.- Throws:
InitializationException
- This exception is thrown when the role could not be initialized.
-
iterateChannels
This method should iterate over the various channels that are available in the application. Components may use channels to restrict access to certain functionality. This method should return the super-set of all the channels that are used throughout the application.- Parameters:
visitor
- The visitor that should be used to add the channel definitions to.- Throws:
InitializationException
- This exception is thrown when an invalid channel definition is added.
-
iterateTeams
This method should iterate over the various teams that are available in the application. Components may use teams to restrict access to certain functionality. This method should return the super-set of all the teams that are used throughout the application.- Parameters:
visitor
- The visitor that should be used to add the team definitions to.- Throws:
InitializationException
- This exception is thrown when an invalid team definition is added.
-
getDefaultLanguageName
String getDefaultLanguageName()Returns the name of the default language, null when not specified.- Returns:
- The name of the language that should be used as default.
-
iterateLanguages
This method should iterate over the available languages and add them to the visitor. At least one language should be provided.- Parameters:
visitor
- The visitor to which the languages should be added.- Throws:
InitializationException
- This exception is thrown when invalid language data is provided.
-
iterateThemes
This method should iterate over all the themes that are available and add them to the visitor.- Parameters:
visitor
- The visitor that should be used to add the themes to.- Throws:
InitializationException
- this exception is thrown when an invalid theme definition is added.
-
getDefaultThemeName
String getDefaultThemeName()Returns the name of the default theme, null when not specified.- Returns:
- The name of the theme that should be used as default.
-
iterateMessages
This method should iterate over all the static messages and invoke the visitor for each message that should be added to the model.- Parameters:
visitor
- The visitor that should be used to add the messages to.- Throws:
InitializationException
- This error is thrown when an error is encountered during the processing of the messages.
-
iterateValueFormats
This method should iterate over all the value formats, and invoke the visitor for each format that should be added to the model.- Parameters:
visitor
- The visitor that should be used to add value formats to.- Throws:
InitializationException
- this exception is thrown when an error is encountered during the processing of the value formats.
-
iterateServices
This method should iterate over all the service definitions, and add them to the provided visitor.- Parameters:
visitor
- The visitor that should be used to add the service definitions to.- Throws:
InitializationException
- This exception is thrown when the service definitions could not be initialized.
-
iterateExpanders
This method should iterate over all the expander definitions and add them to the provided visitor.- Parameters:
visitor
- The visitor that should be used to add the expander definitions to.- Throws:
InitializationException
- This exception is thrown when the expander definitions could not be initialized.
-
iterateValidators
This method should iterate over all the validator types and add them to the provided visitor.- Parameters:
visitor
- The visitor that should be used to add the validator type definitions to.- Throws:
InitializationException
- This exception is thrown when the validator type definitions could not be initialized.
-
iterateConnections
This method should iterate over all the connections and add them to the provided visitor.- Parameters:
visitor
- The visitor that should be used to add the connections definitions to.- Throws:
InitializationException
- This exception is thrown when the data connections could not be initialized.
-
iteratePortalMessages
-
iterateGlobalParameters
-
iterateFieldTypes
-