java.lang.Object
overit.geocall.platform.ui.UINode
overit.geocall.ui.Component
overit.geocall.ui.Control
overit.geocall.basic.ui.Container
overit.geocallapp.wfm.clienti.ricerca.SearchTechnicalObject
overit.geocallapp.wfm.core.ux.workorderobject.technicalobject.search.SearchTechnicalObject
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
Direct Known Subclasses:
SelectTechnicalObject

public class SearchTechnicalObject extends overit.geocallapp.wfm.clienti.ricerca.SearchTechnicalObject
Technical objects search page
Since:
9.2
See Also:
GCApi:
controller
  • Constructor Details

    • SearchTechnicalObject

      public SearchTechnicalObject()
  • 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
    • initWindow

      protected void initWindow()
    • setupWindow

      protected void setupWindow()
    • prepareFeaturesFilterComponent

      protected void prepareFeaturesFilterComponent()
      Initialize the DBView for the Features search clauses
    • prepareUserRolesFilterComponent

      protected void prepareUserRolesFilterComponent()
      Initialize the DBView for the User Roles search clauses
    • prepareTechnicalObjectTypeFilterPanel

      protected void prepareTechnicalObjectTypeFilterPanel()
    • initCurrentUserRelationship

      protected void initCurrentUserRelationship()
    • onQuery

      public boolean onQuery(UIMessage uim)
    • doQuery

      protected void doQuery(HashGetter filters)
    • prepareFilters

      protected void prepareFilters()
    • prepareFilterForOperationCenter

      protected void prepareFilterForOperationCenter()
    • prepareFilterForUserVisibility

      protected void prepareFilterForUserVisibility(Set<Long> operationCenters)
    • prepareFilterForCustomerDate

      protected void prepareFilterForCustomerDate()
    • checkRoleAndFeatureFilters

      protected void checkRoleAndFeatureFilters()
    • onViewTechnicalObjectData

      public boolean onViewTechnicalObjectData(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
    • onRestoreFromEditTO

      public void onRestoreFromEditTO(TechnicalObject technicalObject)
    • onViewTechnicalObjectStructure

      public boolean onViewTechnicalObjectStructure(UIMessage uim)
    • onViewTechnicalObjectLowerStructure

      public boolean onViewTechnicalObjectLowerStructure(UIMessage uim)
    • onPlantHistoric

      public boolean onPlantHistoric(UIMessage uim)
    • onViewTechnicalObjectUpperStructure

      public boolean onViewTechnicalObjectUpperStructure(UIMessage uim)
    • onViewFullBranch

      public boolean onViewFullBranch(UIMessage uim)
    • onTechnicalObjectSummary

      public boolean onTechnicalObjectSummary(UIMessage uim)
    • onNewTechnicalObject

      public boolean onNewTechnicalObject(UIMessage uim)
    • onTableMenu

      public boolean onTableMenu(UIMessage uim)
    • addTableMenuItems

      protected void addTableMenuItems(Menu menu)
    • onRowMenu

      public boolean onRowMenu(UIMessage uim)
    • addRowMenuItems

      protected void addRowMenuItems(Menu menu)
    • onShowFilterPanel

      public boolean onShowFilterPanel(UIMessage uim)
      Shows the filter panel
      Parameters:
      uim - the UIMessage
      Returns:
      true
    • onCloseSearchPanel

      public boolean onCloseSearchPanel(UIMessage uim)
      Hides the filter panel
      Parameters:
      uim - the UIMessage
      Returns:
      true
    • closeSearchPanel

      protected void closeSearchPanel()
    • onNewFeatureFilterClauses

      public boolean onNewFeatureFilterClauses(UIMessage uim)
      Shows the panel for define a feature filter rule
      Parameters:
      uim - the UIMessage
      Returns:
      true
    • onDeleteFeatureRule

      public boolean onDeleteFeatureRule(UIMessage uim)
      Removes a row from the feature filter rules table
      Parameters:
      uim - the UIMessage
      Returns:
      true
    • onNewUserRoleClauses

      public boolean onNewUserRoleClauses(UIMessage uim)
      Shows the panel for define a user role filter rule
      Parameters:
      uim - the UIMessage
      Returns:
      true
    • onDeleteUserRoleRule

      public boolean onDeleteUserRoleRule(UIMessage uim)
      Removes a row from the user role filter rules table
      Parameters:
      uim - the UIMessage
      Returns:
      true
    • onAddUserRoleRule

      public boolean onAddUserRoleRule(UIMessage uim)
    • onMassiveStatusChange

      public boolean onMassiveStatusChange(UIMessage uim)
      Change the status of the technical object son of the selected technical object
    • onRestoreAfterMassiveStatusChange

      public boolean onRestoreAfterMassiveStatusChange(Object o)