|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AdminBookableProductMgrIf
AdminBookableProductMgrIf
Method Summary | |
---|---|
void |
deleteBookableProduct(int productId)
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 |
AdminBooking |
getBooking(int bookingId,
AdminBookableProductOptions options)
Return a booking by Id |
AdminBookingSearchResult |
getBookings(AdminBookingSearch search,
int offset,
int size,
AdminBookableProductOptions options)
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.bl.KKCriteria insertC)
Inserts a BookableProduct object into the database. |
int |
insertBooking(AdminBooking booking,
AdminBookableProductOptions options)
Inserts a Booking object into the database. |
void |
updateBookableProduct(AdminBookableProduct bProd)
This method is use to edit an existing bookable product. |
void |
updateBookableProduct(AdminBookableProduct bProd,
java.sql.Connection con,
com.konakart.bl.KKCriteria selectC,
com.konakart.bl.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. |
Method Detail |
---|
void insertBookableProduct(AdminBookableProduct bProd) throws java.lang.Exception
bProd
- A bookable product object
java.lang.Exception
void insertBookableProduct(AdminBookableProduct bProd, java.sql.Connection con, com.konakart.bl.KKCriteria insertC) throws java.lang.Exception
bProd
- A bookable product objectcon
- Database connectioninsertC
- Criteria object
java.lang.Exception
void updateBookableProduct(AdminBookableProduct bProd) throws java.lang.Exception
bProd
- A bookable product object
java.lang.Exception
void updateBookableProduct(AdminBookableProduct bProd, java.sql.Connection con, com.konakart.bl.KKCriteria selectC, com.konakart.bl.KKCriteria updateC) throws java.lang.Exception
bProd
- A bookable product objectcon
- Database connectionselectC
- Criteria objectupdateC
- Criteria object
java.lang.Exception
AdminBookableProduct getBookableProduct(int productId) throws com.workingdogs.village.DataSetException, org.apache.torque.TorqueException, KKAdminException
productId
-
com.workingdogs.village.DataSetException
org.apache.torque.TorqueException
KKAdminException
int insertBooking(AdminBooking booking, AdminBookableProductOptions options) throws java.lang.Exception
booking
- A booking objectoptions
- AdminBookableProduct options
java.lang.Exception
void updateBooking(AdminBooking booking, AdminBookableProductOptions options) throws java.lang.Exception
booking
- A booking objectoptions
- AdminBookableProduct options
java.lang.Exception
void deleteBooking(int bookingId, AdminBookableProductOptions options) throws java.lang.Exception
bookingId
- options
- AdminBookableProduct options
java.lang.Exception
AdminBooking getBooking(int bookingId, AdminBookableProductOptions options) throws org.apache.torque.TorqueException, com.workingdogs.village.DataSetException, KKAdminException
bookingId
- options
- AdminBookableProduct options
org.apache.torque.TorqueException
com.workingdogs.village.DataSetException
KKAdminException
AdminBookingSearchResult getBookings(AdminBookingSearch search, int offset, int size, AdminBookableProductOptions options) throws org.apache.torque.TorqueException, com.workingdogs.village.DataSetException, KKAdminException
search
- offset
- size
- options
- AdminBookableProduct options
org.apache.torque.TorqueException
com.workingdogs.village.DataSetException
KKAdminException
void deleteBookableProduct(int productId) throws org.apache.torque.TorqueException, KKAdminException
productId
-
org.apache.torque.TorqueException
KKAdminException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |