public class TenantConfigurationServiceImpl extends Object implements TenantConfigurationService
HIDDEN_UGC_STATUS| Constructor and Description |
|---|
TenantConfigurationServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected List<Map<String,Object>> |
getAllPreferences() |
<T> T |
getProperty(String contextId,
String propertyName) |
void |
loadDefaults() |
void |
reloadTenant(String contextId) |
void |
setContextPreferencesRepository(ContextPreferencesRepository contextPreferencesRepository) |
void |
setContextPreferencesServiceImpl(ContextPreferencesService contextPreferencesService) |
void |
setDefaultLocations(List<org.springframework.core.io.Resource> defaultLocations) |
void |
setTenantConfigCache(net.sf.ehcache.Ehcache tenantConfigCache) |
public <T> T getProperty(String contextId, String propertyName)
getProperty in interface TenantConfigurationServicepublic void reloadTenant(String contextId)
reloadTenant in interface TenantConfigurationServicepublic void loadDefaults()
throws org.craftercms.commons.mongo.MongoDataException,
SocialException
org.craftercms.commons.mongo.MongoDataExceptionSocialExceptionprotected List<Map<String,Object>> getAllPreferences() throws SocialException
SocialExceptionpublic void setTenantConfigCache(net.sf.ehcache.Ehcache tenantConfigCache)
public void setDefaultLocations(List<org.springframework.core.io.Resource> defaultLocations)
public void setContextPreferencesServiceImpl(ContextPreferencesService contextPreferencesService)
public void setContextPreferencesRepository(ContextPreferencesRepository contextPreferencesRepository)
Copyright © 2019 CrafterCMS. All rights reserved.