public class ShoppingCartLotDAO extends Object implements IShoppingCartLotDAO
| Constructor and Description |
|---|
ShoppingCartLotDAO() |
| Modifier and Type | Method and Description |
|---|---|
int |
getLastIdlotOfUser(String strUserName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the last id lot used by a user
|
int |
getNewIdLotForUser(String strUserName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get a new id lot for a user.
|
String |
getUserNameFromIdLot(int nIdLot,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the name of the user associated with a given lot
|
public int getLastIdlotOfUser(String strUserName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
getLastIdlotOfUser in interface IShoppingCartLotDAOstrUserName - The name of the user to get the lot id ofplugin - The plugin to use the pool ofpublic int getNewIdLotForUser(String strUserName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
getNewIdLotForUser in interface IShoppingCartLotDAOstrUserName - The name of the user to get the lot id forplugin - The plugin to use the pool ofpublic String getUserNameFromIdLot(int nIdLot, fr.paris.lutece.portal.service.plugin.Plugin plugin)
getUserNameFromIdLot in interface IShoppingCartLotDAOnIdLot - The id of the lot to get the name of the user associated
withplugin - The plugin to use the pool ofCopyright © 2014 Mairie de Paris. All rights reserved.