Package com.pullreports.model.config
Class CatalogConfiguration
Object
com.pullreports.model.config.CatalogConfiguration
A CatalogConfiguration is a collection of one or more 
ReportConfigurations that all
 share the same directory path within the Pull Reports REST API. Group ReportConfigurations
 into a CatalogConfiguration to share common configuration such as database connectivity, security,
 or export decoration. 
 
 During Pull Reports initialization, CatalogConfigurations are parsed from Catalog XML configuration
 files or provided by CatalogConfigurationFactorys. 
 
Schema analog: <catalog>
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionCatalogConfiguration(CatalogId id, String name, List<ReportConfiguration> reportConfigurations) CatalogConfiguration(CatalogId id, String name, List<ReportConfiguration> reportConfigurations, AccessControlVoter accessControlVoter) 
- 
Method SummaryModifier and TypeMethodDescriptionAn Optional which returns theAccessControlVoterfor this CatalogConfiguration or the empty Optional.getId()Returns the unique Catalog id.getName()Returns the human-readable Catalog name.Returns a List of one or more ReportConfigurations associated with this CatalogConfiguration.
- 
Constructor Details- 
CatalogConfigurationpublic CatalogConfiguration(CatalogId id, String name, List<ReportConfiguration> reportConfigurations) 
- 
CatalogConfigurationpublic CatalogConfiguration(CatalogId id, String name, List<ReportConfiguration> reportConfigurations, AccessControlVoter accessControlVoter) 
 
- 
- 
Method Details- 
getIdReturns the unique Catalog id. This id forms part of the Pull Reports REST API URL path.- Returns:
- the unique Catalog id.
 
- 
getNameReturns the human-readable Catalog name.- Returns:
- the human-readable catalog name.
 
- 
getReportConfigurationsReturns a List of one or more ReportConfigurations associated with this CatalogConfiguration.- Returns:
- the List of ReportConfigurations associated with this Catalog.
 
- 
getAccessControlVoterAn Optional which returns theAccessControlVoterfor this CatalogConfiguration or the empty Optional. The AccessControlVoter, if present, controls Pull Reports REST API access to the Catalog.- Returns:
- The CatalogConfiguration's AccessControlVoter Optional or the empty Optional.
 
 
-