public class WorkflowInterpreter extends BaseInterpreter
authorityService, lastCommand, transactionService| Constructor and Description |
|---|
WorkflowInterpreter() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
executeCommand(java.lang.String line)
Execute a single command using the BufferedReader passed in for any data needed.
|
WorkflowDefinition |
getCurrentWorkflowDef()
Get currently used workflow definition
|
protected boolean |
hasAuthority(java.lang.String username) |
static void |
main(java.lang.String[] args)
Main entry point.
|
protected void |
onBootstrap(org.springframework.context.ApplicationEvent event) |
protected void |
onShutdown(org.springframework.context.ApplicationEvent event) |
void |
setAuthorityDAO(AuthorityDAO authorityDAO) |
void |
setAVMService(AVMService avmService) |
void |
setAVMSyncService(AVMSyncService avmSyncService) |
void |
setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService) |
void |
setFileFolderService(FileFolderService fileFolderService) |
void |
setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
setPersonService(PersonService personService) |
void |
setTenantService(org.alfresco.repo.tenant.TenantService tenantService) |
void |
setTransactionService(TransactionService transactionService) |
void |
setWorkflowService(WorkflowService workflowService) |
getConsoleBean, getCurrentUserName, interpretCommand, rep, runMain, runMain, setAuthorityService, setCurrentUserNameprotected void onBootstrap(org.springframework.context.ApplicationEvent event)
onBootstrap in class BaseInterpreterprotected void onShutdown(org.springframework.context.ApplicationEvent event)
onShutdown in class BaseInterpreterpublic void setWorkflowService(WorkflowService workflowService)
workflowService - The Workflow Servicepublic void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService - The Node Servicepublic void setTenantService(org.alfresco.repo.tenant.TenantService tenantService)
tenantService - The Tenant Servicepublic void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
dictionaryService - dictionaryServicepublic void setAVMService(AVMService avmService)
avmService - The AVM Servicepublic void setAVMSyncService(AVMSyncService avmSyncService)
avmSyncService - The AVM Sync Servicepublic void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
namespaceService - namespaceServicepublic void setPersonService(PersonService personService)
personService - personServicepublic void setTransactionService(TransactionService transactionService)
setTransactionService in class BaseInterpretertransactionService - transactionServicepublic void setAuthorityDAO(AuthorityDAO authorityDAO)
authorityDAO - authorityDAOpublic void setFileFolderService(FileFolderService fileFolderService)
fileFolderService - fileFolderServicepublic static void main(java.lang.String[] args)
protected boolean hasAuthority(java.lang.String username)
hasAuthority in class BaseInterpreterprotected java.lang.String executeCommand(java.lang.String line)
throws java.io.IOException
executeCommand in class BaseInterpreterline - The unparsed commandjava.io.IOExceptionpublic WorkflowDefinition getCurrentWorkflowDef()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.