public interface AdminWishListMgrIf
Modifier and Type | Method and Description |
---|---|
void |
deleteWishList(int wishListId)
Delete a wishlist and all of its wishlist items.
|
void |
deleteWishListItem(int wishListItemId)
Delete a wishlist and all of its wishlist items.
|
AdminWishLists |
getWishLists(AdminWishListSearch search,
int offset,
int size)
Return the WishList objects defined by the search criteria.
|
int |
insertWishList(AdminWishList wishList)
Insert a wishlist and any attached wishlist items.
|
int |
insertWishListItem(AdminWishListItem wishListItem)
Insert an AdminWishListItem.
|
void |
updateWishListItemQuantityBought(int wishListItemId,
int quantityBought)
Updates the wishListItem quantity received attribute by adding quantityBought to the actual
value.
|
void updateWishListItemQuantityBought(int wishListItemId, int quantityBought) throws org.apache.torque.TorqueException, com.workingdogs.village.DataSetException
wishListItemId
- the wishListItemIdquantityBought
- the quantityBoughtorg.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)AdminWishLists getWishLists(AdminWishListSearch search, int offset, int size) throws KKAdminException, org.apache.torque.TorqueException, com.workingdogs.village.DataSetException, java.lang.Exception
search
- the AdminWishListSearch object that defines the wishlist objects to search for. If
null we use the default AdminWishListSearch object.offset
- starting offset in database - so that you can page through resultssize
- size of the group that will be returned - the maximum number of records returnedKKAdminException
- an unexpected exception in the KonaKart Admin engineorg.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)java.lang.Exception
- an unexpected exceptionint insertWishList(AdminWishList wishList) throws KKAdminException
wishList
- the wishListKKAdminException
- an unexpected exception in the KonaKart Admin enginevoid deleteWishList(int wishListId) throws KKAdminException
wishListId
- the wishListIdKKAdminException
- an unexpected exception in the KonaKart Admin engineint insertWishListItem(AdminWishListItem wishListItem) throws KKAdminException
wishListItem
- the wishListItemKKAdminException
- an unexpected exception in the KonaKart Admin enginevoid deleteWishListItem(int wishListItemId) throws KKAdminException
wishListItemId
- the wishListItemIdKKAdminException
- an unexpected exception in the KonaKart Admin engineCopyright © 2018 DS Data Systems UK Ltd.