public interface AdminSuggestionMgrIf
Modifier and Type | Method and Description |
---|---|
void |
deleteSuggestions(AdminSuggestion suggestion)
This deletes suggestion records from the database.
|
AdminSuggestionSearchResult |
getSuggestions(AdminSuggestion suggestion,
AdminDataDescriptor dataDesc)
This retrieves AdminSuggestion objects from the database.
|
void |
insertSuggestions(AdminSuggestion[] suggestions)
This inserts AdminSuggestion objects into the database.
|
AdminSuggestionSearchResult getSuggestions(AdminSuggestion suggestion, AdminDataDescriptor dataDesc) throws KKAdminException
The where clause for the select will be created by using the values in the suggestion parameter.
suggestion
- Used to define the searchdataDesc
- data descriptor for defining generic search parameters such as size and offsetKKAdminException
- an unexpected exception in the KonaKart Admin enginevoid insertSuggestions(AdminSuggestion[] suggestions) throws KKAdminException
For Product Suggestion types the boughtProductId attribute must be set on the AdminSuggestion objects.
For Customer Suggestion types the customerId attribute must be set on the AdminSuggestion objects.
suggestions
- An array of AdminSuggestion objectsKKAdminException
- an unexpected exception in the KonaKart Admin enginevoid deleteSuggestions(AdminSuggestion suggestion) throws KKAdminException
suggestion
- An AdminSuggestion object that is used to specify the records to delete.KKAdminException
- an unexpected exception in the KonaKart Admin engineCopyright © 2018 DS Data Systems UK Ltd.