Class SchemaAttributesImportVM
java.lang.Object
org.openforis.collect.designer.viewmodel.BaseVM
org.openforis.collect.designer.viewmodel.SurveyBaseVM
org.openforis.collect.designer.viewmodel.BaseSurveyFileImportVM
org.openforis.collect.designer.viewmodel.SchemaAttributesImportVM
- Author:
- S. Ricci
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openforis.collect.designer.viewmodel.SurveyBaseVM
SurveyBaseVM.CanLeaveFormCompleteConfirmHandler, SurveyBaseVM.CanLeaveFormConfirmHandler, SurveyBaseVM.SurveyType -
Field Summary
Fields inherited from class org.openforis.collect.designer.viewmodel.BaseSurveyFileImportVM
uploadedFile, uploadedFileNameFields inherited from class org.openforis.collect.designer.viewmodel.SurveyBaseVM
currentLanguageCode, 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_COMMANDFields inherited from class org.openforis.collect.designer.viewmodel.BaseVM
COLLECT_EARTH_PROJECT_FILE_CREATOR_LOADER, jobManager, userGroupManager, userManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidimportAttributes(org.zkoss.bind.BindContext ctx) voidinit()booleanbooleanvoidvoidsetBooleanAsCode(boolean booleanAsCode) voidsetLabelsInSecondRow(boolean labelsInSecondRow) Methods inherited from class org.openforis.collect.designer.viewmodel.BaseSurveyFileImportVM
downloadExample, fileUploaded, getUploadedFileName, reset, validateFormMethods inherited from class org.openforis.collect.designer.viewmodel.SurveyBaseVM
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, getUnitLabel, getUnitLabelFromName, getUnitLabelFromPrecision, getUnitNames, getUnits, getVersionLabel, initSurvey, isCollectEarthSurvey, isCurrentEditedSurvey, isCurrentFormBlocking, isCurrentFormValid, isDefaultLanguage, isSingleRootEntityDefined, isSurveyChanged, isSurveyPublished, isSurveyRelatedToPublishedSurvey, isSurveyStored, sortByName, surveyChanged, surveySaved, tabSetsUpdated, taxonomiesUpdated, undoLastChanges, undoLastChanges, unitsUpdated, versionsUpdatedMethods inherited from class org.openforis.collect.designer.viewmodel.BaseVM
closePopUp, getComponentsPath, getDefaultPublicUserGroupItem, getFormFieldValue, getFormFieldValue, getInitParameter, getLoggedUser, getLoggedUsername, getSession, getSessionStatus, getUserGroupsModel, initUserGroupsModel, joinList, joinValues, notifyChange, openPopUp, openPopUp, prettyDateFormat, setFormFieldValue, setFormFieldValue
-
Constructor Details
-
SchemaAttributesImportVM
public SchemaAttributesImportVM()
-
-
Method Details
-
init
public void init()- Overrides:
initin classBaseSurveyFileImportVM
-
importAttributes
public void importAttributes(org.zkoss.bind.BindContext ctx) -
openParentEntitySelectionButton
public void openParentEntitySelectionButton() -
getParentEntityDefinitionPath
-
isBooleanAsCode
public boolean isBooleanAsCode() -
setBooleanAsCode
public void setBooleanAsCode(boolean booleanAsCode) -
isLabelsInSecondRow
public boolean isLabelsInSecondRow() -
setLabelsInSecondRow
public void setLabelsInSecondRow(boolean labelsInSecondRow)
-