Class TakerNameOrderPermission

java.lang.Object
com.caplin.motif.fx.ret.orders.extension.permission.takername.TakerNameOrderPermission
All Implemented Interfaces:
OrderPermission

public class TakerNameOrderPermission extends Object implements OrderPermission
  • Constructor Details

    • TakerNameOrderPermission

      public TakerNameOrderPermission(Set<String> takerNames)
  • Method Details

    • 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
      Parameters:
      order - The order.
      Returns:
      true if the user is permissioned, false if not.
    • getTakerNames

      public Set<String> getTakerNames()
    • toString

      public String toString()
      Overrides:
      toString in class Object