public class SamplingPointDataVM extends SurveyBaseVM
SurveyBaseVM.CanLeaveFormCompleteConfirmHandler, SurveyBaseVM.CanLeaveFormConfirmHandler, SurveyBaseVM.SurveyType| Modifier and Type | Field and Description |
|---|---|
static String |
CLOSE_SAMPLING_POINT_DATA_IMPORT_POPUP_COMMAND |
static String |
SAMPLING_POINT_DATA_UPDATED_COMMAND |
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_COMMANDCOLLECT_EARTH_PROJECT_FILE_CREATOR_LOADER, jobManager, userGroupManager, userManager| Constructor and Description |
|---|
SamplingPointDataVM() |
| Modifier and Type | Method and Description |
|---|---|
void |
changeAttributeEditableStatus(AttributeFormObject attribute) |
void |
closeSamplingPointDataImportPopUp() |
void |
confirmAttributeUpdate(AttributeFormObject attribute) |
void |
deleteAllItems() |
static void |
dispatchSamplingPointDataImportPopUpCloseCommand() |
void |
exportToCsv() |
void |
exportToExcel() |
List<AttributeFormObject> |
getAttributes() |
String |
getAttributeValue(AttributeFormObject attribute,
SamplingDesignItem item) |
List<SamplingDesignItem> |
getItems() |
int |
getItemsPage() |
int |
getItemsPageSize() |
int |
getItemsTotal() |
void |
init() |
boolean |
isSamplingPointDataEmpty() |
static void |
notifySamplingPointDataUpdated() |
void |
openImportPopUp() |
void |
samplingPointDataUpdated() |
void |
updateItemsPaging(int newPageIndex) |
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, 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 final String SAMPLING_POINT_DATA_UPDATED_COMMAND
public static final String CLOSE_SAMPLING_POINT_DATA_IMPORT_POPUP_COMMAND
public void init()
init in class SurveyBaseVMpublic List<AttributeFormObject> getAttributes()
public void changeAttributeEditableStatus(AttributeFormObject attribute)
public void updateItemsPaging(int newPageIndex)
public String getAttributeValue(AttributeFormObject attribute, SamplingDesignItem item)
public void openImportPopUp()
public void closeSamplingPointDataImportPopUp()
public void samplingPointDataUpdated()
public void exportToCsv()
throws IOException
IOExceptionpublic void exportToExcel()
throws IOException
IOExceptionpublic void deleteAllItems()
public void confirmAttributeUpdate(AttributeFormObject attribute)
public List<SamplingDesignItem> getItems()
public int getItemsTotal()
public int getItemsPage()
public int getItemsPageSize()
public boolean isSamplingPointDataEmpty()
public static void notifySamplingPointDataUpdated()
public static void dispatchSamplingPointDataImportPopUpCloseCommand()
Copyright © 2020 Open Foris. All rights reserved.