Class OrderDetailsInfoImpl

    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.String getOrderID()
      Deprecated.
      Gets the ID of the order the user is requesting details of.
      java.lang.String getSubject()
      Deprecated.
      Returns the original subject that was parsed to create this SubjectInfo
      java.lang.String getSuffix()
      Deprecated.
      Gets any optional suffix that was appended to the request by the client.
      java.lang.String getUsername()
      Deprecated.
      Gets the username of the user who requested the details of the order strategy.
      boolean isSales()
      Deprecated.
       
      java.lang.String toString()
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getSubject

        public java.lang.String getSubject()
        Deprecated.
        Description copied from interface: OrderDetailsInfo
        Returns the original subject that was parsed to create this SubjectInfo
        Specified by:
        getSubject in interface OrderDetailsInfo
        Specified by:
        getSubject in interface SubjectInfo
        Returns:
        The original subject.
      • getUsername

        public java.lang.String getUsername()
        Deprecated.

        Gets the username of the user who requested the details of the order strategy.

        You are responsible for verifying that the user is permitted to view the order strategy. If he is not, you can send an error response to the client by calling StrategyDetailsCallback.onError(String).

        Specified by:
        getUsername in interface OrderDetailsInfo
        Returns:
        The username of the user who requested the details of the order strategy.
      • getOrderID

        public java.lang.String getOrderID()
        Deprecated.

        Gets the ID of the order the user is requesting details of.

        Note that this will be the ID of one of the child orders in the strategy, but you must return the details of the whole strategy the order is part of. You are responsible for retrieving the details of the requested order and determining if it is part of a multi-order strategy. If so, you will need to retrieve the other orders as well.

        This is because strategy detail requests are generally sent by clicking on an order in a blotter, but blotters usually show a single row per order rather than an order per strategy. So the row in the blotter will contain an ID for a single order only.

        Specified by:
        getOrderID in interface OrderDetailsInfo
        Returns:
        The order ID.
      • getSuffix

        public java.lang.String getSuffix()
        Deprecated.
        Gets any optional suffix that was appended to the request by the client.
        Specified by:
        getSuffix in interface OrderDetailsInfo
        Returns:
        The suffix, or an empty string if no suffix was sent on the request.
      • toString

        public java.lang.String toString()
        Deprecated.
        Overrides:
        toString in class java.lang.Object