public class WorkflowFormProcessor extends AbstractWorkflowFormProcessor<WorkflowDefinition,WorkflowInstance>
behaviourFilter, workflowService
associationNamePattern, contentService, dictionaryService, fileFolderService, namespaceService, nodeService, permissionService, propertyNamePattern, transientPropertyPattern
fieldProcessorRegistry, filterRegistry
active, DESTINATION, matchPattern, patternMatcher, processorRegistry
Constructor and Description |
---|
WorkflowFormProcessor() |
Modifier and Type | Method and Description |
---|---|
protected Map<org.alfresco.service.namespace.QName,Serializable> |
getAssociationValues(WorkflowDefinition item) |
protected org.alfresco.service.cmr.dictionary.TypeDefinition |
getBaseType(WorkflowDefinition item) |
protected List<String> |
getDefaultIgnoredFields()
|
protected String |
getItemType(WorkflowDefinition item)
Returns a
String describing the type fo the specified item. |
protected String |
getItemURI(WorkflowDefinition 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(WorkflowDefinition item) |
protected Map<String,Object> |
getTransientValues(WorkflowDefinition item) |
protected WorkflowDefinition |
getTypedItemForDecodedId(String itemId)
Returns the typed item.
|
protected ContentModelFormPersister<WorkflowInstance> |
makeFormPersister(WorkflowDefinition item)
Returns an implementation of
ContentModelFormPersister which is
used to accumulate all the changes specified in the Form and then persist them. |
generateDefaultFields, generateSelectedFields, 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 Map<org.alfresco.service.namespace.QName,Serializable> getAssociationValues(WorkflowDefinition item)
getAssociationValues
in class ContentModelFormProcessor<WorkflowDefinition,WorkflowInstance>
protected org.alfresco.service.cmr.dictionary.TypeDefinition getBaseType(WorkflowDefinition item)
getBaseType
in class ContentModelFormProcessor<WorkflowDefinition,WorkflowInstance>
protected Map<org.alfresco.service.namespace.QName,Serializable> getPropertyValues(WorkflowDefinition item)
getPropertyValues
in class ContentModelFormProcessor<WorkflowDefinition,WorkflowInstance>
protected Map<String,Object> getTransientValues(WorkflowDefinition item)
getTransientValues
in class ContentModelFormProcessor<WorkflowDefinition,WorkflowInstance>
protected String getItemType(WorkflowDefinition item)
FilteredFormProcessor
String
describing the type fo the specified item.getItemType
in class FilteredFormProcessor<WorkflowDefinition,WorkflowInstance>
item
- ItemTypeprotected String getItemURI(WorkflowDefinition item)
FilteredFormProcessor
getItemURI
in class FilteredFormProcessor<WorkflowDefinition,WorkflowInstance>
item
- ItemTypeprotected org.apache.commons.logging.Log getLogger()
FilteredFormProcessor
getLogger
in class FilteredFormProcessor<WorkflowDefinition,WorkflowInstance>
protected WorkflowDefinition getTypedItemForDecodedId(String itemId)
AbstractWorkflowFormProcessor
getTypedItemForDecodedId
in class AbstractWorkflowFormProcessor<WorkflowDefinition,WorkflowInstance>
itemId
- the decoded item Id.protected ContentModelFormPersister<WorkflowInstance> makeFormPersister(WorkflowDefinition item)
AbstractWorkflowFormProcessor
ContentModelFormPersister
which is
used to accumulate all the changes specified in the Form
and then persist them.makeFormPersister
in class AbstractWorkflowFormProcessor<WorkflowDefinition,WorkflowInstance>
item
- ItemTypeprotected List<String> getDefaultIgnoredFields()
FilteredFormProcessor
Form
is generated with no field names specifically set then a default Form
is created.
The default Form
contains all the properties and associations related to the Item
, excluding a
blacklist of ignored fields which defaults to the return value of this method.
The default ignored values can be overridden by setting the property ignoredFields
.getDefaultIgnoredFields
in class AbstractWorkflowFormProcessor<WorkflowDefinition,WorkflowInstance>
Form
if no defaultFields
property is explicitly set.Copyright © 2005–2017 Alfresco Software. All rights reserved.