public final class ShoppingCartItemDAO extends Object implements IShoppingCartItemDAO
| Constructor and Description |
|---|
ShoppingCartItemDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nShoppingItemId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
List<ShoppingCartItem> |
findByFilter(ShoppingCartItemFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find shopping cart items by filter
|
void |
insert(ShoppingCartItem item,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
ShoppingCartItem |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
Collection<ShoppingCartItem> |
selectShoppingItemsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the shoppingItem objects and returns them as a
collection
|
void |
store(ShoppingCartItem item,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public void insert(ShoppingCartItem item, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IShoppingCartItemDAOitem - instance of the ShoppingItem object to insertplugin - the pluginpublic ShoppingCartItem load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IShoppingCartItemDAOnKey - The identifier of the itemplugin - the Pluginpublic void delete(int nShoppingItemId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IShoppingCartItemDAOnShoppingItemId - The identifier of the item to deleteplugin - the pluginpublic void store(ShoppingCartItem item, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IShoppingCartItemDAOitem - the reference of the itemplugin - the pluginpublic Collection<ShoppingCartItem> selectShoppingItemsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectShoppingItemsList in interface IShoppingCartItemDAOplugin - the Pluginpublic List<ShoppingCartItem> findByFilter(ShoppingCartItemFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findByFilter in interface IShoppingCartItemDAOfilter - The filterplugin - The pluginCopyright © 2014 Mairie de Paris. All rights reserved.