public class DictionaryBootstrap extends java.lang.Object implements DictionaryListener
Constructor and Description |
---|
DictionaryBootstrap() |
Modifier and Type | Method and Description |
---|---|
void |
afterDictionaryDestroy() |
void |
afterDictionaryInit() |
void |
bootstrap()
Bootstrap the Dictionary - register and populate
|
void |
onDictionaryInit() |
void |
register()
Register with the Dictionary
|
void |
setDictionaryDAO(DictionaryDAO dictionaryDAO)
Sets the Dictionary DAO
|
void |
setLabels(java.util.List labels)
Sets the initial list of models to bootstrap with
|
void |
setModels(java.util.List modelResources)
Sets the initial list of models to bootstrap with
|
void |
setTenantService(TenantService tenantService)
Sets the Tenant Service
|
public void setDictionaryDAO(DictionaryDAO dictionaryDAO)
dictionaryDAO
- public void setTenantService(TenantService tenantService)
tenantService
- public void setModels(java.util.List modelResources)
modelResources
- the model namespublic void setLabels(java.util.List labels)
modelResources
- the model namespublic void bootstrap()
public void register()
public void onDictionaryInit()
onDictionaryInit
in interface DictionaryListener
public void afterDictionaryInit()
afterDictionaryInit
in interface DictionaryListener
public void afterDictionaryDestroy()
afterDictionaryDestroy
in interface DictionaryListener
Copyright © 2005 - 2013 Alfresco Software, Inc. All Rights Reserved.