Class RecordsManagementFormFilter<ItemType>
java.lang.Object
org.alfresco.repo.forms.processor.AbstractFilter<ItemType,NodeRef>
org.alfresco.module.org_alfresco_module_rm.forms.RecordsManagementFormFilter<ItemType>
- Direct Known Subclasses:
RecordsManagementNodeFormFilter
,RecordsManagementTypeFormFilter
public abstract class RecordsManagementFormFilter<ItemType>
extends AbstractFilter<ItemType,NodeRef>
Abstract base class for records management related form filter
implementations.
- Author:
- Gavin Cornwell
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
protected DictionaryService
protected NamespaceService
protected NodeService
protected RecordService
static final String
protected RecordsManagementAdminService
protected RecordsManagementServiceRegistry
Fields inherited from class org.alfresco.repo.forms.processor.AbstractFilter
active, filterRegistry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addPropertyFieldsToGroup
(Form form, Map<QName, PropertyDefinition> props, String setId, String setLabel) Add property fields to groupvoid
afterPersist
(ItemType item, FormData data, NodeRef persistedObject) void
beforeGenerate
(ItemType item, List<String> fields, List<String> forcedFields, Form form, Map<String, Object> context) void
beforePersist
(ItemType item, FormData data) void
setDictionaryService
(DictionaryService dictionaryService) void
setNamespaceService
(NamespaceService namespaceService) Sets the NamespaceService instancevoid
setNodeService
(NodeService nodeService) Sets the node servicevoid
setRecordService
(RecordService recordService) void
setRecordsManagementAdminService
(RecordsManagementAdminService rmAdminService) Sets the RecordsManagementAdminService instancevoid
setRecordsManagementServiceRegistry
(RecordsManagementServiceRegistry rmServiceRegistry) Sets the RecordsManagementServiceRegistry instanceMethods inherited from class org.alfresco.repo.forms.processor.AbstractFilter
isActive, register, setActive, setFilterRegistry, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.alfresco.repo.forms.processor.Filter
afterGenerate
-
Field Details
-
CUSTOM_RM_FIELD_GROUP_ID
- See Also:
-
RM_METADATA_PREFIX
- See Also:
-
namespaceService
-
nodeService
-
rmServiceRegistry
-
rmAdminService
-
recordService
-
dictionaryService
-
-
Constructor Details
-
RecordsManagementFormFilter
public RecordsManagementFormFilter()
-
-
Method Details
-
setNamespaceService
Sets the NamespaceService instance- Parameters:
namespaceService
- The NamespaceService instance
-
setNodeService
Sets the node service- Parameters:
nodeService
- The NodeService instance
-
setRecordsManagementServiceRegistry
Sets the RecordsManagementServiceRegistry instance- Parameters:
rmServiceRegistry
- The RecordsManagementServiceRegistry instance
-
setRecordsManagementAdminService
Sets the RecordsManagementAdminService instance- Parameters:
rmAdminService
- The RecordsManagementAdminService instance
-
setRecordService
- Parameters:
recordService
- record service
-
setDictionaryService
- Parameters:
dictionaryService
- dictionary service
-
addPropertyFieldsToGroup
protected void addPropertyFieldsToGroup(Form form, Map<QName, PropertyDefinition> props, String setId, String setLabel) Add property fields to group- Parameters:
form
-props
-setId
-
-
beforePersist
-
beforeGenerate
-
afterPersist
-