Class PanelEditDataCollectionTemplateStructureWorkingCopy

All Implemented Interfaces:
Serializable, overit.geocall.marks.MethodExposer, overit.geocall.marks.NameExposer, AjaxableComponent, Badgeable, Hideable, Identified, Tool, overit.geocall.ux.configurability.UIConfigurable, overit.geocall.ux.edm.ModelConfigurable

public class PanelEditDataCollectionTemplateStructureWorkingCopy extends PanelEditDataCollectionTemplateStructureBase
Panel which allows to edit a data collection template structure working copy.
Since:
12.0
See Also:
GCApi:
controller
  • Field Details

  • Constructor Details

    • PanelEditDataCollectionTemplateStructureWorkingCopy

      public PanelEditDataCollectionTemplateStructureWorkingCopy()
  • Method Details

    • show

      public void show(Serializable obj)
      Description copied from class: Panel
      It shows (make visible with the pop-up effect) the panel
      Overrides:
      show in class Panel
      Parameters:
      obj - serializable object saved as a global variable of the panel
    • initComponent

      protected void initComponent()
      Specified by:
      initComponent in class PanelEditDataCollectionTemplateStructureBase
    • initPanel

      protected void initPanel()
    • checkEnableSheetLock

      protected void checkEnableSheetLock()
      Checks if sheet lock is enabled and updates the sheet scope field accordingly.

      If the template has sheet lock enabled, the sheet scope input lookup is set to read-only to prevent modifications. This ensures that locked sheets maintain their scope configuration.

      Throws:
      ApplicationException - if a database error occurs while loading the template header
      See Also:
    • loadPdfFormFileName

      protected String loadPdfFormFileName()
      Overrides:
      loadPdfFormFileName in class PanelEditDataCollectionTemplateStructureBase
    • onSave

      public boolean onSave(UIMessage uim)
      UI event handler to save a data collection template structure.
      Parameters:
      uim - the UIMessage
      Returns:
      true to break the responsibility chain, false otherwise.
    • hide

      public void hide()
      Description copied from class: Panel
      It hides (make not visible, with the pop-up effect) the panel
      Overrides:
      hide in class Panel
    • onUploadPdfForm

      public boolean onUploadPdfForm(HashGetter eventData)
      UI event handler to upload a pdf.
      Parameters:
      eventData - the HashGetter
      Returns:
      true to break the responsibility chain, false otherwise.
    • postUpload

      public boolean postUpload(String fileName)
      Posts the upload.
      Parameters:
      fileName - the file name
      Returns:
      true to break the responsibility chain, false otherwise.
    • getPdfFormUUID

      public String getPdfFormUUID()
      Specified by:
      getPdfFormUUID in class PanelEditDataCollectionTemplateStructureBase
    • onDeleteAttachment

      public boolean onDeleteAttachment(HashGetter eventData)
      UI event handler to delete an attachment.
      Parameters:
      eventData - the event data
      Returns:
      true to break the responsibility chain, false otherwise.