public class AttributeDefaultVM extends SurveyObjectPopUpVM<AttributeDefault>
SurveyBaseVM.CanLeaveFormCompleteConfirmHandler, SurveyBaseVM.CanLeaveFormConfirmHandler, SurveyBaseVM.SurveyType| Modifier and Type | Field and Description |
|---|---|
protected AttributeDefinition |
parentDefinition |
APPLY_CHANGES_COMMAND, changed, COMMIT_CHANGES_COMMAND, commitChangesOnApply, editedItem, formObject, newItem, selectedItem, VALIDATE_COMMANDcurrentLanguageCode, 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 |
|---|
AttributeDefaultVM() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addNewItemToSurvey() |
protected FormObject<AttributeDefault> |
createFormObject() |
protected AttributeDefault |
createItemInstance() |
protected void |
deleteItemFromSurvey(AttributeDefault item) |
protected void |
dispatchChangesAppliedCommand(boolean ignoreUnsavedChanges) |
protected void |
dispatchChangesCancelledCommand() |
protected List<AttributeDefault> |
getItemsInternal() |
void |
init(org.zkoss.bind.Binder binder,
AttributeDefinition parentDefinition,
AttributeDefault attributeDefault,
Boolean newItem) |
protected void |
moveSelectedItemInSurvey(int indexTo) |
apply, cancel, closeapplyChanges, commitChanges, currentLanguageChanged, 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, validateAll, validateFormcheckCanLeaveForm, 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, getUnitLabelFromPrecision, getUnits, getVersionLabel, init, initSurvey, isCollectEarthSurvey, isCurrentEditedSurvey, isCurrentFormBlocking, isCurrentFormValid, isDefaultLanguage, isSingleRootEntityDefined, isSurveyChanged, isSurveyPublished, isSurveyRelatedToPublishedSurvey, isSurveyStored, sortByName, surveyChanged, surveySaved, tabSetsUpdated, taxonomiesUpdated, undoLastChanges, unitsUpdated, versionsUpdatedclosePopUp, getComponentsPath, getDefaultPublicUserGroupItem, getFormFieldValue, getFormFieldValue, getInitParameter, getLoggedUser, getLoggedUsername, getSession, getSessionStatus, getUserGroupsModel, initUserGroupsModel, joinList, joinValues, notifyChange, openPopUp, openPopUp, prettyDateFormat, setFormFieldValue, setFormFieldValueprotected AttributeDefinition parentDefinition
public void init(org.zkoss.bind.Binder binder,
AttributeDefinition parentDefinition,
AttributeDefault attributeDefault,
Boolean newItem)
protected FormObject<AttributeDefault> createFormObject()
createFormObject in class SurveyObjectBaseVM<AttributeDefault>protected List<AttributeDefault> getItemsInternal()
getItemsInternal in class SurveyObjectBaseVM<AttributeDefault>protected AttributeDefault createItemInstance()
createItemInstance in class SurveyObjectBaseVM<AttributeDefault>protected void addNewItemToSurvey()
addNewItemToSurvey in class SurveyObjectBaseVM<AttributeDefault>protected void deleteItemFromSurvey(AttributeDefault item)
deleteItemFromSurvey in class SurveyObjectBaseVM<AttributeDefault>protected void moveSelectedItemInSurvey(int indexTo)
moveSelectedItemInSurvey in class SurveyObjectBaseVM<AttributeDefault>protected void dispatchChangesAppliedCommand(boolean ignoreUnsavedChanges)
dispatchChangesAppliedCommand in class SurveyObjectPopUpVM<AttributeDefault>protected void dispatchChangesCancelledCommand()
dispatchChangesCancelledCommand in class SurveyObjectPopUpVM<AttributeDefault>Copyright © 2021 Open Foris. All rights reserved.