Class DefaultOrderFormDao
- java.lang.Object
-
- de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao<OrderFormModel>
-
- de.hybris.platform.savedorderforms.daos.impl.DefaultOrderFormDao
-
- All Implemented Interfaces:
OrderFormDao
,Dao
,GenericDao<OrderFormModel>
public class DefaultOrderFormDao extends DefaultGenericDao<OrderFormModel> implements OrderFormDao
Default implementation of theOrderFormDao
.
-
-
Constructor Summary
Constructors Constructor Description DefaultOrderFormDao(java.lang.String typecode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OrderFormModel
findOrderFormByCode(java.lang.String code)
Returns for the given Order Formcode
theOrderFormModel
model.java.util.List<OrderFormModel>
findOrderFormsForUser(UserModel userModel)
Returns for the given user a list ofOrderFormModel
models.-
Methods inherited from class de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao
find, find, find, find, find, getFlexibleSearchService, setFlexibleSearchService
-
-
-
-
Method Detail
-
findOrderFormByCode
public OrderFormModel findOrderFormByCode(java.lang.String code)
Description copied from interface:OrderFormDao
Returns for the given Order Formcode
theOrderFormModel
model.- Specified by:
findOrderFormByCode
in interfaceOrderFormDao
- Parameters:
code
- the order formcode
- Returns:
- a
OrderFormModel
-
findOrderFormsForUser
public java.util.List<OrderFormModel> findOrderFormsForUser(UserModel userModel)
Description copied from interface:OrderFormDao
Returns for the given user a list ofOrderFormModel
models.- Specified by:
findOrderFormsForUser
in interfaceOrderFormDao
- Parameters:
userModel
- the user who owns the order forms- Returns:
- a list of
OrderFormModel
-
-