public class CustomerDeviceManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
STATUS_SOLD |
Constructor and Description |
---|
CustomerDeviceManager(java.sql.Connection connection) |
Modifier and Type | Method and Description |
---|---|
java.util.List<DeviceAsCustomer> |
getAllDeviceContract(int cid) |
java.util.List<DeviceAsCustomer> |
getAllDeviceCustomer(int customerId) |
java.util.List<DeviceAsCustomer> |
getDeviceAtContract(int cid) |
java.util.List<DeviceAsCustomer> |
getDeviceAtCustomer(int customerId) |
java.util.List<DeviceAsCustomer> |
getDeviceAtCustomerByTitle(int customerId,
java.lang.String title) |
java.util.List<DeviceAsCustomer> |
getDeviceAtCustomerCloseTodayByTitle(int customerId,
java.lang.String title) |
java.util.List<DeviceAsCustomer> |
getReturnedDeviceAtCustomer(int customerId) |
java.util.List<DeviceAsCustomer> |
getSoldDeviceAtCustomer(int customerId) |
java.util.List<DeviceAsCustomer> |
getSoldDeviceAtCustomerByTitle(int customerId,
java.lang.String title) |
public static final int STATUS_SOLD
public CustomerDeviceManager(java.sql.Connection connection)
public java.util.List<DeviceAsCustomer> getDeviceAtContract(int cid) throws BGException
BGException
public java.util.List<DeviceAsCustomer> getDeviceAtCustomer(int customerId) throws BGException
BGException
public java.util.List<DeviceAsCustomer> getReturnedDeviceAtCustomer(int customerId) throws BGException
BGException
public java.util.List<DeviceAsCustomer> getSoldDeviceAtCustomer(int customerId) throws BGException
BGException
public java.util.List<DeviceAsCustomer> getAllDeviceContract(int cid) throws BGException
BGException
public java.util.List<DeviceAsCustomer> getAllDeviceCustomer(int customerId) throws BGException
BGException
public java.util.List<DeviceAsCustomer> getDeviceAtCustomerCloseTodayByTitle(int customerId, java.lang.String title) throws BGException
BGException
public java.util.List<DeviceAsCustomer> getDeviceAtCustomerByTitle(int customerId, java.lang.String title) throws BGException
BGException
public java.util.List<DeviceAsCustomer> getSoldDeviceAtCustomerByTitle(int customerId, java.lang.String title)