Class DataCollectionTemplateDetail

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

public class DataCollectionTemplateDetail extends Container
Data collection template detail page.
Since:
12.0
See Also:
GCApi:
controller
  • Field Details

  • Constructor Details

    • DataCollectionTemplateDetail

      public DataCollectionTemplateDetail()
  • Method Details

    • onOpen

      public void onOpen(Object o)
      Description copied from class: Container
      Method called when is executed the WindowManager.push(overit.geocall.basic.ui.Window, java.lang.Object) of the Window that contains the Container. It calls the onOpen(o) method of all the Container's childrens.
      If a page is opened through the process of a route, it is possible that the route was called with params to pass to the page.
      The route params could be passed specifying them like query string's param on the url, using commas or the '=' character, to separate the keys and the values. Valid syntaxs are: "&params=KEY1,VAL1,KEY2,VAL2" or "&params=KEY1=VAL1,KEY2=VAL2"
      In that case it is possible to retrieve those params via the WindowManager.getRouteParams() method that returns an HashGetter with the params passed as parameters.
      For example it's possible to retrieve and use the params in this way: HashGetter hg = getWM().getRouteParams();
      String val1 = hg.getString("key1",null);
      String val2 = hg.getString("key2",null);
      Overrides:
      onOpen in class Container
      Parameters:
      o - Object received from the caller
    • initComponents

      protected void initComponents()
    • loadData

      protected void loadData()
    • loadDataCollectionTemplateHeader

      protected BODataCollectionTemplateHeader loadDataCollectionTemplateHeader() throws DAValidateException, DAException
      Throws:
      DAValidateException
      DAException
    • initPage

      protected void initPage()
    • initTemplateStructureTableView

      protected void initTemplateStructureTableView()
    • onRowMenu

      public boolean onRowMenu(UIMessage uim)
      UI event handler to show the row menu.
      Parameters:
      uim - the UIMessage
      Returns:
      true to break the responsibility chain, false otherwise.
    • onCreateRelease

      public boolean onCreateRelease(UIMessage uim)
      UI event handler to create a new release.
      Parameters:
      uim - the UIMessage
      Returns:
      true to break the responsibility chain, false otherwise.
    • onCreateSheet

      public boolean onCreateSheet(UIMessage uim)
      UI event handler to create a new sheet.
      Parameters:
      uim - the UIMessage
      Returns:
      true to break the responsibility chain, false otherwise.
    • onEditRelease

      public boolean onEditRelease(UIMessage uim)
      UI event handler to edit a release.
      Parameters:
      uim - the UIMessage
      Returns:
      true to break the responsibility chain, false otherwise.
    • onOutcomeReasons

      public boolean onOutcomeReasons(UIMessage uim)
      UI event handler to show the outcome reasons panel.
      Parameters:
      uim - the UIMessage
      Returns:
      true to break the responsibility chain, false otherwise.
    • onAlignWorkingCopyToRelease

      public boolean onAlignWorkingCopyToRelease(UIMessage uim)
      UI event handler to align the working copy to the release.
      Parameters:
      uim - the UIMessage
      Returns:
      true to break the responsibility chain, false otherwise.
    • onEmptyWorkingCopy

      public boolean onEmptyWorkingCopy(UIMessage uim)
      UI event handler to create a new empty working copy.
      Parameters:
      uim - the UIMessage
      Returns:
      true to break the responsibility chain, false otherwise.
    • onSaveDataCollectionTemplateStructureRelease

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

      public boolean onEditWorkingCopy(UIMessage uim)
      UI event handler to edit a working copy.
      Parameters:
      uim - the UIMessage
      Returns:
      true to break the responsibility chain, false otherwise.
    • onViewStructure

      public boolean onViewStructure(UIMessage uim)
      UI event handler to show the structure.
      Parameters:
      uim - the UIMessage
      Returns:
      true to break the responsibility chain, false otherwise.
    • loadDataCollectionTemplate

      protected DataCollectionTemplate loadDataCollectionTemplate(Long templateStructure, boolean isRelease) throws DAValidateException, DAException
      Throws:
      DAValidateException
      DAException
    • onSave

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

      public boolean onDownloadStructure(UIMessage uim)
    • onViewOnlyActiveReleases

      public boolean onViewOnlyActiveReleases(UIMessage uim)
      UI event handler to view only the active releases.
      Parameters:
      uim - the UIMessage
      Returns:
      true to break the responsibility chain, false otherwise.
    • onImportModel

      public boolean onImportModel(UIMessage uim)
      UI event handler to show the import model panel.
      Parameters:
      uim - the UIMessage
      Returns:
      true to break the responsibility chain, false otherwise.
    • onGanttView

      public boolean onGanttView(UIMessage uim)
      UI event handler to show the gantt view.
      Parameters:
      uim - the UIMessage
      Returns:
      true to break the responsibility chain, false otherwise.
    • pushPage

      protected void pushPage(String pushPage, String restoreTo)
    • onRefresh

      public boolean onRefresh(Object o)
      Event used to refresh the current view.
      Parameters:
      o - the object received by the event
      Returns:
      true to break the responsibility chain, false otherwise.