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()
DictionaryListener
onDictionaryInit
in interface DictionaryListener
public void afterDictionaryInit()
DictionaryListener
afterDictionaryInit
in interface DictionaryListener
public void afterDictionaryDestroy()
DictionaryListener
afterDictionaryDestroy
in interface DictionaryListener
Copyright © 2005–2018 Alfresco Software. All rights reserved.