Package de.hybris.platform.b2b.dao
Interface B2BCommentDao<C extends B2BCommentModel,T extends AbstractOrderModel>
- All Known Implementing Classes:
DefaultB2BCommentDao
public interface B2BCommentDao<C extends B2BCommentModel,T extends AbstractOrderModel>
A dao around
B2BCommentModel-
Method Summary
Modifier and TypeMethodDescriptionfindCommentsByOrder(T order) Find all comments and associated to an orderfindCommentsByUser(UserModel user, T order) Find all comments owned by user and associated to an order
-
Method Details
-
findCommentsByUser
Find all comments owned by user and associated to an order- Parameters:
user- The owner of aB2BCommentModelorder- An order or cart.- Returns:
- All comments associated to an order or cart owned by user.
-
findCommentsByOrder
Find all comments and associated to an order- Parameters:
order- An order or cart.- Returns:
- All comments associated to an order.
-