public class DefaultCommentGroupService extends Object implements CommentGroupService
| Constructor and Description |
|---|
DefaultCommentGroupService() |
| Modifier and Type | Method and Description |
|---|---|
CommentGroupModel |
createCommentGroup(PageModel page,
UserModel user)
|
CommentGroupModel |
getCommentGroup(PageModel page,
UserModel user)
|
void |
setCommentGroupDao(CommentGroupDao commentGroupDao) |
void |
setCommentGroupKeyGenerator(PersistentKeyGenerator commentGroupKeyGenerator) |
void |
setModelService(ModelService modelService) |
public CommentGroupModel createCommentGroup(PageModel page, UserModel user)
CommentGroupServicecreateCommentGroup in interface CommentGroupServicepage - The PageModel which should be set to the CommentGroupModeluser - the UserModel which should be set to the CommentGroupModelCommentGroupModel for the given PageModel and UserModel. The caller is
responsible for persisting the new CommentGroupModel using the
modelService.save() method.public CommentGroupModel getCommentGroup(PageModel page, UserModel user)
CommentGroupServicegetCommentGroup in interface CommentGroupServicepage - the PageModel where the CommentGroupModel is located.user - the UserModel which is the assigned user of the CommentGroupModel.CommentGroupModel for the specified PageModel and UserModel.public void setCommentGroupDao(CommentGroupDao commentGroupDao)
public void setCommentGroupKeyGenerator(PersistentKeyGenerator commentGroupKeyGenerator)
public void setModelService(ModelService modelService)
Copyright © 2017 SAP SE. All Rights Reserved.