Class SearchBundle

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

@UI(searchPanel="rightPanel", resultTable="stvSearchBundleResults", searchForm="fSearchBundle") @Navigation(editPage=BundleDetail.class) public class SearchBundle extends BaseSearchContainer<Bundle>
Bundle search page.
Since:
10.1
See Also:
GCApi:
controller
  • Constructor Details

    • SearchBundle

      public SearchBundle()
  • Method Details

    • setupWindow

      protected void setupWindow()
      Description copied from class: BaseSearchContainer
      Defines the initial page aspect setting the visibility field in the search form and launches the main search.
      Specified by:
      setupWindow in class BaseSearchContainer<Bundle>
    • initSearchFilter

      protected void initSearchFilter()
    • addRowMenuItems

      protected void addRowMenuItems(Menu menu)
      Description copied from class: BaseSearchContainer
      Method used to manage the result table row menu items.
      Overrides:
      addRowMenuItems in class BaseSearchContainer<Bundle>
      Parameters:
      menu - the menu displayed
    • addTableMenuItems

      protected void addTableMenuItems(Menu menu)
      Description copied from class: BaseSearchContainer
      Method for manage the result table menu items.
      Overrides:
      addTableMenuItems in class BaseSearchContainer<Bundle>
      Parameters:
      menu - the menu displayed
    • onRestore

      public void onRestore(Object o)
      Description copied from class: Container
      Method called when is executed the WindowManager.pop(java.lang.Object) of the above Window. It calls the onRestore(o) method of all the Container's childrens
      Overrides:
      onRestore in class Container
      Parameters:
      o - Object received from the caller
    • onUnbundle

      public boolean onUnbundle(UIMessage uim)
      UI event handler to ask the current user whether to unbundle the selected bundle.
      Parameters:
      uim - the UIMessage
      Returns:
      true to break the responsibility chain, false otherwise.
    • onConfirmUnbundle

      public boolean onConfirmUnbundle(UIMessage uim)
      UI event handler to confirm the unbundle.
      Parameters:
      uim - the UIMessage
      Returns:
      true to break the responsibility chain, false otherwise.
    • onMultipleUnbundle

      public boolean onMultipleUnbundle(UIMessage uim)
      UI event handler to ask the current user whether to unbundle the selected bundles.
      Parameters:
      uim - the UIMessage
      Returns:
      true to break the responsibility chain, false otherwise.
    • onConfirmMultipleUnbundle

      public boolean onConfirmMultipleUnbundle(UIMessage uim)
      UI event handler to confirm the multiple unbundle.
      Parameters:
      uim - the UIMessage
      Returns:
      true to break the responsibility chain, false otherwise.
    • unbundle

      protected List<Long> unbundle(List<Long> bundles) throws DAValidateException, DAException
      Unbundles the given bundles.
      Parameters:
      bundles - the list of bundles to unbundle
      Returns:
      the list of unbundled bundles
      Throws:
      DAValidateException - the DA validate exception
      DAException - the DA exception
    • onBundleDetail

      public boolean onBundleDetail(UIMessage uim)
      UI event handler to open the BundleDetail of the selected bundle.
      Parameters:
      uim - the UIMessage
      Returns:
      true to break the responsibility chain, false otherwise.
    • onLockBundle

      public boolean onLockBundle(UIMessage uim)
      UI event handler to ask the user whether to lock the selected bundle.
      Parameters:
      uim - the UIMessage
      Returns:
      true to break the responsibility chain, false otherwise.
    • onConfirmLockBundle

      public boolean onConfirmLockBundle(UIMessage uim)
      UI event handler to confirm the bundle locking.
      Parameters:
      uim - the UIMessage
      Returns:
      true to break the responsibility chain, false otherwise.
    • onUnlockBundle

      public boolean onUnlockBundle(UIMessage uim)
      UI event handler to ask the user whether to unlock the selected bundle.
      Parameters:
      uim - the UIMessage
      Returns:
      true to break the responsibility chain, false otherwise.
    • onConfirmUnlockBundle

      public boolean onConfirmUnlockBundle(UIMessage uim)
      UI event handler to confirm the bundle unlocking.
      Parameters:
      uim - the UIMessage
      Returns:
      true to break the responsibility chain, false otherwise.
    • onLockMultipleBundle

      public boolean onLockMultipleBundle(UIMessage uim)
      UI event handler to ask the user whether to lock the selected bundles.
      Parameters:
      uim - the UIMessage
      Returns:
      true to break the responsibility chain, false otherwise.
    • onConfirmLockMultipleBundle

      public boolean onConfirmLockMultipleBundle(UIMessage uim) throws DAValidateException
      UI event handler to confirm the multiple bundle locking.
      Parameters:
      uim - the UIMessage
      Returns:
      true to break the responsibility chain, false otherwise.
      Throws:
      DAValidateException
    • onUnlockMultipleBundle

      public boolean onUnlockMultipleBundle(UIMessage uim)
      UI event handler to ask the user whether to unlock the selected bundles.
      Parameters:
      uim - the UIMessage
      Returns:
      true to break the responsibility chain, false otherwise.
    • onConfirmUnlockMultipleBundle

      public boolean onConfirmUnlockMultipleBundle(UIMessage uim) throws DAValidateException
      UI event handler to confirm the multiple bundle unlocking.
      Parameters:
      uim - the UIMessage
      Returns:
      true to break the responsibility chain, false otherwise.
      Throws:
      DAValidateException
    • onEdit

      public boolean onEdit(UIMessage uim)
      Description copied from class: BaseSearchContainer
      Event launched to edit the main entity.
      Overrides:
      onEdit in class BaseSearchContainer<Bundle>
      Parameters:
      uim - the UIMessage
      Returns:
      true to break the responsibility chain, false otherwise.
    • getSelectedBundles

      protected List<Bundle> getSelectedBundles()
      Retrieves the list of selected bundles.
      Returns:
      the list of selected bundles