public class SitesPopulationsGenerator extends ServiceableGenerator
Modifier and Type | Field and Description |
---|---|
private CredentialProviderFactory |
_credentialProviderFactory |
private LDAPDataSourceManager |
_ldapDataSourceManager |
private PopulationContextHelper |
_populationContextHelper |
private SiteManager |
_siteManager |
private SQLDataSourceManager |
_sqlDataSourceManager |
private UserDirectoryFactory |
_userDirectoryFactory |
private UserPopulationDAO |
_userPopulationDAO |
manager
objectModel, parameters, resolver, source
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
Constructor and Description |
---|
SitesPopulationsGenerator() |
Modifier and Type | Method and Description |
---|---|
private void |
_addDatasourceToModel(String modelId,
String datasource,
Map<String,Set<String>> datasourcesPerModel) |
private Pair<Set<String>,Map<String,Set<String>>> |
_getDatasourcesUsedByPopulations(Set<UserPopulation> usedPopulations) |
private Set<UserPopulation> |
_getPopulationsUsedBySites() |
private String |
_replaceDefaultIds(String datasourceId) |
private void |
_saxCaptchaInfo() |
private void |
_saxDatabasesFiles() |
private void |
_saxDatasourcesInUse(Set<UserPopulation> usedPopulations) |
private void |
_saxLDAPDatabaseFile() |
private void |
_saxMonitoringInfo() |
private void |
_saxPopulationFile() |
private void |
_saxPopulationsInUse(Set<UserPopulation> usedPopulations) |
private void |
_saxSQLDatabaseFile() |
private void |
_saxUsedStuff() |
void |
generate() |
void |
service(ServiceManager smanager) |
dispose
recycle, setup
setConsumer, setContentHandler, setLexicalHandler
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setConsumer
private SiteManager _siteManager
private PopulationContextHelper _populationContextHelper
private UserPopulationDAO _userPopulationDAO
private UserDirectoryFactory _userDirectoryFactory
private CredentialProviderFactory _credentialProviderFactory
private SQLDataSourceManager _sqlDataSourceManager
private LDAPDataSourceManager _ldapDataSourceManager
public SitesPopulationsGenerator()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableGenerator
ServiceException
public void generate() throws IOException, SAXException, ProcessingException
private void _saxMonitoringInfo() throws SAXException
SAXException
private void _saxCaptchaInfo() throws SAXException
SAXException
private void _saxDatabasesFiles() throws IOException, SAXException
IOException
SAXException
private void _saxLDAPDatabaseFile() throws SAXException, IOException
SAXException
IOException
private void _saxSQLDatabaseFile() throws SAXException, IOException
SAXException
IOException
private void _saxPopulationFile() throws SAXException, IOException
SAXException
IOException
private void _saxUsedStuff() throws SAXException
SAXException
private void _saxDatasourcesInUse(Set<UserPopulation> usedPopulations) throws SAXException
SAXException
private void _saxPopulationsInUse(Set<UserPopulation> usedPopulations) throws SAXException
SAXException
private String _replaceDefaultIds(String datasourceId)
private Set<UserPopulation> _getPopulationsUsedBySites()
private Pair<Set<String>,Map<String,Set<String>>> _getDatasourcesUsedByPopulations(Set<UserPopulation> usedPopulations)