|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.extensions.surf.util.AbstractLifecycleBean
org.alfresco.repo.dictionary.DictionaryRepositoryBootstrap
public class DictionaryRepositoryBootstrap
Bootstrap the dictionary from specified locations within the repository
| Field Summary |
|---|
| Fields inherited from class org.springframework.extensions.surf.util.AbstractLifecycleBean |
|---|
log |
| Constructor Summary | |
|---|---|
DictionaryRepositoryBootstrap()
|
|
| Method Summary | |
|---|---|
void |
afterDictionaryDestroy()
|
void |
afterDictionaryInit()
|
M2Model |
createM2Model(NodeRef nodeRef)
Create a M2Model from a dictionary model node |
void |
destroy()
|
protected java.util.List |
getNodes(StoreRef storeRef,
RepositoryLocation repositoryLocation,
QName nodeType)
|
void |
init()
Initialise - after bootstrap of schema and tenant admin service |
void |
initMessages()
|
protected void |
onBootstrap(org.springframework.context.ApplicationEvent event)
|
void |
onDictionaryInit()
|
void |
onDisableTenant()
|
void |
onEnableTenant()
|
protected void |
onShutdown(org.springframework.context.ApplicationEvent event)
|
void |
register()
Register |
protected NodeRef |
resolveQNameFolderPath(NodeRef rootNodeRef,
java.lang.String[] pathPrefixQNameStrings)
|
void |
setContentService(ContentService contentService)
Set the content service |
void |
setDictionaryDAO(DictionaryDAO dictionaryDAO)
Sets the Dictionary DAO |
void |
setMessageService(MessageService messageService)
Set the message service |
void |
setNamespaceService(NamespaceService namespaceService)
Set the namespace service |
void |
setNodeService(NodeService nodeService)
Set the node service |
void |
setRepositoryMessagesLocations(java.util.List repositoryLocations)
Set the repository messages (resource bundle) locations |
void |
setRepositoryModelsLocations(java.util.List repositoryLocations)
Set the repository models locations |
void |
setTenantAdminService(TenantAdminService tenantAdminService)
Set the tenant admin service |
void |
setTransactionService(TransactionService transactionService)
Set the transaction service |
protected void |
unregister()
Unregister |
| Methods inherited from class org.springframework.extensions.surf.util.AbstractLifecycleBean |
|---|
getApplicationContext, onApplicationEvent, setApplicationContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DictionaryRepositoryBootstrap()
| Method Detail |
|---|
public void setDictionaryDAO(DictionaryDAO dictionaryDAO)
dictionaryDAO - public void setContentService(ContentService contentService)
contentService - the content servicepublic void setNodeService(NodeService nodeService)
nodeService - the node servicepublic void setTenantAdminService(TenantAdminService tenantAdminService)
tenantAdminService - the tenant admin servicepublic void setNamespaceService(NamespaceService namespaceService)
namespaceService - the namespace servicepublic void setMessageService(MessageService messageService)
messageService - the message servicepublic void setTransactionService(TransactionService transactionService)
transactionService - the transaction servicepublic void setRepositoryModelsLocations(java.util.List repositoryLocations)
repositoryModelsLocations - list of the repository models locationspublic void setRepositoryMessagesLocations(java.util.List repositoryLocations)
repositoryLocations - list of the repository messages locationspublic void init()
init in interface TenantDeployerpublic void destroy()
destroy in interface TenantDeployerpublic void onDictionaryInit()
onDictionaryInit in interface DictionaryListenerpublic void afterDictionaryInit()
afterDictionaryInit in interface DictionaryListenerpublic void afterDictionaryDestroy()
afterDictionaryDestroy in interface DictionaryListenerpublic void initMessages()
initMessages in interface MessageDeployer
protected java.util.List getNodes(StoreRef storeRef,
RepositoryLocation repositoryLocation,
QName nodeType)
public M2Model createM2Model(NodeRef nodeRef)
nodeRef - the dictionary model node reference
protected void onBootstrap(org.springframework.context.ApplicationEvent event)
onBootstrap in class org.springframework.extensions.surf.util.AbstractLifecycleBeanprotected void onShutdown(org.springframework.context.ApplicationEvent event)
onShutdown in class org.springframework.extensions.surf.util.AbstractLifecycleBeanpublic void onEnableTenant()
onEnableTenant in interface TenantDeployerpublic void onDisableTenant()
onDisableTenant in interface TenantDeployerpublic void register()
protected void unregister()
protected NodeRef resolveQNameFolderPath(NodeRef rootNodeRef,
java.lang.String[] pathPrefixQNameStrings)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||