public class TaskFormProcessor extends AbstractWorkflowFormProcessor<WorkflowTask,WorkflowTask>
Modifier and Type | Field and Description |
---|---|
protected AuthenticationService |
authenticationService |
protected PersonService |
personService |
behaviourFilter, workflowService
associationNamePattern, contentService, dictionaryService, fileFolderService, namespaceService, nodeService, permissionService, propertyNamePattern, transientPropertyPattern
fieldProcessorRegistry, filterRegistry
active, 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 Map<org.alfresco.service.namespace.QName,Serializable> |
getAssociationValues(WorkflowTask item) |
protected org.alfresco.service.cmr.dictionary.TypeDefinition |
getBaseType(WorkflowTask task) |
protected String |
getItemType(WorkflowTask item)
Returns a
String describing the type fo the specified item. |
protected 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 Map<org.alfresco.service.namespace.QName,Serializable> |
getPropertyValues(WorkflowTask task) |
protected Map<String,Object> |
getTransientValues(WorkflowTask item) |
protected WorkflowTask |
getTypedItemForDecodedId(String itemId)
Returns the typed item.
|
protected ContentModelFormPersister<WorkflowTask> |
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
|
generateDefaultFields, generateSelectedFields, getDefaultIgnoredFields, getTypedItem, internalPersist, populateForm, setBehaviourFilter, setExtendedPropertyFieldProcessor, setWorkflowService
addPropertyDataIfRequired, determineDefaultMimetype, getAspectNames, makeItemData, persistNode, processAssociationPersist, processContentPropertyPersist, processEncodingPropertyPersist, processMimetypePropertyPersist, processNamePropertyPersist, processPropertyPersist, setContentService, setDictionaryService, setFileFolderService, setNamespaceService, setNodeService, setPermissionService
generate, internalGenerate, persist, setFieldProcessorRegistry, setFilterRegistry, setIgnoredFields
isActive, isApplicable, register, setActive, setFormItemType, setFormItemUrl, setMatchPattern, setProcessorRegistry, toString
protected 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(String itemId)
getTypedItemForDecodedId
in class AbstractWorkflowFormProcessor<WorkflowTask,WorkflowTask>
itemId
- the decoded item Id.protected String getItemType(WorkflowTask item)
String
describing the type fo the specified item.getItemType
in class FilteredFormProcessor<WorkflowTask,WorkflowTask>
item
- ItemTypeprotected String getItemURI(WorkflowTask item)
getItemURI
in class FilteredFormProcessor<WorkflowTask,WorkflowTask>
item
- ItemTypeprotected org.apache.commons.logging.Log getLogger()
getLogger
in class FilteredFormProcessor<WorkflowTask,WorkflowTask>
protected org.alfresco.service.cmr.dictionary.TypeDefinition getBaseType(WorkflowTask task)
getBaseType
in class ContentModelFormProcessor<WorkflowTask,WorkflowTask>
protected Map<org.alfresco.service.namespace.QName,Serializable> getPropertyValues(WorkflowTask task)
getPropertyValues
in class ContentModelFormProcessor<WorkflowTask,WorkflowTask>
protected Map<org.alfresco.service.namespace.QName,Serializable> getAssociationValues(WorkflowTask item)
getAssociationValues
in class ContentModelFormProcessor<WorkflowTask,WorkflowTask>
protected Map<String,Object> getTransientValues(WorkflowTask item)
getTransientValues
in class ContentModelFormProcessor<WorkflowTask,WorkflowTask>
protected ContentModelFormPersister<WorkflowTask> makeFormPersister(WorkflowTask item)
AbstractWorkflowFormProcessor
ContentModelFormPersister
which is
used to accumulate all the changes specified in the Form
and then persist them.makeFormPersister
in class AbstractWorkflowFormProcessor<WorkflowTask,WorkflowTask>
item
- ItemTypeCopyright © 2005–2017 Alfresco Software. All rights reserved.