Class SearchCrewShell

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="stvSearchCrewShellResults", searchForm="fSearchCrewShell") public class SearchCrewShell extends BaseSearchContainer<BOCrewShell>
See Also:
  • Constructor Details

    • SearchCrewShell

      public SearchCrewShell()
  • 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<BOCrewShell>
    • onNewCrewShell

      public boolean onNewCrewShell(UIMessage uim)
      Event launched to create a crew shell.
      Parameters:
      uim - UIMessage node
      Returns:
      true, if successful
    • onEdit

      public boolean onEdit(UIMessage uim)
      Event launched to edit a crew shell.
      Overrides:
      onEdit in class BaseSearchContainer<BOCrewShell>
      Parameters:
      uim - UIMessage node
      Returns:
      true, if successful
    • onView

      public boolean onView(UIMessage uim)
      Event launched to view a crew shell.
      Overrides:
      onView in class BaseSearchContainer<BOCrewShell>
      Parameters:
      uim - UIMessage node
      Returns:
      true, if successful
    • 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<BOCrewShell>
      Parameters:
      menu - the menu displayed
    • onManageSkills

      public boolean onManageSkills(UIMessage uim)
      UI event handler that displays the panel for managing the BOSkill objects assigned to the selected BOCrewShell object (i.e., the selected row).
      Parameters:
      uim - the UIMessage node
      Returns:
      true to break the responsibility chain, false otherwise
    • onShowComposition

      public boolean onShowComposition(UIMessage uim)
      UI event handler to display the page for managing the composition of the selected BOCrewShell object (i.e., the selected row).
      Parameters:
      uim - UIMessage node
      Returns:
      true to break the responsibility chain, false otherwise
    • onCrewShellCalendar

      public boolean onCrewShellCalendar(UIMessage uim)
      UI event handler to display the calendar page of the selected BOCrewShell object (i.e., the selected row), if its dummyUser field is not null.
      Parameters:
      uim - UIMessage node
      Returns:
      true to break the responsibility chain, false otherwise
    • onSave

      public boolean onSave(UIMessage uim)
    • 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
    • getFilterParams

      protected Map<String,Object> getFilterParams(Map<String,Object> formValues)
      Description copied from class: BaseSearchContainer
      Returns the map used for generate the filter object.
      Overrides:
      getFilterParams in class BaseSearchContainer<BOCrewShell>
      Parameters:
      formValues - the search form values map
      Returns:
      a map used for generate the filter object