Class ServerTableViewAddress<I extends DynO>

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
Direct Known Subclasses:
ServerTableViewCrewShellAddress, ServerTableViewOperationCenterAddress, ServerTableViewResourceAddress

public abstract class ServerTableViewAddress<I extends DynO> extends EventServerTableView<I>
Since:
16.0
See Also:
GCApi:
controller
  • Field Details

  • Constructor Details

    • ServerTableViewAddress

      public ServerTableViewAddress()
  • Method Details

    • getDepartureAddress

      public Long getDepartureAddress()
    • setDepartureAddress

      public void setDepartureAddress(Long departureAddress)
    • getArrivalAddress

      public Long getArrivalAddress()
    • setArrivalAddress

      public void setArrivalAddress(Long arrivalAddress)
    • getSingleAddress

      public Long getSingleAddress()
    • setSingleAddress

      public void setSingleAddress(Long singleAddress)
    • getAdditionalColumns

      protected String[] getAdditionalColumns()
      Description copied from class: EventServerTableView
      Defines the columns that must be added to the table's DBView.
      Overrides:
      getAdditionalColumns in class EventServerTableView<I extends DynO>
      Returns:
      the additional columns
    • getExtendedAddress

      protected String getExtendedAddress(Long addressId, PoolKit poolKit)
    • getExtendedAddress

      protected String getExtendedAddress(BOAddress address)
    • isDeparturePoint

      protected boolean isDeparturePoint(Long addressId)
    • isArrivalPoint

      protected boolean isArrivalPoint(Long addressId)
    • isSingleAddress

      protected boolean isSingleAddress(Long addressId)
    • unsetAllDeparturePoints

      public void unsetAllDeparturePoints(Long addressId)
      Unset all the departure points but the selected address id
      Parameters:
      addressId - the selected address id
    • unsetAllArrivalPoints

      public void unsetAllArrivalPoints(Long addressId)
      Unset all the arrival points but the selected address id
      Parameters:
      addressId - the selected address id
    • unsetAllSingleAddress

      public void unsetAllSingleAddress(Long addressId)
      Unset all the single address but the selected address id
      Parameters:
      addressId - the selected address id
    • getAddressId

      protected abstract Long getAddressId(HashGetter address)
    • onUnsetDeparturePoint

      public boolean onUnsetDeparturePoint(UIMessage uim)
      Unset the departure point (deselect the departure point flag)
      Parameters:
      uim - the UIMessage
      Returns:
      true to break the responsibility chain, false otherwise.
    • onUnsetArrivalPoint

      public boolean onUnsetArrivalPoint(UIMessage uim)
      Unset the arrival point (deselect the arrival point flag)
      Parameters:
      uim - the UIMessage
      Returns:
      true to break the responsibility chain, false otherwise.
    • onUnsetSingleAddress

      public boolean onUnsetSingleAddress(UIMessage uim)
      Unset the single address (deselect the single address flag)
      Parameters:
      uim - the UIMessage
      Returns:
      true to break the responsibility chain, false otherwise.
    • onSetDeparturePoint

      public boolean onSetDeparturePoint(UIMessage uim)
      Set the departure point (select the departure point flag and store the address id)
      Parameters:
      uim - the UIMessage
      Returns:
      true to break the responsibility chain, false otherwise.
    • onSetArrivalPoint

      public boolean onSetArrivalPoint(UIMessage uim)
      Set the arrival point (select the arrival point flag and store the address id)
      Parameters:
      uim - the UIMessage
      Returns:
      true to break the responsibility chain, false otherwise.
    • onSetSingleAddress

      public boolean onSetSingleAddress(UIMessage uim)
      Set the single address (select the single address flag and store the address id)
      Parameters:
      uim - the UIMessage
      Returns:
      true to break the responsibility chain, false otherwise.