public class Session
extends java.lang.Object
Constructor and Description |
---|
Session(play.mvc.Http.Session httpSession) |
Modifier and Type | Method and Description |
---|---|
void |
clearCart() |
void |
clearCustomer() |
static Session |
current() |
VersionedId |
getCartId() |
java.lang.Integer |
getCartTotalQuantity() |
VersionedId |
getCustomerId() |
play.mvc.Http.Session |
getHttpSession() |
Cart |
putCart(Cart cart) |
Customer |
putCustomer(Customer customer) |
public play.mvc.Http.Session getHttpSession()
public static Session current()
@Nullable public VersionedId getCartId()
@Nullable public java.lang.Integer getCartTotalQuantity()
public void clearCart()
@Nullable public VersionedId getCustomerId()
public void clearCustomer()