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 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 name
- 
Method Details- 
createTextFieldIProperty 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 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
 
- 
createMultilingualTextFieldIProperty 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 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
 
- 
createIntegerFieldIProperty 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 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
 
- 
createDoubleFieldIProperty 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 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
 
- 
createLongFieldIProperty 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 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
 
- 
createFloatFieldIProperty 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 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
 
- 
createBooleanFieldIProperty 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 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
 
- 
createDateFieldIProperty 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 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
 
- 
createPeriodFieldIProperty 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 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
 
- 
createExternalElementFieldIProperty 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 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
 
- 
createAttachmentFieldIProperty 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 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
 
- 
createUserFieldIProperty 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 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
 
- 
createGroupFieldIProperty 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 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
 
- 
createOrganizationFieldIProperty 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 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
 
- 
createLocalizationFieldIProperty 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 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
 
- 
linkFieldToWorkflowLink 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 context
- property- the field to link
 
- 
retrieveFieldRetrieve 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
 
 
-