public class SitePopulationContextHelper extends PopulationContextHelper
UserPopulations to contexts for FO application.
Overrides PopulationContextHelper.getUserPopulationsOnContext(String, boolean) in order to authenticate through Front-Office URLs| Modifier and Type | Field and Description |
|---|---|
private static String |
__SITES_FO_PREFIX_CONTEXT |
private static String |
__SITES_PREFIX_CONTEXT |
private SiteInformationCache |
_siteInformationCache |
__ADMIN_RIGHT_ACCESS, __USER_POPULATIONS_TABLE, _manager, ADMIN_CONTEXT, POPULATION_CONTEXTS_REQUEST_ATTR, ROLE| Constructor and Description |
|---|
SitePopulationContextHelper() |
| Modifier and Type | Method and Description |
|---|---|
private void |
_delayedService() |
private Site |
_findSite(String siteName) |
Set<String> |
getUserPopulationsOnContext(String context,
boolean withDisabled)
Gets the populations linked to the given context (need the population to be enabled)
|
getCurrentUserProvider, getObservationManager, getRightManager, getSQLConnection, getUserPopulationDAO, getUserPopulationsOnContexts, getUserPopulationsOnContexts, isLinked, link, servicegetLogger, setLoggerprivate static final String __SITES_PREFIX_CONTEXT
private static final String __SITES_FO_PREFIX_CONTEXT
private SiteInformationCache _siteInformationCache
public SitePopulationContextHelper()
private void _delayedService()
public Set<String> getUserPopulationsOnContext(String context, boolean withDisabled)
PopulationContextHelpergetUserPopulationsOnContext in class PopulationContextHelpercontext - The contextwithDisabled - True to also return disabled populations