1 19 package com.lutris.airsent.spec.delivery; 20 21 import com.lutris.airsent.spec.AirSentException; 22 23 24 import com.lutris.airsent.spec.customer.Customer; 25 import com.lutris.airsent.spec.messenger.Messenger; 26 27 30 public interface DeliveryManager { 31 32 39 public Delivery create(Customer customer) 40 throws AirSentException; 41 42 49 public Delivery create(Customer customer, OrderForm orderForm) 50 throws AirSentException; 51 52 60 public long getUpdate(long browserState, long wait) 61 throws AirSentException; 62 63 70 public Delivery findByHandle(String handle) 71 throws AirSentException; 72 73 80 public Delivery[] findByCustomer(Customer customer) 81 throws AirSentException; 82 83 90 public Delivery findByInvoice(int invoice) 91 throws AirSentException; 92 93 99 public Delivery[] findUndelivered() 100 throws AirSentException; 101 102 108 public Delivery[] findAll() 109 throws AirSentException; 110 111 118 public Delivery[] findAllAfter(long date) 119 throws AirSentException; 120 121 128 public Delivery[] findSubset(int subset) 129 throws AirSentException; 130 131 138 public Delivery[] findByMessenger(Messenger messenger) 139 throws AirSentException; 140 141 } 142 143 | Popular Tags |