T - public interface B2BCommentService<T extends AbstractOrderModel>
B2BCommentModel| Modifier and Type | Method and Description |
|---|---|
void |
addComment(T model,
B2BCommentModel comment)
Adds a
B2BCommentModel to AbstractOrderModel |
java.util.List<B2BCommentModel> |
getB2BCommentsForUser(T model,
UserModel user)
Retrives a list of
B2BComment associated to the order owned by a particular
user |
java.util.List<B2BCommentModel> |
getComments(T model)
Retrives a list of
B2BComment associated to the order |
java.util.List<B2BCommentModel> getComments(T model)
B2BComment associated to the ordermodel - A generic type currently only AbstractOrderModel is supportedB2BCommentModel associated to the AbstractOrderModeljava.util.List<B2BCommentModel> getB2BCommentsForUser(T model, UserModel user)
B2BComment associated to the order owned by a particular
usermodel - A generic type currently only AbstractOrderModel is supporteduser - The owner of the B2BCommentModelB2BCommentModel associated to the AbstractOrderModelvoid addComment(T model, B2BCommentModel comment)
B2BCommentModel to AbstractOrderModelmodel - An order or cartcomment - A B2BCommentModel to associated to the orderCopyright © 2018 SAP SE. All Rights Reserved.