|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.elasticpath.domain.impl.AbstractEpDomainImpl
com.elasticpath.domain.impl.AbstractPersistenceImpl
com.elasticpath.domain.impl.AbstractEntityImpl
com.elasticpath.domain.customer.impl.CustomerSessionImpl
public class CustomerSessionImpl
The default implementation of CustomerSession.
| Field Summary | |
|---|---|
static long |
serialVersionUID
Serial version id. |
| Constructor Summary | |
|---|---|
CustomerSessionImpl()
|
|
| Method Summary | |
|---|---|
CustomerSession |
getClone()
Returns a copy of this customer session. |
java.util.Date |
getCreationDate()
Get the date the session was created. |
java.util.Currency |
getCurrency()
Get the currency of the customer corresponding to the shopping cart. |
Customer |
getCustomer()
Get the customer. |
java.lang.String |
getEmail()
Get the email address of the session user. |
java.lang.String |
getIpAddress()
Get the ipAddress of the user from the shopping cart. |
java.util.Date |
getLastAccessedDate()
Get the date the session was last accessed. |
java.util.Locale |
getLocale()
Get the locale of the customer corresponding to the shopping cart. |
boolean |
isSignedIn()
Returns true if the customer is singed in. |
void |
setCreationDate(java.util.Date creationDate)
Set the date the session was created. |
void |
setCurrency(java.util.Currency currency)
Set the currency of the customer corresponding to the shopping cart. |
void |
setCustomer(Customer customer)
Set the customer. |
void |
setEmail(java.lang.String email)
Set the email address of the session user. |
void |
setIpAddress(java.lang.String ipAddress)
Set the users ip Address into the shopping cart. |
void |
setLastAccessedDate(java.util.Date lastAccessedDate)
Set the date the session was last accessed. |
void |
setLocale(java.util.Locale locale)
Set the locale of the customer corresponding to the shopping cart. |
void |
setSignedIn(boolean signedIn)
Set to true if the customer is signed in. |
| Methods inherited from class com.elasticpath.domain.impl.AbstractEntityImpl |
|---|
convertAttributeGroupAttributes, getGuid, setDefaultValues, setGuid |
| Methods inherited from class com.elasticpath.domain.impl.AbstractPersistenceImpl |
|---|
executeBeforePersistAction, getUidPk, isPersistent, setUidPk |
| Methods inherited from class com.elasticpath.domain.impl.AbstractEpDomainImpl |
|---|
getElasticPath, setElasticPath |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.elasticpath.domain.Entity |
|---|
getGuid, setGuid |
| Methods inherited from interface com.elasticpath.domain.Persistence |
|---|
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk |
| Methods inherited from interface com.elasticpath.domain.EpDomain |
|---|
getElasticPath, setElasticPath |
| Field Detail |
|---|
public static final long serialVersionUID
| Constructor Detail |
|---|
public CustomerSessionImpl()
| Method Detail |
|---|
public CustomerSession getClone()
getClone in interface CustomerSessionCustomerSession copypublic java.util.Date getCreationDate()
getCreationDate in interface CustomerSessionpublic java.util.Currency getCurrency()
getCurrency in interface CustomerSessionCurrencypublic Customer getCustomer()
getCustomer in interface CustomerSessionpublic java.lang.String getEmail()
getEmail in interface CustomerSessionpublic java.lang.String getIpAddress()
getIpAddress in interface CustomerSessionpublic java.util.Date getLastAccessedDate()
getLastAccessedDate in interface CustomerSessionpublic java.util.Locale getLocale()
getLocale in interface CustomerSessionLocalepublic boolean isSignedIn()
isSignedIn in interface CustomerSessionpublic void setCreationDate(java.util.Date creationDate)
setCreationDate in interface CustomerSessioncreationDate - the datepublic void setCurrency(java.util.Currency currency)
setCurrency in interface CustomerSessioncurrency - the Currencypublic void setCustomer(Customer customer)
setCustomer in interface CustomerSessioncustomer - the customerpublic void setEmail(java.lang.String email)
setEmail in interface CustomerSessionemail - the email addresspublic void setIpAddress(java.lang.String ipAddress)
setIpAddress in interface CustomerSessionipAddress - the ipAddress of the user.public void setLastAccessedDate(java.util.Date lastAccessedDate)
setLastAccessedDate in interface CustomerSessionlastAccessedDate - the datepublic void setLocale(java.util.Locale locale)
setLocale in interface CustomerSessionlocale - the Localepublic void setSignedIn(boolean signedIn)
setSignedIn in interface CustomerSessionsignedIn - set to true if the customer is signed in.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||