public class TaskFormProcessor extends AbstractWorkflowFormProcessor
| Modifier and Type | Field and Description |
|---|---|
protected AuthenticationService |
authenticationService |
protected PersonService |
personService |
behaviourFilter, workflowServiceassociationNamePattern, contentService, dictionaryService, fileFolderService, namespaceService, nodeService, propertyNamePattern, transientPropertyPatternfieldProcessorRegistry, filterRegistryactive, DESTINATION, matchPattern, patternMatcher, processorRegistry| Constructor and Description |
|---|
TaskFormProcessor() |
TaskFormProcessor(WorkflowService workflowService,
org.alfresco.service.namespace.NamespaceService namespaceService,
org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService,
AuthenticationService authenticationService,
PersonService personService,
FieldProcessorRegistry fieldProcessorRegistry) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Map |
getAssociationValues(WorkflowTask item) |
protected org.alfresco.service.cmr.dictionary.TypeDefinition |
getBaseType(WorkflowTask task) |
protected java.lang.String |
getItemType(WorkflowTask item)
Returns a
String describing the type fo the specified item. |
protected java.lang.String |
getItemURI(WorkflowTask item)
Returns the URI location of the specified item.
|
protected org.apache.commons.logging.Log |
getLogger()
Retrieves a logger instance to log to.
|
protected java.util.Map |
getPropertyValues(WorkflowTask task) |
protected java.util.Map |
getTransientValues(WorkflowTask item) |
protected WorkflowTask |
getTypedItemForDecodedId(java.lang.String itemId)
Returns the typed item.
|
protected ContentModelFormPersister |
makeFormPersister(WorkflowTask item)
Returns an implementation of
ContentModelFormPersister which is
used to accumulate all the changes specified in the Form and then persist them. |
void |
setAuthenticationService(AuthenticationService authenticationService)
Sets the authentication service
|
void |
setPersonService(PersonService personService)
Sets the person service
|
getDefaultIgnoredFields, getTypedItem, internalPersist, populateForm, setBehaviourFilter, setWorkflowServiceaddPropertyDataIfRequired, determineDefaultMimetype, generateDefaultFields, getAspectNames, makeItemData, persistNode, processAssociationPersist, processContentPropertyPersist, processEncodingPropertyPersist, processMimetypePropertyPersist, processNamePropertyPersist, processPropertyPersist, setContentService, setDictionaryService, setFileFolderService, setNamespaceService, setNodeServicegenerate, generateSelectedFields, internalGenerate, persist, setFieldProcessorRegistry, setFilterRegistry, setIgnoredFieldsisActive, isApplicable, register, setActive, setFormItemType, setFormItemUrl, setMatchPattern, setProcessorRegistry, toStringprotected AuthenticationService authenticationService
protected PersonService personService
public TaskFormProcessor()
public TaskFormProcessor(WorkflowService workflowService, org.alfresco.service.namespace.NamespaceService namespaceService, org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService, AuthenticationService authenticationService, PersonService personService, FieldProcessorRegistry fieldProcessorRegistry)
public void setAuthenticationService(AuthenticationService authenticationService)
authenticationService - The AuthenticationService instancepublic void setPersonService(PersonService personService)
personService - The PersonService instanceprotected WorkflowTask getTypedItemForDecodedId(java.lang.String itemId)
getTypedItemForDecodedId in class AbstractWorkflowFormProcessoritemId - the decoded item Id.protected java.lang.String getItemType(WorkflowTask item)
String describing the type fo the specified item.getItemType in class FilteredFormProcessorprotected java.lang.String getItemURI(WorkflowTask item)
getItemURI in class FilteredFormProcessorprotected org.apache.commons.logging.Log getLogger()
getLogger in class FilteredFormProcessorprotected org.alfresco.service.cmr.dictionary.TypeDefinition getBaseType(WorkflowTask task)
getBaseType in class ContentModelFormProcessorprotected java.util.Map getPropertyValues(WorkflowTask task)
getPropertyValues in class ContentModelFormProcessorprotected java.util.Map getAssociationValues(WorkflowTask item)
getAssociationValues in class ContentModelFormProcessorprotected java.util.Map getTransientValues(WorkflowTask item)
getTransientValues in class ContentModelFormProcessorprotected ContentModelFormPersister makeFormPersister(WorkflowTask item)
AbstractWorkflowFormProcessorContentModelFormPersister which is
used to accumulate all the changes specified in the Form and then persist them.makeFormPersister in class AbstractWorkflowFormProcessorCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.