Package com.axemble.vdoc.sdk.impl
Class ProcessFieldController
java.lang.Object
com.axemble.vdoc.sdk.impl.AbstractElement
com.axemble.vdoc.sdk.impl.ProcessFieldController
- All Implemented Interfaces:
- IController,- IFieldController,- Serializable
Manage fields in process (in workflows, data universe)
- See Also:
- 
Field SummaryFields inherited from class com.axemble.vdoc.sdk.impl.AbstractElementmodule
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedProcessFieldController(IModule module, com.axemble.vdoc.core.domain.BaseDomain definitionObject) 
- 
Method SummaryModifier and TypeMethodDescriptionCreate an attachment field (necessarily multiple)createBooleanField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple) Create a boolean fieldcreateDateField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple) Create a date fieldcreateDoubleField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple) Create a double fieldcreateExternalElementField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple) Create an external element fieldcreateFloatField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple) Create a float fieldcreateGroupField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple) Create a group fieldcreateIntegerField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple) Create an integer fieldcreateLocalizationField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple) Create a localization fieldcreateLongField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple) Create a long fieldcreateMultilingualTextField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple) Create a multilingual text fieldcreateOrganizationField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple) Create an organization fieldcreatePeriodField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple) Create a period fieldcreateTextField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple, boolean createList) Create a text fieldcreateUserField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple) Create a user fieldvoidlinkFieldToWorkflow(IContext context, IProperty property) Link an existing field to the controller's definitionObject (mist be a workflow) The property must exist in the workflow's catalog !retrieveField(String name) Retrieve the field of the catalog/workflow/resource by its nameMethods inherited from class com.axemble.vdoc.sdk.impl.AbstractElementgetModule
- 
Constructor Details- 
ProcessFieldControllerprotected ProcessFieldController(IModule module, com.axemble.vdoc.core.domain.BaseDomain definitionObject) 
 
- 
- 
Method Details- 
createTextFieldpublic IProperty createTextField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple, boolean createList) Description copied from interface:IFieldControllerCreate a text field- Specified by:
- createTextFieldin interface- IFieldController
- Parameters:
- labels- a map that contains the language in the key (fr, en, ...) and the label in the value
- descriptions- a map that contains the language in the key (fr, en, ...) and the description in the value
- name- the field name
- isMultiple- true if the field contains a collection of value
- createList- true to create a list associated to the field (only if it is multiple)
- Returns:
- the created field
 
- 
createMultilingualTextFieldpublic IProperty createMultilingualTextField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple) Description copied from interface:IFieldControllerCreate a multilingual text field- Specified by:
- createMultilingualTextFieldin interface- IFieldController
- Parameters:
- labels- a map that contains the language in the key (fr, en, ...) and the label in the value
- descriptions- a map that contains the language in the key (fr, en, ...) and the description in the value
- name- the field name
- isMultiple- true if the field contains a collection of value
- Returns:
- the created field
 
- 
createIntegerFieldpublic IProperty createIntegerField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple) Description copied from interface:IFieldControllerCreate an integer field- Specified by:
- createIntegerFieldin interface- IFieldController
- Parameters:
- labels- a map that contains the language in the key (fr, en, ...) and the label in the value
- descriptions- a map that contains the language in the key (fr, en, ...) and the description in the value
- name- the field name
- isMultiple- true if the field contains a collection of value
- Returns:
- the created field
 
- 
createDoubleFieldpublic IProperty createDoubleField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple) Description copied from interface:IFieldControllerCreate a double field- Specified by:
- createDoubleFieldin interface- IFieldController
- Parameters:
- labels- a map that contains the language in the key (fr, en, ...) and the label in the value
- descriptions- a map that contains the language in the key (fr, en, ...) and the description in the value
- name- the field name
- isMultiple- true if the field contains a collection of value
- Returns:
- the created field
 
- 
createLongFieldpublic IProperty createLongField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple) Description copied from interface:IFieldControllerCreate a long field- Specified by:
- createLongFieldin interface- IFieldController
- Parameters:
- labels- a map that contains the language in the key (fr, en, ...) and the label in the value
- descriptions- a map that contains the language in the key (fr, en, ...) and the description in the value
- name- the field name
- isMultiple- true if the field contains a collection of value
- Returns:
- the created field
 
- 
createFloatFieldpublic IProperty createFloatField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple) Description copied from interface:IFieldControllerCreate a float field- Specified by:
- createFloatFieldin interface- IFieldController
- Parameters:
- labels- a map that contains the language in the key (fr, en, ...) and the label in the value
- descriptions- a map that contains the language in the key (fr, en, ...) and the description in the value
- name- the field name
- isMultiple- true if the field contains a collection of value
- Returns:
- the created field
 
