public class DefaultReturnRequestDao extends AbstractItemDao implements ReturnRequestDao
flexibleSearchService, modelService| Constructor and Description |
|---|
DefaultReturnRequestDao() |
| Modifier and Type | Method and Description |
|---|---|
ReturnRequestModel |
createReturnRequest(OrderModel order)
Creates an "authorization" object (@link ReturnRequest} for the order to be returned, if there doesn't exists one
for that order so far
|
protected OrderModel |
getOrderByCode(String code)
Returns an order by its code
|
List<ReturnRequestModel> |
getReturnRequests(String code)
Returns the "return request" for the specified order
|
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelServicepublic ReturnRequestModel createReturnRequest(OrderModel order)
createReturnRequest in interface ReturnRequestDaoorder - the order which should be returnedpublic List<ReturnRequestModel> getReturnRequests(String code)
ReturnRequestDaogetReturnRequests in interface ReturnRequestDaocode - code of the order we ask for the "return request"protected OrderModel getOrderByCode(String code)
code - the code of the orderCopyright © 2017 SAP SE. All Rights Reserved.