Class EntityDefinitionVM
java.lang.Object
org.openforis.collect.designer.viewmodel.BaseVM
org.openforis.collect.designer.viewmodel.SurveyBaseVM
org.openforis.collect.designer.viewmodel.SurveyObjectBaseVM<EntityDefinition>
org.openforis.collect.designer.viewmodel.NodeDefinitionVM<EntityDefinition>
org.openforis.collect.designer.viewmodel.EntityDefinitionVM
- 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.NodeDefinitionVM
FORM_CONTAINER_ID, MULTIPLE_FIELD_NAME, parentEntity, tempFormObjectFields inherited from class org.openforis.collect.designer.viewmodel.SurveyObjectBaseVM
APPLY_CHANGES_COMMAND, changed, COMMIT_CHANGES_COMMAND, commitChangesOnApply, editedItem, formObject, newItem, selectedItem, VALIDATE_COMMANDFields 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 TypeMethodDescriptionprotected SurveyObjectFormObject<EntityDefinition> voidinit(EntityDefinition parentEntity, EntityDefinition attributeDefn, Boolean newItem, Boolean doNotCommitChangesImmediately) voidmultipleChanged(org.zkoss.bind.Binder binder, Boolean multiple) Methods inherited from class org.openforis.collect.designer.viewmodel.NodeDefinitionVM
addNewItemToSurvey, checkNodeAttached, closeVersioningManagerPopUp, commitChanges, createItemInstance, currentLanguageChanged, deleteItemFromSurvey, getAttributeType, getAttributeTypeLabel, getAttributeTypeLabel, getDependentNodeInfos, getDependentNodes, getInstanceLabel, getItemsInternal, getNodeType, getTempFormObject, getTempFormObjectFieldValue, initInternal, isAttribute, isCodeAttribute, isInsideTableEntity, isKeyAllowed, isMultipleFieldEditingDisabled, isParentEntityRoot, isPredefinedCollectEarthAttribute, isRequiredApplied, isRootEntity, moveSelectedItemInSurvey, nameChanged, setTempFormObjectFieldValue, singleInstanceLabelChange, tabChanged, tabSetChanged, validateFormMethods inherited from class org.openforis.collect.designer.viewmodel.SurveyObjectBaseVM
applyChanges, deleteItem, dispatchApplyChangesCommand, dispatchValidateCommand, doAfterCompose, getConfirmDeleteMessageKey, getEditedItem, getFormObject, getItems, getNameTextbox, getSelectedItem, getSelectedItemIndex, isChanged, isCommitChangesOnApply, isEditingItem, isMoveSelectedItemDownDisabled, isMoveSelectedItemUpDisabled, isNewItem, moveSelectedItem, moveSelectedItem, moveSelectedItemDown, moveSelectedItemUp, newItem, performDeleteItem, performItemSelection, performNewItemCreation, resetEditedItem, selectionChanged, setCommitChangesOnApply, setEditedItem, setFocusOnNameTextbox, setSelectedItem, suggestInternalName, suggestLabel, undoLastChanges, validate, validateAllMethods inherited from class org.openforis.collect.designer.viewmodel.SurveyBaseVM
checkCanLeaveForm, checkCanLeaveForm, checkCanLeaveForm, codeListsUpdated, createBasicModuleParameters, currentFormValidated, 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, init, initSurvey, isCollectEarthSurvey, isCurrentEditedSurvey, isCurrentFormBlocking, isCurrentFormValid, isDefaultLanguage, isSingleRootEntityDefined, isSurveyChanged, isSurveyPublished, isSurveyRelatedToPublishedSurvey, isSurveyStored, sortByName, surveyChanged, surveySaved, tabSetsUpdated, taxonomiesUpdated, 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
-
EntityDefinitionVM
public EntityDefinitionVM()
-
-
Method Details
-
init
public void init(EntityDefinition parentEntity, EntityDefinition attributeDefn, Boolean newItem, Boolean doNotCommitChangesImmediately) -
createFormObject
- Specified by:
createFormObjectin classSurveyObjectBaseVM<EntityDefinition>
-
multipleChanged
- Overrides:
multipleChangedin classNodeDefinitionVM<EntityDefinition>
-