ShoppingCartInfoProvider Methods |
The ShoppingCartInfoProvider type exposes the following members.
Name | Description | |
---|---|---|
AddShoppingCartItem |
Adds new initialized item to the shopping cart items collection.
| |
AddShoppingCartItemInternal(ShoppingCartInfo, ShoppingCartItemInfo) |
Adds new initialized item to the shopping cart items collection.
| |
AddShoppingCartItemInternal(ShoppingCartInfo, ShoppingCartItemParameters) |
Adds new item to the shopping cart object and returns its object.
| |
BeginTransaction |
Creates a new transaction over this provider.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
BulkDelete |
Bulk deletes info objects based on the given condition.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
BulkInsertInfos(IEnumerableBaseInfo) |
Bulk inserts the given list of info objects
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
BulkInsertInfos(IEnumerableTInfo, BulkInsertSettings) |
Bulk inserts the given list of info objects.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
CalculateTotalItemsWeight |
Calculates total weight of all shopping cart items.
| |
CalculateTotalItemsWeightInternal |
Calculates total weight of all shopping cart items.
| |
CheckUniqueCodeName |
Checks if the object has unique code name. Returns true if the object has unique code name.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
CheckUniqueValues |
Checks if a record with the same column values already exists in the database. Returns true if the set of values is unique.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
ClearHashtables |
Clears the object's hashtables.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
CopyShoppingCartItems |
Updates destination shopping cart with source shopping cart.
If such product configuration already exists in the shopping cart, only its quantity is updated. | |
CopyShoppingCartItemsInternal |
Updates destination shopping cart with source shopping cart.
If such product configuration already exists in the shopping cart, only its quantity is updated. | |
CreateDefaultBulkInsertSettings |
Creates bulk insert settings. By default CheckConstraints
and TableLock flags are set.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
CreateInfo |
Creates a new info object.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
CreateWebFarmTask(String, String) |
Creates web farm task specific for current object and action name
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
CreateWebFarmTask(String, String, Byte, String) |
Creates web farm task specific for current object and action name
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
Delete |
Deletes the info object from the underlying data store.
(Overrides AbstractInfoProviderTInfo, TProviderDelete(TInfo).) | |
DeleteInfo |
Deletes the object to the database.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
DeleteObjectFromHashtables |
Deletes the object instance from the hashtables.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
DeleteShoppingCartInfo(Guid) |
Deletes shopping cart with specified GUID.
| |
DeleteShoppingCartInfo(Int32) | Obsolete.
Deletes shopping cart with specified ID.
| |
DeleteShoppingCartInfo(ShoppingCartInfo) | Obsolete.
Deletes specified shopping cart.
| |
DeleteShoppingCartInfo(Int32, String) |
Deletes shopping cart of the specified user.
| |
DeleteShoppingCartInfoInternal | Obsolete.
Deletes specified shopping cart.
| |
DeleteShoppingCartItems |
Deletes all items of the specified shopping cart.
| |
DeleteShoppingCartItemsInternal |
Deletes items of the specified shopping cart.
| |
EmptyShoppingCart |
Removes all items from specified shopping cart object.
| |
EmptyShoppingCartInternal |
Removes all items from specified shopping cart object and from the shopping cart in database.
| |
EvaluateContent |
Recalculates shopping cart content table.
| |
EvaluateContentInternal |
Recalculates shopping cart content table.
| |
Get |
Gets the object query for TInfo retrieval.
(Inherited from AbstractInfoProviderTInfo, TProvider.) | |
Get(String) |
Gets an instance of info object based on its code name.
(Inherited from AbstractInfoProviderTInfo, TProvider.) | |
Get(Guid) |
Gets an instance of info object based on its GUID.
(Overrides AbstractInfoProviderTInfo, TProviderGet(Guid).) | |
Get(Int32) |
Gets an instance of info object based on its ID.
(Overrides AbstractInfoProviderTInfo, TProviderGet(Int32).) | |
Get(Guid, Int32) |
Gets an instance of info object based on its GUID and site ID.
(Inherited from AbstractInfoProviderTInfo, TProvider.) | |
Get(String, Int32) |
Gets an instance of info object based on its code name and site ID.
(Inherited from AbstractInfoProviderTInfo, TProvider.) | |
GetAsync(String, NullableCancellationToken) |
Asynchronously gets an instance of info object based on its code name.
(Inherited from AbstractInfoProviderTInfo, TProvider.) | |
GetAsync(Guid, NullableCancellationToken) |
Asynchronously gets an instance of info object based on its GUID.
(Overrides AbstractInfoProviderTInfo, TProviderGetAsync(Guid, NullableCancellationToken).) | |
GetAsync(Int32, NullableCancellationToken) |
Asynchronously gets an instance of info object based on its ID.
(Overrides AbstractInfoProviderTInfo, TProviderGetAsync(Int32, NullableCancellationToken).) | |
GetAsync(Guid, Int32, NullableCancellationToken) |
Asynchronously gets an instance of info object based on its GUID and site ID.
(Inherited from AbstractInfoProviderTInfo, TProvider.) | |
GetAsync(String, Int32, NullableCancellationToken) |
Asynchronously gets an instance of info object based on its code name and site ID.
(Inherited from AbstractInfoProviderTInfo, TProvider.) | |
GetDeleteQuery |
Gets the object query that deletes all items matching the query parameters
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
GetInfoByCodeName(String, Boolean) |
Gets an instance of info object based on the given code name.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
GetInfoByCodeName(String, Int32, Boolean) |
Gets an instance of info object based on the given code name.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
GetInfoByCodeName(String, Int32, Boolean, Boolean) |
Gets an instance of info object based on the given code name.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
GetInfoByCodeName(String, Int32, Int32, Boolean) |
Gets an instance of info object based on the given code name.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
GetInfoByCodeNameAsync(String, Boolean, CancellationToken) |
Asynchronously gets an instance of info object based on the given code name.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
GetInfoByCodeNameAsync(String, Int32, Boolean, CancellationToken) |
Asynchronously gets an instance of info object based on the given code name.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
GetInfoByFullName |
Gets an instance of info object based on the given full name.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
GetInfoByGuid(Guid, Boolean) |
Gets an instance of info object based on the given GUID.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
GetInfoByGuid(Guid, Int32, Boolean) |
Gets an instance of info object based on the GUID.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
GetInfoByGuidAsync(Guid, Boolean, CancellationToken) |
Asynchronously gets an instance of info object based on the given GUID.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
GetInfoByGuidAsync(Guid, Int32, Boolean, CancellationToken) |
Asynchronously gets an instance of info object based on the GUID.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
GetInfoById |
Gets an instance of info object based on ID.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
GetInfoByIdAsync |
Asynchronously gets an instance of info object based on ID.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
GetInfosByIds |
Gets the list of info objects by their IDs.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
GetObjectQuery |
Gets the object query for the provider
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
GetObjectQueryInternal |
Gets the object query for the provider
(Inherited from AbstractInfoProviderTInfo, TProvider.) | |
GetOrderInvoice |
Returns the HTML code for the order invoice.
| |
GetOrderInvoiceInternal |
Returns the HTML code for the order invoice.
| |
GetShoppingCartInfo(Guid) | Obsolete.
Returns shopping cart with specified GUID.
| |
GetShoppingCartInfo(Int32) | Obsolete.
Returns shopping cart with specified ID.
| |
GetShoppingCartInfo(Int32, String) |
Returns shopping cart of the specified user.
| |
GetShoppingCartInfoFromOrder |
Returns ShoppingCartInfo object created from the order data.
| |
GetShoppingCartInfoFromOrderInternal |
Returns ShoppingCartInfo object created from the order data.
| |
GetShoppingCartInfoInternal(Guid) | Obsolete.
Returns shopping cart with specified GUID.
| |
GetShoppingCartInfoInternal(Int32) | Obsolete.
Returns shopping cart with specified ID.
| |
GetShoppingCartInfoInternal(Int32, String) |
Returns shopping cart of the specified user.
| |
GetShoppingCartItem(ShoppingCartInfo, Guid) |
Returns shopping cart item from the specified shopping cart object.
| |
GetShoppingCartItem(ShoppingCartInfo, Int32) |
Returns shopping cart item from the specified shopping cart object.
| |
GetShoppingCartItemInternal(ShoppingCartInfo, ShoppingCartItemParameters) |
Returns specified shopping cart item from the given shopping cart object. If such item is not found, null is returned.
By default shopping cart item is searched according to the product SKUID and SKUIDs of its product options.
| |
GetShoppingCartItemInternal(ShoppingCartInfo, Guid) |
Returns shopping cart item from the specified shopping cart object.
| |
GetShoppingCartItemInternal(ShoppingCartInfo, Int32) |
Returns shopping cart item from the specified shopping cart object.
| |
GetShoppingCartResolver |
Returns initialized shopping cart resolver.
| |
GetShoppingCartResolverInternal |
Returns initialized shopping cart resolver
| |
GetShoppingCarts | Obsolete.
Returns the query for all shopping carts.
| |
GetShoppingCarts(Int32) |
Returns dataset of all shopping carts for specified site.
| |
GetShoppingCartsInternal |
Returns dataset of all shopping carts for specified site matching the specified parameters.
| |
GetTotalUnits |
Returns sum of all shopping cart items' units, bundle items and product options are not included.
| |
GetTotalUnitsInternal |
Returns sum of all shopping cart items' units, bundle items and product options are not included.
| |
Init |
Initializes the provider with the given type info and hashtable settings
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
InitHashtableSettings | (Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
InitTypeInfoAndRegister |
Initializes the provider variables.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
Invalidate |
Sets this provider as invalid
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
LoadAllInfos |
Loads all infos to the hashtable
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
LoadInfos |
Loads all objects from the database to memory.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
ProcessWebFarmTask |
Runs the processing of specific web farm task for current provider
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
ProcessWebFarmTaskInternal |
Runs the processing of specific web farm task for current provider
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
RegisterObjectInHashtables |
Registers the object instance within the hashtables.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
RemoveOriginalCodeNameFromHashtable |
Removes the original object code name from the hashtable
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
RemoveShoppingCartItem(ShoppingCartInfo, ShoppingCartItemInfo) |
Removes shopping cart item, related bundle items and its product options from the specified shopping cart object.
| |
RemoveShoppingCartItem(ShoppingCartInfo, Guid) |
Removes shopping cart item and its product options from the specified shopping cart object.
| |
RemoveShoppingCartItem(ShoppingCartInfo, Int32) |
Removes shopping cart item and its product options from the specified shopping cart object.
| |
RemoveShoppingCartItemInternal |
Removes shopping cart item, related bundle items and its product options from the specified shopping cart object.
| |
Set |
Inserts or updates the info object in the underlying data store.
(Overrides AbstractInfoProviderTInfo, TProviderSet(TInfo).) | |
SetAsDefaultProvider | Sets this provider instance as the default provider. Since the providers are managed by IoC container, setting the provider instance must be performed before the IoC container initialization finishes (i.e. during application pre-initialization). | |
SetInfo |
Inserts or Updates the object to the database.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
SetOrder(ShoppingCartInfo) |
Creates or updates order based on the data of the specified shopping cart.
| |
SetOrder(ShoppingCartInfo, Boolean) |
Creates or updates order based on the data of the specified shopping cart.
| |
SetOrderInternal |
Creates or updates order based on the data of the specified shopping cart.
| |
SetOrderItems |
Creates or updates order items based on the items of the specified shopping cart.
| |
SetOrderItemsInternal |
Creates or updates order items based on the items of the specified shopping cart.
| |
SetShoppingCartInfo | Obsolete.
Sets (updates or inserts) specified shopping cart.
| |
SetShoppingCartInfoInternal | Obsolete.
Sets (updates or inserts) specified shopping cart.
| |
SetShoppingCartItem |
Adds the product (and its product options) specified in the itemParams to the specified cart object.
If such product configuration already exists in the shopping cart,
only the CartItemUnits property is increased by Quantity.
The added/updated shopping cart item is returned.
| |
SetShoppingCartItemInternal |
Adds the product (and its product options) specified in the itemParams to the specified cart object.
If such product configuration already exists in the shopping cart,
only the CartItemUnits property is increased by Quantity.
The added/updated shopping cart item is returned.
| |
UpdateData(String, QueryDataParameters, String) |
Updates the data in the database based on the given where condition.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
UpdateData(IWhereCondition, IEnumerableKeyValuePairString, Object, Boolean) |
Updates the data in the database based on the given where condition.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
UpdateObjectInHashtables |
Updates the object instance in the hashtables. Update is different than RegisterObjectInHashtables(TInfo), because it logs task about changing object.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
UpdateShoppingCartFromOrder |
Updates shopping cart with shopping cart from order. If such product configuration already exists in the shopping cart, only its quantity is updated.
Returns true if all ordered items were successfully added to cart.
| |
UpdateShoppingCartFromOrderInternal |
Updates shopping cart with shopping cart from order. If such product configuration already exists in the shopping cart, only its quantity is updated.
Returns true if all ordered items were successfully added to cart.
| |
UpdateShoppingCartItemInternal |
Updates shopping cart item in the specified shopping cart object. By default only units of the specified shopping cart item and units of its product options are updated.
| |
ValidateCodeName |
Validates the object code name. Returns true if the code name is valid.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.) | |
ValidateShoppingCart |
Validates shopping cart and all its items. Returns an empty collection in case validation passes.
| |
ValidateShoppingCartInternal |
Validates shopping cart and all its items. Returns an empty collection in case validation passes.
|