Class DefaultReturnRequestDao
java.lang.Object
de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
de.hybris.platform.returns.dao.impl.DefaultReturnRequestDao
- All Implemented Interfaces:
ReturnRequestDao,Dao
Default implementation for ReturnRequestDao.
-
Field Summary
Fields inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
flexibleSearchService, modelService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateReturnRequest(OrderModel order) Creates an "authorization" object (@link ReturnRequest} for the order to be returned, if there doesn't exists one for that order so farprotected OrderModelgetOrderByCode(String code) Returns an order by its codegetReturnRequests(String code) Returns the "return request" for the specified orderMethods inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelService
-
Constructor Details
-
DefaultReturnRequestDao
public DefaultReturnRequestDao()
-
-
Method Details
-
createReturnRequest
Creates an "authorization" object (@link ReturnRequest} for the order to be returned, if there doesn't exists one for that order so far- Specified by:
createReturnRequestin interfaceReturnRequestDao- Parameters:
order- the order which should be returned- Returns:
- ReturnRequest instance, which will deliver among others the RMA code of every processed "return order".
-
getReturnRequests
Description copied from interface:ReturnRequestDaoReturns the "return request" for the specified order- Specified by:
getReturnRequestsin interfaceReturnRequestDao- Parameters:
code- code of the order we ask for the "return request"- Returns:
- "return request" of the order
-
getOrderByCode
Returns an order by its code- Parameters:
code- the code of the order- Returns:
- the order
-