Package com.axemble.vdoc.sdk.interfaces
Interface IFieldController
- All Superinterfaces:
IController
,Serializable
- All Known Implementing Classes:
ProcessFieldController
Help to manage fields in a Process workflow opr data universe
-
Method Summary
Modifier 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 fieldvoid
linkFieldToWorkflow
(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 name
-
Method Details
-
createTextField
IProperty createTextField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple, boolean createList) Create a text field- Parameters:
labels
- a map that contains the language in the key (fr, en, ...) and the label in the valuedescriptions
- a map that contains the language in the key (fr, en, ...) and the description in the valuename
- the field nameisMultiple
- true if the field contains a collection of valuecreateList
- true to create a list associated to the field (only if it is multiple)- Returns:
- the created field
-
createMultilingualTextField
IProperty createMultilingualTextField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple) Create a multilingual text field- Parameters:
labels
- a map that contains the language in the key (fr, en, ...) and the label in the valuedescriptions
- a map that contains the language in the key (fr, en, ...) and the description in the valuename
- the field nameisMultiple
- true if the field contains a collection of value- Returns:
- the created field
-
createIntegerField
IProperty createIntegerField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple) Create an integer field- Parameters:
labels
- a map that contains the language in the key (fr, en, ...) and the label in the valuedescriptions
- a map that contains the language in the key (fr, en, ...) and the description in the valuename
- the field nameisMultiple
- true if the field contains a collection of value- Returns:
- the created field
-
createDoubleField
IProperty createDoubleField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple) Create a double field- Parameters:
labels
- a map that contains the language in the key (fr, en, ...) and the label in the valuedescriptions
- a map that contains the language in the key (fr, en, ...) and the description in the valuename
- the field nameisMultiple
- true if the field contains a collection of value- Returns:
- the created field
-
createLongField
IProperty createLongField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple) Create a long field- Parameters:
labels
- a map that contains the language in the key (fr, en, ...) and the label in the valuedescriptions
- a map that contains the language in the key (fr, en, ...) and the description in the valuename
- the field nameisMultiple
- true if the field contains a collection of value- Returns:
- the created field
-
createFloatField
IProperty createFloatField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple) Create a float field- Parameters:
labels
- a map that contains the language in the key (fr, en, ...) and the label in the valuedescriptions
- a map that contains the language in the key (fr, en, ...) and the description in the valuename
- the field nameisMultiple
- true if the field contains a collection of value- Returns:
- the created field
-
createBooleanField
IProperty createBooleanField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple) Create a boolean field- Parameters:
labels
- a map that contains the language in the key (fr, en, ...) and the label in the valuedescriptions
- a map that contains the language in the key (fr, en, ...) and the description in the valuename
- the field nameisMultiple
- true if the field contains a collection of value- Returns:
- the created field
-
createDateField
IProperty createDateField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple) Create a date field- Parameters:
labels
- a map that contains the language in the key (fr, en, ...) and the label in the valuedescriptions
- a map that contains the language in the key (fr, en, ...) and the description in the valuename
- the field nameisMultiple
- true if the field contains a collection of value- Returns:
- the created field
-
createPeriodField
IProperty createPeriodField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple) Create a period field- Parameters:
labels
- a map that contains the language in the key (fr, en, ...) and the label in the valuedescriptions
- a map that contains the language in the key (fr, en, ...) and the description in the valuename
- the field nameisMultiple
- true if the field contains a collection of value- Returns:
- the created field
-
createExternalElementField
IProperty createExternalElementField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple) Create an external element field- Parameters:
labels
- a map that contains the language in the key (fr, en, ...) and the label in the valuedescriptions
- a map that contains the language in the key (fr, en, ...) and the description in the valuename
- the field nameisMultiple
- true if the field contains a collection of value- Returns:
- the created field
-
createAttachmentField
IProperty createAttachmentField(Map<String, String> labels, Map<String, String> descriptions, String name) Create an attachment field (necessarily multiple)- Parameters:
labels
- a map that contains the language in the key (fr, en, ...) and the label in the valuedescriptions
- a map that contains the language in the key (fr, en, ...) and the description in the valuename
- the field name- Returns:
- the created field
-
createUserField
IProperty createUserField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple) Create a user field- Parameters:
labels
- a map that contains the language in the key (fr, en, ...) and the label in the valuedescriptions
- a map that contains the language in the key (fr, en, ...) and the description in the valuename
- the field nameisMultiple
- true if the field contains a collection of value- Returns:
- the created field
-
createGroupField
IProperty createGroupField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple) Create a group field- Parameters:
labels
- a map that contains the language in the key (fr, en, ...) and the label in the valuedescriptions
- a map that contains the language in the key (fr, en, ...) and the description in the valuename
- the field nameisMultiple
- true if the field contains a collection of value- Returns:
- the created field
-
createOrganizationField
IProperty createOrganizationField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple) Create an organization field- Parameters:
labels
- a map that contains the language in the key (fr, en, ...) and the label in the valuedescriptions
- a map that contains the language in the key (fr, en, ...) and the description in the valuename
- the field nameisMultiple
- true if the field contains a collection of value- Returns:
- the created field
-
createLocalizationField
IProperty createLocalizationField(Map<String, String> labels, Map<String, String> descriptions, String name, boolean isMultiple) Create a localization field- Parameters:
labels
- a map that contains the language in the key (fr, en, ...) and the label in the valuedescriptions
- a map that contains the language in the key (fr, en, ...) and the description in the valuename
- the field nameisMultiple
- true if the field contains a collection of value- Returns:
- the created field
-
linkFieldToWorkflow
Link an existing field to the controller's definitionObject (mist be a workflow) The property must exist in the workflow's catalog !- Parameters:
context
- the execution contextproperty
- the field to link
-
retrieveField
Retrieve the field of the catalog/workflow/resource by its name- Parameters:
name
- the field's name- Returns:
- the field if it exists, null if not
-