Class DefaultCommerceCustomerSupportService
- java.lang.Object
-
- de.hybris.platform.customersupport.impl.DefaultCommerceCustomerSupportService
-
- All Implemented Interfaces:
CommerceCustomerSupportService
public class DefaultCommerceCustomerSupportService extends java.lang.Object implements CommerceCustomerSupportService
The default implementation returns no any data. Customer Support mode is off always.
-
-
Constructor Summary
Constructors Constructor Description DefaultCommerceCustomerSupportService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserModelgetAgent()Returns Agent if Customer Support mode is on.UserModelgetEmulatedCustomer()Returns Emulated Customer if Customer Support mode is on and any Customer is emulated.booleanisCustomerSupportAgentActive()Returns true if Customer Support mode is on (Customer Support Agent is active).
-
-
-
Method Detail
-
isCustomerSupportAgentActive
public boolean isCustomerSupportAgentActive()
Description copied from interface:CommerceCustomerSupportServiceReturns true if Customer Support mode is on (Customer Support Agent is active).- Specified by:
isCustomerSupportAgentActivein interfaceCommerceCustomerSupportService- Returns:
- boolean
-
getEmulatedCustomer
public UserModel getEmulatedCustomer()
Description copied from interface:CommerceCustomerSupportServiceReturns Emulated Customer if Customer Support mode is on and any Customer is emulated.- Specified by:
getEmulatedCustomerin interfaceCommerceCustomerSupportService- Returns:
- UserModel
-
getAgent
public UserModel getAgent()
Description copied from interface:CommerceCustomerSupportServiceReturns Agent if Customer Support mode is on.- Specified by:
getAgentin interfaceCommerceCustomerSupportService- Returns:
- UserModel
-
-