|
|||||||||
| 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.workflow.WorkflowDeployer
public class WorkflowDeployer
Alfresco bootstrap Process deployment.
| Field Summary | |
|---|---|
static java.lang.String |
CRITERIA_ALL
|
static java.lang.String |
defaultSubtypeOfWorkflowDefinitionType
|
static java.lang.String |
ENGINE_ID
|
static java.lang.String |
LOCATION
|
static java.lang.String |
MIMETYPE
|
static java.lang.String |
REDEPLOY
|
| Fields inherited from class org.springframework.extensions.surf.util.AbstractLifecycleBean |
|---|
log |
| Constructor Summary | |
|---|---|
WorkflowDeployer()
|
|
| Method Summary | |
|---|---|
void |
deploy(org.alfresco.service.cmr.repository.NodeRef nodeRef,
boolean redeploy)
|
java.util.List |
getWorkflowDefinitions()
|
void |
init()
Deploy the Workflow Definitions |
protected void |
onBootstrap(org.springframework.context.ApplicationEvent event)
|
protected void |
onShutdown(org.springframework.context.ApplicationEvent event)
|
void |
setAllowWrite(boolean write)
Set whether we write or not |
void |
setAuthenticationContext(AuthenticationContext authenticationContext)
Set the authentication component |
void |
setDictionaryDAO(org.alfresco.repo.dictionary.DictionaryDAO dictionaryDAO)
Sets the Dictionary DAO |
void |
setLabels(java.util.List labels)
Sets the initial list of Workflow resource bundles to bootstrap with |
void |
setModels(java.util.List modelResources)
Sets the initial list of Workflow models to bootstrap with |
void |
setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
|
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
|
void |
setRepositoryWorkflowDefsLocations(RepositoryLocation repoWorkflowDefsLocation)
|
void |
setSearchService(org.alfresco.service.cmr.search.SearchService searchService)
|
void |
setTenantAdminService(TenantAdminService tenantAdminService)
Sets the tenant admin service |
void |
setTenantService(org.alfresco.repo.tenant.TenantService tenantService)
Sets the tenant service |
void |
setTransactionService(TransactionService transactionService)
Sets the Transaction Service |
void |
setWorkflowDefinitions(java.util.List workflowDefinitions)
Sets the Workflow Definitions |
void |
setWorkflowService(WorkflowService workflowService)
Sets the namespace service |
void |
undeploy(org.alfresco.service.cmr.repository.NodeRef nodeRef)
|
| 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 |
| Field Detail |
|---|
public static final java.lang.String ENGINE_ID
public static final java.lang.String LOCATION
public static final java.lang.String MIMETYPE
public static final java.lang.String REDEPLOY
public static final java.lang.String CRITERIA_ALL
public static final java.lang.String defaultSubtypeOfWorkflowDefinitionType
| Constructor Detail |
|---|
public WorkflowDeployer()
| Method Detail |
|---|
public void setAllowWrite(boolean write)
write - true (default) if the import must go ahead, otherwise no import will occurpublic void setTransactionService(TransactionService transactionService)
userTransaction - the transaction servicepublic void setWorkflowService(WorkflowService workflowService)
namespaceService - the namespace servicepublic void setAuthenticationContext(AuthenticationContext authenticationContext)
authenticationContext - public void setDictionaryDAO(org.alfresco.repo.dictionary.DictionaryDAO dictionaryDAO)
dictionaryDAO - public void setTenantAdminService(TenantAdminService tenantAdminService)
tenantService - the tenant admin servicepublic void setTenantService(org.alfresco.repo.tenant.TenantService tenantService)
tenantService - the tenant servicepublic void setWorkflowDefinitions(java.util.List workflowDefinitions)
workflowDefinitions - public void setModels(java.util.List modelResources)
modelResources - the model namespublic void setLabels(java.util.List labels)
modelResources - the model namespublic java.util.List getWorkflowDefinitions()
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
public void setSearchService(org.alfresco.service.cmr.search.SearchService searchService)
public void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
public void setRepositoryWorkflowDefsLocations(RepositoryLocation repoWorkflowDefsLocation)
public void init()
public void deploy(org.alfresco.service.cmr.repository.NodeRef nodeRef,
boolean redeploy)
public void undeploy(org.alfresco.service.cmr.repository.NodeRef nodeRef)
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.AbstractLifecycleBean
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||