|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CustomerSessionService
Provide customer-session related business service.
Method Summary | |
---|---|
CustomerSession |
add(CustomerSession customerSession)
Adds the given customer session. |
void |
deleteByCustomer(long customerUid)
Delete all customerSession associated with customer with the given id. |
CustomerSession |
findByGuid(java.lang.String guid)
Find the customer session with the given guid. |
CustomerSession |
get(long customerSessionUid)
Get the customerSession with the given UID. |
CustomerSession |
load(long customerSessionUid)
Load the customer session with the given UID. |
void |
update(CustomerSession customerSession)
Updates the given customer session. |
void |
update(CustomerSession customerSession,
Customer customer)
Updates the given customer session. |
Methods inherited from interface com.elasticpath.service.EpPersistenceService |
---|
getObject, getPersistenceEngine, setPersistenceEngine |
Methods inherited from interface com.elasticpath.service.EpService |
---|
getElasticPath, setElasticPath |
Method Detail |
---|
CustomerSession add(CustomerSession customerSession) throws EpServiceException
customerSession
- the customer session to add
EpServiceException
- - in case of any errorsvoid deleteByCustomer(long customerUid) throws EpServiceException
customerUid
- uid of the customer
EpServiceException
- if any thing goes wrong.CustomerSession findByGuid(java.lang.String guid) throws EpServiceException
guid
- the customer session guid
EpServiceException
- - in case of any errorsCustomerSession get(long customerSessionUid) throws EpServiceException
customerSessionUid
- the customerSession UID
EpServiceException
- - in case of any errorsCustomerSession load(long customerSessionUid) throws EpServiceException
customerSessionUid
- the customer session UID
EpServiceException
- - in case of any errorsvoid update(CustomerSession customerSession) throws EpServiceException
customerSession
- the customer session to update
EpServiceException
- - in case of any errorsvoid update(CustomerSession customerSession, Customer customer) throws EpServiceException
customerSession
- the customer session to updatecustomer
- the customer to be used to update customer session instance
EpServiceException
- - in case of any errors
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |