Package ru.bgcrm.dao.device
Class CustomerDeviceManager
java.lang.Object
ru.bgcrm.dao.device.CustomerDeviceManager
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAllDeviceContract(int cid) getAllDeviceCustomer(int customerId) getDeviceAtContract(int cid) getDeviceAtCustomer(int customerId) getDeviceAtCustomerByTitle(int customerId, String title) getDeviceAtCustomerCloseTodayByTitle(int customerId, String title) getReturnedDeviceAtCustomer(int customerId) getSoldDeviceAtCustomer(int customerId) getSoldDeviceAtCustomerByTitle(int customerId, String title)
-
Field Details
-
STATUS_SOLD
public static final int STATUS_SOLD- See Also:
-
-
Constructor Details
-
CustomerDeviceManager
-
-
Method Details
-
getDeviceAtContract
- Throws:
BGException
-
getDeviceAtCustomer
- Throws:
BGException
-
getReturnedDeviceAtCustomer
- Throws:
BGException
-
getSoldDeviceAtCustomer
- Throws:
BGException
-
getAllDeviceContract
- Throws:
BGException
-
getAllDeviceCustomer
- Throws:
BGException
-
getDeviceAtCustomerCloseTodayByTitle
public List<DeviceAsCustomer> getDeviceAtCustomerCloseTodayByTitle(int customerId, String title) throws BGException - Throws:
BGException
-
getDeviceAtCustomerByTitle
public List<DeviceAsCustomer> getDeviceAtCustomerByTitle(int customerId, String title) throws BGException - Throws:
BGException
-
getSoldDeviceAtCustomerByTitle
-