public final class ShoppingCartItemHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
create(ShoppingCartItem item)
Create an instance of the shoppingItem class
|
static List<ShoppingCartItem> |
findByFilter(ShoppingCartItemFilter filter)
Get the list of items that match the given filter
|
static ShoppingCartItem |
findByPrimaryKey(int nKey)
Returns an instance of a shoppingItem whose identifier is specified in
parameter
|
static Collection<ShoppingCartItem> |
getShoppingItemsList()
Load the data of all the shoppingItem objects and returns them in form of
a collection
|
static void |
remove(int nShoppingItemId)
Remove the shoppingItem whose identifier is specified in parameter
|
static void |
update(ShoppingCartItem item)
Update of the shoppingItem which is specified in parameter
|
public static void create(ShoppingCartItem item)
item - The item to createpublic static void update(ShoppingCartItem item)
item - The instance of the ShoppingItem which contains the
data to storepublic static void remove(int nShoppingItemId)
nShoppingItemId - The shoppingItem Idpublic static ShoppingCartItem findByPrimaryKey(int nKey)
nKey - The shoppingItem primary keypublic static List<ShoppingCartItem> findByFilter(ShoppingCartItemFilter filter)
filter - The filterpublic static Collection<ShoppingCartItem> getShoppingItemsList()
Copyright © 2014 Mairie de Paris. All rights reserved.