public class AttributeConversionVM extends SurveyBaseVM
SurveyBaseVM.CanLeaveFormCompleteConfirmHandler, SurveyBaseVM.CanLeaveFormConfirmHandler, SurveyBaseVM.SurveyTypecurrentLanguageCode, DATE_FORMAT, fieldLabelKeyPrefixes, NODE_CONVERTED_GLOBAL_COMMAND, SCHEMA_CHANGED_GLOBAL_COMMAND, schemaUpdater, survey, SURVEY_CHANGED_GLOBAL_COMMAND, SURVEY_SAVED_GLOBAL_COMMAND, UNDO_LAST_CHANGES_GLOBAL_COMMAND, VALIDATE_ALL_GLOBAL_COMMAND, VERSIONS_UPDATED_GLOBAL_COMMANDCOLLECT_EARTH_PROJECT_FILE_CREATOR_LOADER, jobManager, userGroupManager, userManager| Constructor and Description |
|---|
AttributeConversionVM() |
| Modifier and Type | Method and Description |
|---|---|
void |
convert(org.zkoss.bind.BindContext ctx) |
AttributeDefinition |
getAttributeDefinition() |
List<String> |
getAttributeTypes() |
Map<String,String> |
getForm() |
String |
getOriginalAttributeTypeLabel() |
void |
init(AttributeDefinition attrDefn) |
static org.zkoss.zul.Window |
openPopup(AttributeDefinition attrDefn) |
void |
setForm(Map<String,String> form) |
protected boolean |
validateForm(org.zkoss.bind.BindContext ctx) |
checkCanLeaveForm, checkCanLeaveForm, checkCanLeaveForm, codeListsUpdated, createBasicModuleParameters, currentFormValidated, currentLanguageChanged, dispatchCurrentFormValidatedCommand, dispatchCurrentFormValidatedCommand, dispatchCurrentFormValidatedCommand, dispatchCurrentFormValidatedCommand, dispatchNodeConvertedCommand, dispatchSchemaChangedCommand, dispatchSurveyChangedCommand, dispatchTaxonomiesUpdatedCommand, dispatchValidateAllCommand, getCodeLists, getCurrentLanguageCode, getDateFormat, getDefaultLanguageCode, getEditableRecordStepNames, getExpressionValidator, getFormVersionIdsWithEmptyOption, getFormVersions, getFormVersionsWithEmptyOption, getRootEntities, getRootVM, getSurvey, getSurveyId, getTaxonomyNames, getUnitLabel, getUnitLabelFromPrecision, getUnits, getVersionLabel, init, initSurvey, isCollectEarthSurvey, isCurrentEditedSurvey, isCurrentFormBlocking, isCurrentFormValid, isDefaultLanguage, isSingleRootEntityDefined, isSurveyChanged, isSurveyPublished, isSurveyRelatedToPublishedSurvey, isSurveyStored, sortByName, surveyChanged, surveySaved, tabSetsUpdated, taxonomiesUpdated, undoLastChanges, undoLastChanges, unitsUpdated, versionsUpdatedclosePopUp, getComponentsPath, getDefaultPublicUserGroupItem, getFormFieldValue, getFormFieldValue, getInitParameter, getLoggedUser, getLoggedUsername, getSession, getSessionStatus, getUserGroupsModel, initUserGroupsModel, joinList, joinValues, notifyChange, openPopUp, openPopUp, prettyDateFormat, setFormFieldValue, setFormFieldValuepublic static org.zkoss.zul.Window openPopup(AttributeDefinition attrDefn)
public void init(AttributeDefinition attrDefn)
public void convert(org.zkoss.bind.BindContext ctx)
protected boolean validateForm(org.zkoss.bind.BindContext ctx)
public String getOriginalAttributeTypeLabel()
public AttributeDefinition getAttributeDefinition()
Copyright © 2022 Open Foris. All rights reserved.