Package de.hybris.platform.b2b.dao.impl
Class DefaultB2BCommentDao
java.lang.Object
de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao<B2BCommentModel>
de.hybris.platform.b2b.dao.impl.DefaultB2BCommentDao
- All Implemented Interfaces:
B2BCommentDao<B2BCommentModel,,AbstractOrderModel> GenericDao<B2BCommentModel>
public class DefaultB2BCommentDao
extends DefaultGenericDao<B2BCommentModel>
implements B2BCommentDao<B2BCommentModel,AbstractOrderModel>
A default implementation to retrive
B2BCommentModel related to cart or order.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionFind all comments and associated to an orderfindCommentsByUser(UserModel user, AbstractOrderModel order) Find all comments owned by user and associated to an orderMethods inherited from class de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao
find, find, find, find, find, getFlexibleSearchService, setFlexibleSearchService
-
Constructor Details
-
DefaultB2BCommentDao
public DefaultB2BCommentDao()
-
-
Method Details
-
findCommentsByUser
Description copied from interface:B2BCommentDaoFind all comments owned by user and associated to an order- Specified by:
findCommentsByUserin interfaceB2BCommentDao<B2BCommentModel,AbstractOrderModel> - Parameters:
user- The owner of aB2BCommentModelorder- An order or cart.- Returns:
- All comments associated to an order or cart owned by user.
-
findCommentsByOrder
Description copied from interface:B2BCommentDaoFind all comments and associated to an order- Specified by:
findCommentsByOrderin interfaceB2BCommentDao<B2BCommentModel,AbstractOrderModel> - Parameters:
order- An order or cart.- Returns:
- All comments associated to an order.
-