|
|||||||||
| 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()
|
org.alfresco.repo.dictionary.M2Model |
createM2Model(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Create a M2Model from a dictionary model node |
void |
destroy()
|
protected java.util.List |
getNodes(org.alfresco.service.cmr.repository.StoreRef storeRef,
RepositoryLocation repositoryLocation,
org.alfresco.service.namespace.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 org.alfresco.service.cmr.repository.NodeRef |
resolveQNameFolderPath(org.alfresco.service.cmr.repository.NodeRef rootNodeRef,
java.lang.String[] pathPrefixQNameStrings)
|
void |
setContentService(ContentService contentService)
Set the content service |
void |
setDictionaryDAO(org.alfresco.repo.dictionary.DictionaryDAO dictionaryDAO)
Sets the Dictionary DAO |
void |
setMessageService(MessageService messageService)
Set the message service |
void |
setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
Set the namespace service |
void |
setNodeService(org.alfresco.service.cmr.repository.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(org.alfresco.repo.dictionary.DictionaryDAO dictionaryDAO)
dictionaryDAO - public void setContentService(ContentService contentService)
contentService - the content servicepublic void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService - the node servicepublic void setTenantAdminService(TenantAdminService tenantAdminService)
tenantAdminService - the tenant admin servicepublic void setNamespaceService(org.alfresco.service.namespace.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 org.alfresco.repo.tenant.TenantDeployerpublic void destroy()
destroy in interface org.alfresco.repo.tenant.TenantDeployerpublic void onDictionaryInit()
onDictionaryInit in interface org.alfresco.repo.dictionary.DictionaryListenerpublic void afterDictionaryInit()
afterDictionaryInit in interface org.alfresco.repo.dictionary.DictionaryListenerpublic void afterDictionaryDestroy()
afterDictionaryDestroy in interface org.alfresco.repo.dictionary.DictionaryListenerpublic void initMessages()
initMessages in interface MessageDeployer
protected java.util.List getNodes(org.alfresco.service.cmr.repository.StoreRef storeRef,
RepositoryLocation repositoryLocation,
org.alfresco.service.namespace.QName nodeType)
public org.alfresco.repo.dictionary.M2Model createM2Model(org.alfresco.service.cmr.repository.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 org.alfresco.repo.tenant.TenantDeployerpublic void onDisableTenant()
onDisableTenant in interface org.alfresco.repo.tenant.TenantDeployerpublic void register()
protected void unregister()
protected org.alfresco.service.cmr.repository.NodeRef resolveQNameFolderPath(org.alfresco.service.cmr.repository.NodeRef rootNodeRef,
java.lang.String[] pathPrefixQNameStrings)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||