public class DictionaryBootstrap extends Object implements DictionaryListener
| Constructor and Description |
|---|
DictionaryBootstrap() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterDictionaryDestroy()
Callback once dictionary destroy is complete (executed in the current tenant context)
|
void |
afterDictionaryInit()
Callback once dictionary initialisation is complete (executed in the current tenant context)
|
void |
bootstrap()
Bootstrap the Dictionary - register and populate
|
void |
onDictionaryInit()
Callback for (re-)initialising the Dictionary caches (executed in the current tenant context)
|
void |
setDictionaryDAO(DictionaryDAO dictionaryDAO)
Sets the Dictionary DAO
|
void |
setGlobalProperties(Properties globalProperties)
Sets the global properties
|
void |
setLabels(List<String> labels)
Sets the initial list of models to bootstrap with
|
void |
setModels(List<String> modelResources)
Sets the initial list of models to bootstrap with
|
void |
setTenantService(TenantService tenantService)
Sets the Tenant Service
|
public void setDictionaryDAO(DictionaryDAO dictionaryDAO)
dictionaryDAO - DictionaryDAOpublic void setTenantService(TenantService tenantService)
tenantService - TenantServicepublic void setGlobalProperties(Properties globalProperties)
globalProperties - public void setModels(List<String> modelResources)
modelResources - the model namespublic void setLabels(List<String> labels)
labels - the labelspublic void bootstrap()
public void onDictionaryInit()
DictionaryListeneronDictionaryInit in interface DictionaryListenerpublic void afterDictionaryInit()
DictionaryListenerafterDictionaryInit in interface DictionaryListenerpublic void afterDictionaryDestroy()
DictionaryListenerafterDictionaryDestroy in interface DictionaryListenerCopyright © 2005–2019 Alfresco Software. All rights reserved.