public class WorkflowInterpreter extends BaseInterpreter
authorityService, lastCommand, transactionService
Constructor and Description |
---|
WorkflowInterpreter() |
Modifier and Type | Method and Description |
---|---|
protected String |
executeCommand(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(String username) |
static void |
main(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 |
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, setCurrentUserName
protected void onBootstrap(org.springframework.context.ApplicationEvent event)
onBootstrap
in class BaseInterpreter
protected void onShutdown(org.springframework.context.ApplicationEvent event)
onShutdown
in class BaseInterpreter
public 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 setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
namespaceService
- namespaceServicepublic void setPersonService(PersonService personService)
personService
- personServicepublic void setTransactionService(TransactionService transactionService)
setTransactionService
in class BaseInterpreter
transactionService
- transactionServicepublic void setAuthorityDAO(AuthorityDAO authorityDAO)
authorityDAO
- authorityDAOpublic void setFileFolderService(FileFolderService fileFolderService)
fileFolderService
- fileFolderServicepublic static void main(String[] args)
protected boolean hasAuthority(String username)
hasAuthority
in class BaseInterpreter
protected String executeCommand(String line) throws IOException
executeCommand
in class BaseInterpreter
line
- The unparsed commandIOException
public WorkflowDefinition getCurrentWorkflowDef()
Copyright © 2005–2017 Alfresco Software. All rights reserved.