Class TakerNameOrderPermission

    • Constructor Summary

      Constructor Description
      TakerNameOrderPermission​(java.util.Set<java.lang.String> takerNames)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Set<java.lang.String> getTakerNames()  
      boolean isPermissionedFor​(com.caplin.ret.trapi.fx.FXOrder order)
      Determines whether the user is permissioned for the given order.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TakerNameOrderPermission

        public TakerNameOrderPermission​(java.util.Set<java.lang.String> takerNames)
    • Method Detail

      • isPermissionedFor

        public boolean isPermissionedFor​(com.caplin.ret.trapi.fx.FXOrder order)
        Description copied from interface: OrderPermission
        Determines whether the user is permissioned for the given order.
        Specified by:
        isPermissionedFor in interface OrderPermission
        order - The order.
        true if the user is permissioned, false if not.
      • getTakerNames

        public java.util.Set<java.lang.String> getTakerNames()
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object