Class ResponseToOrderDAOImpl
java.lang.Object
com.rosivanyshyn.db.dao.implMySQL.GenericDAOImpl<ResponseToOrder>
com.rosivanyshyn.db.dao.implMySQL.ResponseToOrderDAOImpl
- All Implemented Interfaces:
GenericDAO<ResponseToOrder>,ResponseToOrderDAO
public class ResponseToOrderDAOImpl
extends GenericDAOImpl<ResponseToOrder>
implements ResponseToOrderDAO
Response To Order DAO interface implementation.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.rosivanyshyn.db.dao.implMySQL.GenericDAOImpl
GenericDAOImpl.DBStatementOperations<T>, GenericDAOImpl.ExtractEntity<T>, GenericDAOImpl.SetGeneratedValuesToEntity<T> -
Field Summary
Fields inherited from class com.rosivanyshyn.db.dao.implMySQL.GenericDAOImpl
className, LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandeleteResponseApartments(Connection con, Long id) Delete apartments references attached to RTOgetResponseApartments(Connection con, Long id) Get apartments references attached to RTObooleansetApartmentToResponse(Connection con, ResponseToOrder rto, Apartment apartment) Set apartments references to RTOMethods inherited from class com.rosivanyshyn.db.dao.implMySQL.GenericDAOImpl
countRowsInLastQuery, delete, get, getAll, getByField, getFew, getWithDynamicQuery, insert, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.rosivanyshyn.db.dao.GenericDAO
countRowsInLastQuery, delete, get, getAll, getByField, getFew, getWithDynamicQuery, insert, update
-
Constructor Details
-
ResponseToOrderDAOImpl
public ResponseToOrderDAOImpl()
-
-
Method Details
-
setApartmentToResponse
Set apartments references to RTO- Specified by:
setApartmentToResponsein interfaceResponseToOrderDAO- Parameters:
con- Connectionrto- RTOapartment- Apartment- Returns:
- query result
-
getResponseApartments
Get apartments references attached to RTO- Specified by:
getResponseApartmentsin interfaceResponseToOrderDAO- Parameters:
con- Connectionid- Response to order id- Returns:
- Apartments array
-
deleteResponseApartments
Delete apartments references attached to RTO- Specified by:
deleteResponseApartmentsin interfaceResponseToOrderDAO- Parameters:
con- Connectionid- Response to order id- Returns:
- query result
-