Class DefaultOrderResolver
- java.lang.Object
-
- de.hybris.platform.ticket.resolver.DefaultOrderResolver
-
- All Implemented Interfaces:
TicketAssociatedObjectResolver
public class DefaultOrderResolver extends java.lang.Object implements TicketAssociatedObjectResolver
This class is responsible for to retrieve the Customer Cart for the code supplied.
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringORDER_NOT_FOUND_FOR_USER_AND_BASE_STORE
-
Constructor Summary
Constructors Constructor Description DefaultOrderResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BaseStoreServicegetBaseStoreService()protected CustomerAccountServicegetCustomerAccountService()AbstractOrderModelgetObject(java.lang.String code, java.lang.String userUid, java.lang.String siteUid)protected UserServicegetUserService()voidsetBaseStoreService(BaseStoreService baseStoreService)voidsetCustomerAccountService(CustomerAccountService customerAccountService)voidsetUserService(UserService userService)
-
-
-
Field Detail
-
ORDER_NOT_FOUND_FOR_USER_AND_BASE_STORE
protected static final java.lang.String ORDER_NOT_FOUND_FOR_USER_AND_BASE_STORE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getObject
public AbstractOrderModel getObject(java.lang.String code, java.lang.String userUid, java.lang.String siteUid)
- Specified by:
getObjectin interfaceTicketAssociatedObjectResolver- Parameters:
code- mandatoryuserUid- optionalsiteUid- optional- Returns:
-
getUserService
protected UserService getUserService()
- Returns:
- the userService
-
getBaseStoreService
protected BaseStoreService getBaseStoreService()
- Returns:
- the baseStoreService
-
getCustomerAccountService
protected CustomerAccountService getCustomerAccountService()
- Returns:
- the customerAccountService
-
setUserService
public void setUserService(UserService userService)
- Parameters:
userService- the userService to set
-
setBaseStoreService
public void setBaseStoreService(BaseStoreService baseStoreService)
- Parameters:
baseStoreService- the baseStoreService to set
-
setCustomerAccountService
public void setCustomerAccountService(CustomerAccountService customerAccountService)
- Parameters:
customerAccountService- the customerAccountService to set
-
-