Class SamplingPointDataVM


public class SamplingPointDataVM extends SurveyBaseVM
  • Field Details

    • SAMPLING_POINT_DATA_UPDATED_COMMAND

      public static final String SAMPLING_POINT_DATA_UPDATED_COMMAND
      See Also:
    • CLOSE_SAMPLING_POINT_DATA_IMPORT_POPUP_COMMAND

      public static final String CLOSE_SAMPLING_POINT_DATA_IMPORT_POPUP_COMMAND
      See Also:
  • Constructor Details

    • SamplingPointDataVM

      public SamplingPointDataVM()
  • Method Details

    • init

      public void init()
      Overrides:
      init in class SurveyBaseVM
    • getAttributes

      public List<AttributeFormObject> getAttributes()
    • changeAttributeEditableStatus

      public void changeAttributeEditableStatus(AttributeFormObject attribute)
    • updateItemsPaging

      public void updateItemsPaging(int newPageIndex)
    • getAttributeValue

      public String getAttributeValue(AttributeFormObject attribute, SamplingDesignItem item)
    • openImportPopUp

      public void openImportPopUp()
    • closeSamplingPointDataImportPopUp

      public void closeSamplingPointDataImportPopUp()
    • samplingPointDataUpdated

      public void samplingPointDataUpdated()
    • exportToCsv

      public void exportToCsv() throws IOException
      Throws:
      IOException
    • exportToExcel

      public void exportToExcel() throws IOException
      Throws:
      IOException
    • deleteAllItems

      public void deleteAllItems()
    • confirmAttributeUpdate

      public void confirmAttributeUpdate(AttributeFormObject attribute)
    • getItems

      public List<SamplingDesignItem> getItems()
    • getItemsTotal

      public int getItemsTotal()
    • getItemsPage

      public int getItemsPage()
    • getItemsPageSize

      public int getItemsPageSize()
    • isSamplingPointDataEmpty

      public boolean isSamplingPointDataEmpty()
    • notifySamplingPointDataUpdated

      public static void notifySamplingPointDataUpdated()
    • dispatchSamplingPointDataImportPopUpCloseCommand

      public static void dispatchSamplingPointDataImportPopUpCloseCommand()