All Implemented Interfaces:
Serializable, EntityContainer, overit.geocall.clipboard.XClip, overit.geocall.marks.MethodExposer, overit.geocall.marks.NameExposer, AjaxableComponent, Badgeable, DAViewManager, DBViewManager, DraggableDroppable, Hideable, Identified, Tool, overit.geocall.ux.configurability.UIConfigurable, overit.geocall.ux.edm.ModelConfigurable

@Component public class ServerTableViewAccounting extends ServerTableViewWithCount
ServerTableView made for work on Accounting Monitor This extension provide some extra column with warnings and a mechanism of cache for user pictures
Since:
9.2
See Also:
GCApi:
component
  • Field Details

    • BUNDLE_COLUMN

      public static final String BUNDLE_COLUMN
      See Also:
    • operationCenter

      protected Long operationCenter
    • evaluateWarnign

      protected boolean evaluateWarnign
    • zone

      protected TimeZone zone
    • externalSystem

      protected overit.geocallapp.wfm.schedulazione.consuntivazione.sistemiesterni.SistemiEsterni externalSystem
    • thresholdConfiguration

      protected overit.geocallapp.wfm.schedulazione.timesheet.configuration.threshold.TimeSheetThresholdConfiguration thresholdConfiguration
  • Constructor Details

    • ServerTableViewAccounting

      public ServerTableViewAccounting()
  • Method Details

    • setOperationCenter

      public void setOperationCenter(Long operationCenter)
    • setEvaluateWarning

      public void setEvaluateWarning(boolean evaluate)
    • isEvaluateWarning

      public boolean isEvaluateWarning()
    • 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 ServerTableViewWithCount
      Parameters:
      o - Object received from the caller
    • onNewDBView

      protected void onNewDBView(DBView resultDbv)
      Overrides:
      onNewDBView in class ServerTableViewWithCount
    • completeDBView

      protected void completeDBView(DBView resultDbv)
      Completes the DBView processing by adding additional data. This method is called after the main DBView processing to enrich the data with activity address information.
      Parameters:
      resultDbv - the DBView to be completed with additional data
    • addActivityAddressToDBView

      protected void addActivityAddressToDBView(DBView resultDbv)
      Adds address data to the operations DBView. Enriches the DBView with formatted address information for each operation.
      Parameters:
      resultDbv - the DBView containing operation data to be enriched with activity address information
    • cacheImages

      protected void cacheImages(Map<Long,ConcreteGate> gates, MapFormat urlFormat, HashGetter row)
    • updateExternalSystemStatus

      protected void updateExternalSystemStatus(DBView dbv, HashGetter row)
    • decodeExternalSystem

      protected void decodeExternalSystem(HashGetter row, StringBuilder out, HashGetter sistemaEsterno)
    • evaluateWarning

      protected void evaluateWarning(DBView dbv)
    • setAdditionalBundleData

      protected void setAdditionalBundleData(HashGetter row)
    • removeCrewShellsUnfixedInterventionsFromDBView

      protected void removeCrewShellsUnfixedInterventionsFromDBView(DBView resultDbv)
      Returns the DBView resultDbv with crew shell's unfixed interventions removed. It also updates the count of the ServerTableViewAccounting object.
      Parameters:
      resultDbv - the DBView resultuDbv to be manipulated and returned