public interface AdminBookableProductMgrIf
| Modifier and Type | Method and Description |
|---|---|
void |
deleteBookableProduct(int productId)
Delete the bookable Product.
|
void |
deleteBookableProduct(int productId,
java.sql.Connection con)
Delete the bookable Product.
|
void |
deleteBooking(int bookingId,
AdminBookableProductOptions options)
Delete the booking
|
AdminBookableProduct |
getBookableProduct(int productId)
Gets a Bookable Product object for a product id
|
AdminBookableProduct |
getBookableProduct(int productId,
java.sql.Connection con)
Gets a Bookable Product object for a product id
|
AdminBooking |
getBooking(int bookingId,
AdminBookableProductOptions options)
Return a booking by Id
|
AdminBookingSearchResult |
getBookings(AdminBookingSearch search,
int offset,
int size,
AdminBookableProductOptions bookableProductOptions)
Method used to search for bookings.
|
void |
insertBookableProduct(AdminBookableProduct bProd)
Inserts a BookableProduct object into the database.
|
void |
insertBookableProduct(AdminBookableProduct bProd,
java.sql.Connection con,
com.konakart.db.KKCriteria insertC)
Inserts a BookableProduct object into the database.
|
int |
insertBooking(AdminBooking booking,
AdminBookableProductOptions options)
Inserts a Booking object into the database.
|
void |
refreshConfigs()
Update the caches
|
void |
updateBookableProduct(AdminBookableProduct bProd)
This method is use to edit an existing bookable product.
|
void |
updateBookableProduct(AdminBookableProduct bProd,
java.sql.Connection con,
com.konakart.db.KKCriteria selectC,
com.konakart.db.KKCriteria updateC)
This method is use to edit an existing bookable product.
|
void |
updateBooking(AdminBooking booking,
AdminBookableProductOptions options)
This method is used to edit an existing booking.
|
void insertBookableProduct(AdminBookableProduct bProd) throws java.lang.Exception
bProd - A bookable product objectjava.lang.Exception - an unexpected exceptionvoid insertBookableProduct(AdminBookableProduct bProd, java.sql.Connection con, com.konakart.db.KKCriteria insertC) throws java.lang.Exception
bProd - A bookable product objectcon - Database connectioninsertC - Criteria objectjava.lang.Exception - an unexpected exceptionvoid updateBookableProduct(AdminBookableProduct bProd) throws java.lang.Exception
bProd - A bookable product objectjava.lang.Exception - an unexpected exceptionvoid updateBookableProduct(AdminBookableProduct bProd, java.sql.Connection con, com.konakart.db.KKCriteria selectC, com.konakart.db.KKCriteria updateC) throws java.lang.Exception
bProd - A bookable product objectcon - Database connectionselectC - Criteria objectupdateC - Criteria objectjava.lang.Exception - an unexpected exceptionAdminBookableProduct getBookableProduct(int productId) throws com.workingdogs.village.DataSetException, org.apache.torque.TorqueException, KKAdminException
productId - the productIdcom.workingdogs.village.DataSetException - an unexpected exception due to data in Torque (the database layer)org.apache.torque.TorqueException - an unexpected exception in Torque (the database layer)KKAdminException - an unexpected exception in the KonaKart Admin engineAdminBookableProduct getBookableProduct(int productId, java.sql.Connection con) throws com.workingdogs.village.DataSetException, org.apache.torque.TorqueException, KKAdminException
productId - the productIdcon - Connection for Transactioncom.workingdogs.village.DataSetException - an unexpected exception due to data in Torque (the database layer)org.apache.torque.TorqueException - an unexpected exception in Torque (the database layer)KKAdminException - an unexpected exception in the KonaKart Admin engineint insertBooking(AdminBooking booking, AdminBookableProductOptions options) throws java.lang.Exception
booking - A booking objectoptions - AdminBookableProduct optionsjava.lang.Exception - an unexpected exceptionvoid updateBooking(AdminBooking booking, AdminBookableProductOptions options) throws java.lang.Exception
booking - A booking objectoptions - AdminBookableProduct optionsjava.lang.Exception - an unexpected exceptionvoid deleteBooking(int bookingId,
AdminBookableProductOptions options)
throws java.lang.Exception
bookingId - the bookingIdoptions - AdminBookableProduct optionsjava.lang.Exception - an unexpected exceptionAdminBooking getBooking(int bookingId, AdminBookableProductOptions options) throws org.apache.torque.TorqueException, com.workingdogs.village.DataSetException, KKAdminException
bookingId - the bookingIdoptions - AdminBookableProduct optionsorg.apache.torque.TorqueException - an unexpected exception in Torque (the database layer)com.workingdogs.village.DataSetException - an unexpected exception due to data in Torque (the database layer)KKAdminException - an unexpected exception in the KonaKart Admin engineAdminBookingSearchResult getBookings(AdminBookingSearch search, int offset, int size, AdminBookableProductOptions bookableProductOptions) throws org.apache.torque.TorqueException, com.workingdogs.village.DataSetException, KKAdminException
search - the searchoffset - the offsetsize - the sizebookableProductOptions - AdminBookableProduct optionsorg.apache.torque.TorqueException - an unexpected exception in Torque (the database layer)com.workingdogs.village.DataSetException - an unexpected exception due to data in Torque (the database layer)KKAdminException - an unexpected exception in the KonaKart Admin enginevoid deleteBookableProduct(int productId)
throws org.apache.torque.TorqueException,
KKAdminException,
com.workingdogs.village.DataSetException
productId - the productIdorg.apache.torque.TorqueException - an unexpected exception in Torque (the database layer)KKAdminException - an unexpected exception in the KonaKart Admin enginecom.workingdogs.village.DataSetException - an unexpected exception due to data in Torque (the database layer)void deleteBookableProduct(int productId,
java.sql.Connection con)
throws org.apache.torque.TorqueException,
KKAdminException,
com.workingdogs.village.DataSetException
productId - the productIdcon - Connection for transactionorg.apache.torque.TorqueException - an unexpected exception in Torque (the database layer)KKAdminException - an unexpected exception in the KonaKart Admin enginecom.workingdogs.village.DataSetException - an unexpected exception due to data in Torque (the database layer)void refreshConfigs()
throws java.lang.Exception
java.lang.Exception - an unexpected exceptionCopyright © 2018 DS Data Systems UK Ltd.