org.alfresco.repo.forms.processor.workflow
Class TaskFormProcessor
java.lang.Object
org.alfresco.repo.forms.processor.AbstractFormProcessor
org.alfresco.repo.forms.processor.FilteredFormProcessor
org.alfresco.repo.forms.processor.node.ContentModelFormProcessor
org.alfresco.repo.forms.processor.workflow.AbstractWorkflowFormProcessor
org.alfresco.repo.forms.processor.workflow.TaskFormProcessor
- All Implemented Interfaces:
- FormProcessor
public class TaskFormProcessor
- extends AbstractWorkflowFormProcessor
FormProcessor implementation for workflow tasks.
- Since:
- 3.4
Methods inherited from class org.alfresco.repo.forms.processor.node.ContentModelFormProcessor |
addPropertyDataIfRequired, determineDefaultMimetype, generateDefaultFields, getAspectNames, makeItemData, persistNode, processAssociationPersist, processContentPropertyPersist, processEncodingPropertyPersist, processMimetypePropertyPersist, processNamePropertyPersist, processPropertyPersist, setContentService, setDictionaryService, setFileFolderService, setNamespaceService, setNodeService |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
authenticationService
protected AuthenticationService authenticationService
personService
protected PersonService personService
TaskFormProcessor
public TaskFormProcessor()
TaskFormProcessor
public TaskFormProcessor(WorkflowService workflowService,
org.alfresco.service.namespace.NamespaceService namespaceService,
org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService,
AuthenticationService authenticationService,
PersonService personService,
FieldProcessorRegistry fieldProcessorRegistry)
setAuthenticationService
public void setAuthenticationService(AuthenticationService authenticationService)
- Sets the authentication service
- Parameters:
authenticationService
- The AuthenticationService instance
setPersonService
public void setPersonService(PersonService personService)
- Sets the person service
- Parameters:
personService
- The PersonService instance
getTypedItemForDecodedId
protected WorkflowTask getTypedItemForDecodedId(java.lang.String itemId)
- Returns the typed item.
- Specified by:
getTypedItemForDecodedId
in class AbstractWorkflowFormProcessor
- Parameters:
itemId
- the decoded item Id.
- Returns:
getItemType
protected java.lang.String getItemType(WorkflowTask item)
- Returns a
String
describing the type fo the specified item.
- Specified by:
getItemType
in class FilteredFormProcessor
- Returns:
getItemURI
protected java.lang.String getItemURI(WorkflowTask item)
- Returns the URI location of the specified item.
- Specified by:
getItemURI
in class FilteredFormProcessor
- Returns:
getLogger
protected org.apache.commons.logging.Log getLogger()
- Retrieves a logger instance to log to.
- Specified by:
getLogger
in class FilteredFormProcessor
- Returns:
- Log instance to log to.
getBaseType
protected org.alfresco.service.cmr.dictionary.TypeDefinition getBaseType(WorkflowTask task)
- Specified by:
getBaseType
in class ContentModelFormProcessor
getPropertyValues
protected java.util.Map getPropertyValues(WorkflowTask task)
- Specified by:
getPropertyValues
in class ContentModelFormProcessor
getAssociationValues
protected java.util.Map getAssociationValues(WorkflowTask item)
- Specified by:
getAssociationValues
in class ContentModelFormProcessor
getTransientValues
protected java.util.Map getTransientValues(WorkflowTask item)
- Specified by:
getTransientValues
in class ContentModelFormProcessor
makeFormPersister
protected ContentModelFormPersister makeFormPersister(WorkflowTask item)
- Description copied from class:
AbstractWorkflowFormProcessor
- Returns an implementation of
ContentModelFormPersister
which is
used to accumulate all the changes specified in the Form
and then persist them.
- Specified by:
makeFormPersister
in class AbstractWorkflowFormProcessor
- Returns:
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.