- 
createBooleanFieldpublic IProperty createBooleanField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple) Description copied from interface:IFieldControllerCreate a boolean field- Specified by:
- createBooleanFieldin interface- IFieldController
- Parameters:
- labels- a map that contains the language in the key (fr, en, ...) and the label in the value
- descriptions- a map that contains the language in the key (fr, en, ...) and the description in the value
- name- the field name
- isMultiple- true if the field contains a collection of value
- Returns:
- the created field
 
- 
createDateFieldpublic IProperty createDateField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple) Description copied from interface:IFieldControllerCreate a date field- Specified by:
- createDateFieldin interface- IFieldController
- Parameters:
- labels- a map that contains the language in the key (fr, en, ...) and the label in the value
- descriptions- a map that contains the language in the key (fr, en, ...) and the description in the value
- name- the field name
- isMultiple- true if the field contains a collection of value
- Returns:
- the created field
 
- 
createPeriodFieldpublic IProperty createPeriodField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple) Description copied from interface:IFieldControllerCreate a period field- Specified by:
- createPeriodFieldin interface- IFieldController
- Parameters:
- labels- a map that contains the language in the key (fr, en, ...) and the label in the value
- descriptions- a map that contains the language in the key (fr, en, ...) and the description in the value
- name- the field name
- isMultiple- true if the field contains a collection of value
- Returns:
- the created field
 
- 
createExternalElementFieldpublic IProperty createExternalElementField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple) Description copied from interface:IFieldControllerCreate an external element field- Specified by:
- createExternalElementFieldin interface- IFieldController
- Parameters:
- labels- a map that contains the language in the key (fr, en, ...) and the label in the value
- descriptions- a map that contains the language in the key (fr, en, ...) and the description in the value
- name- the field name
- isMultiple- true if the field contains a collection of value
- Returns:
- the created field
 
- 
createAttachmentFieldpublic IProperty createAttachmentField(Map<String, String> labels, Map<String, String> descriptions, String name) Description copied from interface:IFieldControllerCreate an attachment field (necessarily multiple)- Specified by:
- createAttachmentFieldin interface- IFieldController
- Parameters:
- labels- a map that contains the language in the key (fr, en, ...) and the label in the value
- descriptions- a map that contains the language in the key (fr, en, ...) and the description in the value
- name- the field name
- Returns:
- the created field
 
- 
createUserFieldpublic IProperty createUserField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple) Description copied from interface:IFieldControllerCreate a user field- Specified by:
- createUserFieldin interface- IFieldController
- Parameters:
- labels- a map that contains the language in the key (fr, en, ...) and the label in the value
- descriptions- a map that contains the language in the key (fr, en, ...) and the description in the value
- name- the field name
- isMultiple- true if the field contains a collection of value
- Returns:
- the created field
 
- 
createGroupFieldpublic IProperty createGroupField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple) Description copied from interface:IFieldControllerCreate a group field- Specified by:
- createGroupFieldin interface- IFieldController
- Parameters:
- labels- a map that contains the language in the key (fr, en, ...) and the label in the value
- descriptions- a map that contains the language in the key (fr, en, ...) and the description in the value
- name- the field name
- isMultiple- true if the field contains a collection of value
- Returns:
- the created field
 
- 
createOrganizationFieldpublic IProperty createOrganizationField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple) Description copied from interface:IFieldControllerCreate an organization field- Specified by:
- createOrganizationFieldin interface- IFieldController
- Parameters:
- labels- a map that contains the language in the key (fr, en, ...) and the label in the value
- descriptions- a map that contains the language in the key (fr, en, ...) and the description in the value
- name- the field name
- isMultiple- true if the field contains a collection of value
- Returns:
- the created field
 
- 
createLocalizationFieldpublic IProperty createLocalizationField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple) Description copied from interface:IFieldControllerCreate a localization field- Specified by:
- createLocalizationFieldin interface- IFieldController
- Parameters:
- labels- a map that contains the language in the key (fr, en, ...) and the label in the value
- descriptions- a map that contains the language in the key (fr, en, ...) and the description in the value
- name- the field name
- isMultiple- true if the field contains a collection of value
- Returns:
- the created field
 
- 
linkFieldToWorkflowDescription copied from interface:IFieldControllerLink an existing field to the controller's definitionObject (mist be a workflow) The property must exist in the workflow's catalog !- Specified by:
- linkFieldToWorkflowin interface- IFieldController
- Parameters:
- context- the execution context
- property- the field to link
 
- 
retrieveFieldDescription copied from interface:IFieldControllerRetrieve the field of the catalog/workflow/resource by its name- Specified by:
- retrieveFieldin interface- IFieldController
- Parameters:
- name- the field's name
- Returns:
- the field if it exists, null if not
 
 
-