| Modifier and Type | Class and Description |
|---|---|
class |
ShoppingCartItemDTO
DTO for shopping cart items
|
| Modifier and Type | Method and Description |
|---|---|
static ShoppingCartItem |
ShoppingCartItemHome.findByPrimaryKey(int nKey)
Returns an instance of a shoppingItem whose identifier is specified in
parameter
|
ShoppingCartItem |
ShoppingCartItemDAO.load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
ShoppingCartItem |
IShoppingCartItemDAO.load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
| Modifier and Type | Method and Description |
|---|---|
static List<ShoppingCartItem> |
ShoppingCartItemHome.findByFilter(ShoppingCartItemFilter filter)
Get the list of items that match the given filter
|
List<ShoppingCartItem> |
ShoppingCartItemDAO.findByFilter(ShoppingCartItemFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find shopping cart items by filter
|
List<ShoppingCartItem> |
IShoppingCartItemDAO.findByFilter(ShoppingCartItemFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find shopping cart items by filter
|
static Collection<ShoppingCartItem> |
ShoppingCartItemHome.getShoppingItemsList()
Load the data of all the shoppingItem objects and returns them in form of
a collection
|
Collection<ShoppingCartItem> |
ShoppingCartItemDAO.selectShoppingItemsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the shoppingItem objects and returns them as a
collection
|
Collection<ShoppingCartItem> |
IShoppingCartItemDAO.selectShoppingItemsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the shoppingItem objects and returns them as a
collection
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ShoppingCartItemHome.create(ShoppingCartItem item)
Create an instance of the shoppingItem class
|
void |
ShoppingCartItemDAO.insert(ShoppingCartItem item,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
void |
IShoppingCartItemDAO.insert(ShoppingCartItem item,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
void |
ShoppingCartItemDAO.store(ShoppingCartItem item,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
void |
IShoppingCartItemDAO.store(ShoppingCartItem item,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
static void |
ShoppingCartItemHome.update(ShoppingCartItem item)
Update of the shoppingItem which is specified in parameter
|
| Constructor and Description |
|---|
ShoppingCartItemDTO(ShoppingCartItem item)
Creates a new DTO from values of an item
|
| Modifier and Type | Method and Description |
|---|---|
ShoppingCartItem |
ShoppingCartService.getShoppingCartItem(int nIdShoppingCartItem,
String strUserName)
Get a shopping cart item from its id
|
| Modifier and Type | Method and Description |
|---|---|
List<ShoppingCartItem> |
ShoppingCartService.getShoppingCartItems(fr.paris.lutece.portal.service.security.LuteceUser user,
String strIdProvider)
Get the list of shopping cart items for a given user
|
List<ShoppingCartItem> |
ShoppingCartService.getShoppingCartItemsByFilter(ShoppingCartItemFilter filter)
Get the list of shopping cart items that match a given filter.
|
List<ShoppingCartItem> |
ShoppingCartService.getShoppingCartOfUser(fr.paris.lutece.portal.service.security.LuteceUser user)
Get the list of shopping cart items of a user
|
List<ShoppingCartItem> |
ShoppingCartService.getShoppingCartOfUser(String strUserName)
Get the list of shopping cart items of a user
|
| Modifier and Type | Method and Description |
|---|---|
void |
ShoppingCartService.addItemToShoppingCart(ShoppingCartItem item)
Add an item to the shopping cart of a user.
|
void |
ShoppingCartService.addItemToShoppingCart(ShoppingCartItem item,
fr.paris.lutece.portal.service.security.LuteceUser user)
Add an item to the shopping cart of a user
|
| Modifier and Type | Method and Description |
|---|---|
ShoppingCartItem |
DatabasePersistenceService.findItemById(int nIdShoppingCartItem)
Get a shopping cart item from its id
|
ShoppingCartItem |
IShoppingCartPersistenceService.findItemById(int nIdShoppingCartItem)
Get a shopping cart item from its id
|
ShoppingCartItem |
SessionPersistenceService.findItemById(int nIdShoppingCartItem)
Get a shopping cart item from its id
|
| Modifier and Type | Method and Description |
|---|---|
List<ShoppingCartItem> |
DatabasePersistenceService.findItemsByFilter(ShoppingCartItemFilter filter)
Find items by filter
|
List<ShoppingCartItem> |
IShoppingCartPersistenceService.findItemsByFilter(ShoppingCartItemFilter filter)
Find items by filter
|
List<ShoppingCartItem> |
SessionPersistenceService.findItemsByFilter(ShoppingCartItemFilter filter)
Find items by filter
|
List<ShoppingCartItem> |
SessionedShoppingCartItem.getItemList()
Get the list of items associated with this listener.
|
List<ShoppingCartItem> |
DatabasePersistenceService.getItemsOfUser(String strUserName)
Get the items of a given user
|
List<ShoppingCartItem> |
IShoppingCartPersistenceService.getItemsOfUser(String strUserName)
Get the items of a given user
|
List<ShoppingCartItem> |
SessionPersistenceService.getItemsOfUser(String strUserName)
Get the items of a given user
|
| Modifier and Type | Method and Description |
|---|---|
void |
DatabasePersistenceService.saveItem(ShoppingCartItem item)
Save a shopping cart item
|
void |
IShoppingCartPersistenceService.saveItem(ShoppingCartItem item)
Save a shopping cart item
|
void |
SessionPersistenceService.saveItem(ShoppingCartItem item)
Save a shopping cart item
|
| Constructor and Description |
|---|
SessionedShoppingCartItem(List<ShoppingCartItem> listItems,
boolean bNotifyProvider)
Creates a new session removal listener for a list of items
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ShoppingCartItemProviderManagementService.notifyItemRemoval(ShoppingCartItem item)
Notify the provider of the item that the item will be removed from the
shopping cart of the user
|
static void |
ShoppingCartItemProviderManagementService.notifyItemValidation(ShoppingCartItem item)
Notify the provider of the item that the item has been successfully
validated.
|
| Modifier and Type | Method and Description |
|---|---|
String |
IShoppingCartValidator.getSecurityKeyForItems(List<ShoppingCartItem> listItems)
Get a unique security key of the given list for this validator.
|
String |
AbstractShoppingCartValidator.getSecurityKeyForItems(List<ShoppingCartItem> listItems)
Get a unique security key of the given list for this validator.
|
String |
IShoppingCartValidator.getValidationFormHtml(List<ShoppingCartItem> listItemsToValidate,
Locale locale)
Get the HTML content of the form of this validator to display to users
before they can validate their shopping cart.
|
String |
LoggedInUserValidator.getValidationFormHtml(List<ShoppingCartItem> listItemsToValidate,
Locale locale)
Get the HTML content of the form of this validator to display to users
before they can validate their shopping cart.
|
String |
IShoppingCartValidator.validateShoppingCart(fr.paris.lutece.portal.service.security.LuteceUser user,
List<ShoppingCartItem> listItemsToValidate,
Map<String,String[]> mapRequestParameters)
Validate items of the shopping cart of a user.
|
String |
LoggedInUserValidator.validateShoppingCart(fr.paris.lutece.portal.service.security.LuteceUser user,
List<ShoppingCartItem> listItemsToValidate,
Map<String,String[]> mapRequestParameters)
Validate items of the shopping cart of a user.
|
Copyright © 2014 Mairie de Paris. All rights reserved.