public final class ShoppingCartLotService extends Object
| Modifier and Type | Method and Description |
|---|---|
static ShoppingCartLotService |
getInstance()
Get the instance of the service
|
int |
getLastIdlotOfUser(fr.paris.lutece.portal.service.security.LuteceUser user)
Get the last id lot used by a user
|
int |
getLastIdlotOfUser(String strUserName)
Get the last id lot used by a user
|
int |
getNewIdLotForUser(fr.paris.lutece.portal.service.security.LuteceUser user)
Get a new id lot for a user.
|
int |
getNewIdLotForUser(String strUserName)
Get a new id lot for a user.
|
String |
getUserNameFromIdLot(int nIdLot)
Get the name of the user associated with a given lot
|
public static ShoppingCartLotService getInstance()
public int getLastIdlotOfUser(fr.paris.lutece.portal.service.security.LuteceUser user)
user - The user to get the lot id ofpublic int getLastIdlotOfUser(String strUserName)
strUserName - The name of the user to get the lot id ofpublic int getNewIdLotForUser(fr.paris.lutece.portal.service.security.LuteceUser user)
user - The user to get the lot id forpublic int getNewIdLotForUser(String strUserName)
strUserName - The name of the user to get the lot id forpublic String getUserNameFromIdLot(int nIdLot)
nIdLot - The id of the lot to get the name of the user associated
withCopyright © 2014 Mairie de Paris. All rights reserved.