Class SchedulableBundles

All Implemented Interfaces:
Serializable, EntityContainer, ValuesContainer, overit.geocall.marks.MethodExposer, overit.geocall.marks.NameExposer, AjaxableComponent, Badgeable, DraggableDroppable, Hideable, ContentChangeListener, Identified, Tool, overit.geocall.ux.configurability.UIConfigurable, overit.geocall.ux.edm.ModelConfigurable, PSearchSchedulableBundles.PSearchSchedulableBundlesDelegate, overit.geocallapp.wfm.schedulazione.cristallizzazione.monitorattivita.pianogiornaliero.CPlanningMonitor.CPlanningMonitorSubContainer

public class SchedulableBundles extends Form implements overit.geocallapp.wfm.schedulazione.cristallizzazione.monitorattivita.pianogiornaliero.CPlanningMonitor.CPlanningMonitorSubContainer, PSearchSchedulableBundles.PSearchSchedulableBundlesDelegate
See Also:
  • Field Details

  • Constructor Details

    • SchedulableBundles

      public SchedulableBundles()
  • 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
    • initialize

      protected void initialize(Object o) throws DAException, DAValidateException
      Throws:
      DAException
      DAValidateException
    • onPSearchSchedulableBundlesDoQuery

      public void onPSearchSchedulableBundlesDoQuery(HashGetter filter)
      Specified by:
      onPSearchSchedulableBundlesDoQuery in interface PSearchSchedulableBundles.PSearchSchedulableBundlesDelegate
    • executeQuery

      protected void executeQuery(Map<String,Object> filters, boolean showWarning) throws DAException, DAValidateException
      Throws:
      DAException
      DAValidateException
    • setTabLabels

      protected void setTabLabels(int schedulableBundlesNum)
    • completeDBViewData

      protected void completeDBViewData(DBView bundleDBView, List<Bundle> bundleList, Set<Long> selectedBundles)
    • completeRowData

      protected void completeRowData(DBView bundleDBView, Set<Long> selectedBundles, Bundle bundle, int pos, SchedulingUserHelper userHelper)
    • updateRow

      public void updateRow(int row) throws DAException, DAValidateException
      Throws:
      DAException
      DAValidateException
    • getResourceIdentificationNumbers

      protected Collection<String> getResourceIdentificationNumbers(List<Bundle> bundleList)
    • refresh

      public void refresh()
    • refreshAndSelect

      public void refreshAndSelect(Set<Long> bundleIds)
    • setPlanningMonitor

      public void setPlanningMonitor(overit.geocallapp.wfm.schedulazione.cristallizzazione.monitorattivita.pianogiornaliero.CPlanningMonitor monitor)
      Specified by:
      setPlanningMonitor in interface overit.geocallapp.wfm.schedulazione.cristallizzazione.monitorattivita.pianogiornaliero.CPlanningMonitor.CPlanningMonitorSubContainer
    • onRowMenu

      public boolean onRowMenu(UIMessage uim)
    • onBundleDetail

      public boolean onBundleDetail(UIMessage uim)
      Open the bundle detail page.
      Parameters:
      uim - the UI event data
      Returns:
      true to break the responsibility chain, false otherwise.
    • onUpdateBundle

      public boolean onUpdateBundle(UIMessage uim)
      Open the panel to update the bundle information
      Parameters:
      uim - the UI event data
      Returns:
      true to break the responsibility chain, false otherwise.
    • addSearchFilters

      public void addSearchFilters(Map<String,Object> filters)
    • onGoToSavedSearchConfiguration

      public boolean onGoToSavedSearchConfiguration(UIMessage uim)
      UI event manager for search bundle saved
      Parameters:
      uim - the UIMessage
      Returns:
      true to break the responsibility chain, false otherwise.
    • onSavedSearchChanged

      public boolean onSavedSearchChanged(UIMessage uim)
      UI event manager for changing search planning saved
      Parameters:
      uim - the UIMessage
      Returns:
      true to break the responsibility chain, false otherwise.
    • changeSavedSearches

      protected void changeSavedSearches(Map<String,Object> savedSearchData)
    • 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
    • refreshSavedSearch

      protected void refreshSavedSearch() throws DAException, DAValidateException
      Throws:
      DAException
      DAValidateException
    • loadDefaultSavedSearch

      protected void loadDefaultSavedSearch()
    • onAddOperationsToBundle

      public boolean onAddOperationsToBundle(UIMessage uim)
      UI event manager for adding operations to bundle.
      Parameters:
      uim - the UIMessage containing the UI event data
      Returns:
      true to break the responsibility chain, false otherwise.