Class PanelDataCollectionTemplateUploadPdfForm

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 PanelDataCollectionTemplateUploadPdfForm extends Panel
Panel which allows to upload a pdf to data collection template.
Since:
12.0
See Also:
GCApi:
controller
  • Field Details

  • Constructor Details

    • PanelDataCollectionTemplateUploadPdfForm

      public PanelDataCollectionTemplateUploadPdfForm()
  • Method Details

    • show

      public void show(Serializable obj)
      Show the data collection template structure page.
      Overrides:
      show in class Panel
      Parameters:
      obj - the obj
    • onUploadAttachment

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

      public String getUploadUUID()
      Returns the upload UUID.
      Returns:
      the upload UUID
    • getPostUploadFunction

      public Function<String,Boolean> getPostUploadFunction()
      Returns the post upload function.
      Returns:
      the post upload function
    • setPostUploadFunction

      public void setPostUploadFunction(Function<String,Boolean> postUploadFunction)
      Set post upload function.
      Parameters:
      postUploadFunction - the post upload function