| Modifier and Type | Method and Description |
|---|---|
boolean |
CommentPermissionCheckStrategy.isUserPermitted(UserModel user,
AbstractCommentModel comment)
Returns true if the user can perform a comment action
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
AbstractUserCommentsPermissionsCheckStrategy.abstractCommentHasReplies(AbstractCommentModel abstractComment) |
boolean |
DefaultUserCanEditCommentStrategy.isUserPermitted(UserModel user,
AbstractCommentModel comment) |
boolean |
DefaultUserCanMoveCommentStrategy.isUserPermitted(UserModel user,
AbstractCommentModel abstractComment) |
boolean |
DefaultUserCanDeleteCommentStrategy.isUserPermitted(UserModel user,
AbstractCommentModel comment) |
boolean |
DefaultUserCanCreateCommentStrategy.isUserPermitted(UserModel user,
AbstractCommentModel comment) |
boolean |
DefaultUserCanReplyCommentStrategy.isUserPermitted(UserModel user,
AbstractCommentModel comment) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
CommentMainAreaBrowserComponent.addEventListeners(AdvancedGroupbox groupbox,
AbstractCommentModel commentItemModel) |
protected void |
CommentMainAreaBrowserComponent.createViewItemImage(AbstractCommentModel commentItemModel) |
protected void |
CommentMainAreaBrowserComponent.markGroupBoxSelected(AdvancedGroupbox groupbox,
AbstractCommentModel commentItemModel) |
protected Div |
CommentMainAreaBrowserComponent.renderAttachmentDiv(AbstractCommentModel commentModel) |
protected AdvancedGroupbox |
CommentMainAreaBrowserComponent.renderGroupbox(AbstractCommentModel commentItemModel,
Div contentContainer) |
protected void |
CommentMainAreaBrowserComponent.renderGroupboxHeaderClosed(AbstractCommentModel commentItemModel,
Hbox commentHeader) |
protected void |
CommentMainAreaBrowserComponent.renderGroupboxHeaderIcons(AbstractCommentModel commentItemModel,
HtmlBasedComponent parent) |
protected void |
CommentMainAreaBrowserComponent.renderGroupboxHeaderOpen(AbstractCommentModel commentItemModel,
Hbox commentHeader) |
protected void |
CommentMainAreaBrowserComponent.renderLabelDiv(Hbox commentHeader,
AbstractCommentModel commentItemModel) |
protected Div |
CommentMainAreaBrowserComponent.renderReplies(AbstractCommentModel commentItemModel,
Div parent) |
protected void |
CommentMainAreaBrowserComponent.renderStatusSection(Hbox commentHeader,
AbstractCommentModel commentModel) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ContextAreaCommentTreeComponent.addEventListeners(AdvancedGroupbox groupbox,
AbstractCommentModel abstractComment) |
protected void |
ContextAreaCommentTreeComponent.markGroupBoxSelected(AdvancedGroupbox groupbox,
AbstractCommentModel commentItemModel) |
void |
CommentLayerContextComponent.openCommentRecord(AbstractCommentModel comment)
Handle open action of the record representing target
AbstractCommentModel instance. |
void |
ContextAreaCommentTreeComponent.openRecord(AbstractCommentModel abstractComment) |
protected AdvancedGroupbox |
ContextAreaCommentTreeComponent.renderGroupbox(AbstractCommentModel commentItemModel,
Div contentContainer) |
protected void |
ContextAreaCommentTreeComponent.renderGroupboxHeaderClosed(AbstractCommentModel commentItemModel,
Hbox commentHeader) |
protected void |
ContextAreaCommentTreeComponent.renderGroupboxHeaderOpen(AbstractCommentModel commentItemModel,
Hbox commentHeader) |
protected void |
ContextAreaCommentTreeComponent.renderLabelDiv(Hbox commentHeader,
AbstractCommentModel commentItemModel) |
protected void |
ContextAreaCommentTreeComponent.renderStatusSection(Hbox commentHeader,
AbstractCommentModel abstractComment) |
| Modifier and Type | Method and Description |
|---|---|
void |
CommentLayerComponentController.editCommentPopup(CommentLayerAwareModel model,
AbstractCommentModel abstractCommentModel)
Method for rendering popup for reply edit.
|
boolean |
ContextAreaCommentTreeController.getUserWorkingStatus(AbstractCommentModel comment)
Returns working status of the target
AbstractCommentModel instance for the current user. |
boolean |
ContextAreaCommentTreeController.isCommentCurrentlySelected(ContextAreaCommentTreeModel model,
AbstractCommentModel commentItemModel)
Evaluates if the target comment instance is currently selected in the comment layer.
|
boolean |
ContextAreaCommentTreeController.isCommentRecordCollapsable(AbstractCommentModel abstractComment)
Evaluates if the record of the context area comment tree for the given
AbstractCommentModel should render
the collapse/expand control. |
void |
CommentLayerComponentController.replyComment(CommentLayerAwareModel model,
AbstractCommentModel abstractCommentModel)
Renders reply popup for the
AbstractCommentModel instance. |
void |
ContextAreaCommentTreeController.setUserWorkingStatus(AbstractCommentModel comment,
boolean workingStatus)
Sets working status of the target
AbstractCommentModel instance for the current user. |
| Modifier and Type | Method and Description |
|---|---|
protected Window |
DefaultCommentLayerComponentController.createReplyPopup(CommentLayerAwareModel model,
AbstractCommentModel abstractCommentModel,
boolean edit) |
void |
DefaultCommentLayerComponentController.editCommentPopup(CommentLayerAwareModel model,
AbstractCommentModel abstractComment) |
boolean |
DefaultContextAreaCommentTreeController.getUserWorkingStatus(AbstractCommentModel comment) |
boolean |
DefaultContextAreaCommentTreeController.isCommentCurrentlySelected(ContextAreaCommentTreeModel model,
AbstractCommentModel commentItemModel) |
boolean |
DefaultContextAreaCommentTreeController.isCommentRecordCollapsable(AbstractCommentModel abstractComment) |
protected void |
DefaultCommentLayerComponentController.prepareCommentUpdate(Window newCommentPopup,
AbstractCommentModel commentToSave,
boolean create)
Prepare comment for saving.
|
protected void |
DefaultCommentLayerComponentController.prepareReplyUpdate(Window replyPopup,
AbstractCommentModel abstractCommentModel,
boolean edit)
Prepare comment for saving.
|
void |
DefaultCommentLayerComponentController.replyComment(CommentLayerAwareModel model,
AbstractCommentModel abstractCommentModel) |
void |
DefaultContextAreaCommentTreeController.setUserWorkingStatus(AbstractCommentModel comment,
boolean status) |
| Modifier and Type | Method and Description |
|---|---|
AbstractCommentModel |
OpenCommentRecordEvent.getAbstractComment() |
| Constructor and Description |
|---|
OpenCommentRecordEvent(java.lang.Object source,
AbstractCommentModel abstractComment,
CommentLayerComponent clComponent) |
| Modifier and Type | Method and Description |
|---|---|
ReplyModel |
CockpitCommentService.createReply(UserModel author,
AbstractCommentModel comment,
java.lang.String text)
Creates and returns a new comment reply.
|
java.util.List<ItemModel> |
CockpitCommentService.getItemsFromCommentAttachments(AbstractCommentModel abstractComment)
Returns all attachments of the abstract comment
|
| Modifier and Type | Method and Description |
|---|---|
AbstractCommentModel |
AbstractCommentLayerException.getComment() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CommentLayerService.canUserDeleteComment(UserModel user,
AbstractCommentModel comment)
Evaluates if the given user is able to delete given comment from the comment layer component.
|
boolean |
CommentLayerService.canUserEditComment(UserModel user,
AbstractCommentModel comment)
Evaluates if the given user is able to edit given comment from the comment layer component.
|
boolean |
CommentLayerService.canUserReplyToComment(UserModel user,
AbstractCommentModel comment)
Evaluates if the given user is able to reply given comment from the comment layer component.
|
boolean |
CommentLayerService.deleteComment(UserModel user,
AbstractCommentModel comment)
Removes the given comment by the user.
|
void |
CommentLayerService.replyToComment(java.lang.String text,
AbstractCommentModel comment)
Replies the given comment instance with the given text value.
|
| Constructor and Description |
|---|
AbstractCommentLayerException(java.lang.String errMsg,
AbstractCommentModel comment) |
AbstractCommentLayerException(java.lang.String errMsg,
java.lang.Throwable throwable,
AbstractCommentModel comment) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
DefaultCommentLayerService.canUserDeleteComment(UserModel curentUser,
AbstractCommentModel comment) |
boolean |
DefaultCommentLayerService.canUserEditComment(UserModel user,
AbstractCommentModel comment) |
boolean |
DefaultCommentLayerService.canUserReplyToComment(UserModel user,
AbstractCommentModel comment) |
boolean |
DefaultCommentLayerService.deleteComment(UserModel user,
AbstractCommentModel comment) |
void |
DefaultCommentLayerService.replyToComment(java.lang.String text,
AbstractCommentModel comment) |
| Modifier and Type | Method and Description |
|---|---|
ReplyModel |
DefaultCockpitCommentService.createReply(UserModel author,
AbstractCommentModel comment,
java.lang.String text) |
java.util.List<ItemModel> |
DefaultCockpitCommentService.getItemsFromCommentAttachments(AbstractCommentModel abstractComment) |
protected void |
DefaultCockpitCommentService.setRead(UserModel user,
AbstractCommentModel commentItemModel,
boolean read) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
CommentModelLabelProvider.getIconPath(AbstractCommentModel item) |
protected java.lang.String |
CommentModelLabelProvider.getIconPath(AbstractCommentModel item,
java.lang.String languageIso) |
protected java.lang.String |
CommentModelLabelProvider.getItemDescription(AbstractCommentModel item) |
protected java.lang.String |
CommentModelLabelProvider.getItemDescription(AbstractCommentModel item,
java.lang.String languageIso) |
protected java.lang.String |
CommentModelLabelProvider.getItemLabel(AbstractCommentModel item) |
protected java.lang.String |
CommentModelLabelProvider.getItemLabel(AbstractCommentModel item,
java.lang.String languageIso) |
| Modifier and Type | Class and Description |
|---|---|
class |
CommentModel
Generated model class for type Comment first defined at extension comments.
|
class |
ReplyModel
Generated model class for type Reply first defined at extension comments.
|
| Modifier and Type | Method and Description |
|---|---|
AbstractCommentModel |
CommentAttachmentModel.getAbstractComment()
Generated method - Getter of the
CommentAttachment.abstractComment attribute defined at extension comments. |
AbstractCommentModel |
CommentUserSettingModel.getComment()
Generated method - Getter of the
CommentUserSetting.comment attribute defined at extension comments. |
| Modifier and Type | Method and Description |
|---|---|
void |
CommentAttachmentModel.setAbstractComment(AbstractCommentModel value)
Generated method - Setter of
CommentAttachment.abstractComment attribute defined at extension comments. |
void |
CommentUserSettingModel.setComment(AbstractCommentModel value)
Generated method - Initial setter of
CommentUserSetting.comment attribute defined at extension comments. |
| Constructor and Description |
|---|
CommentUserSettingModel(AbstractCommentModel _comment,
ItemModel _owner,
UserModel _user)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
CommentUserSettingModel(AbstractCommentModel _comment,
UserModel _user)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
AbstractCommentModel |
AbstractCommentResource.getAbstractCommentModel()
Convenience method which just delegates to
AbstractResource.getResourceValue() |
protected AbstractCommentModel |
AbstractCommentResource.readResource(java.lang.String resourceId)
Gets the
AbstractCommentModel resource which is addressed by current resource request. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<AbstractCommentModel> |
AbstractCommentsResource.getAbstractCommentsCollection()
Convenience method which just delegates to
AbstractResource.getResourceValue() |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractCommentResource.setAbstractCommentModel(AbstractCommentModel value)
Convenience method which just delegates to
#setResourceValue(AbstractCommentModel) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractCommentsResource.setAbstractCommentsCollection(java.util.Collection<AbstractCommentModel> value)
Convenience method which just delegates to
#setResourceValue(Collection) |
| Modifier and Type | Method and Description |
|---|---|
ReplyModel |
CommentService.createReply(UserModel author,
AbstractCommentModel comment,
java.lang.String text)
Creates and returns a new comment reply.
|
SearchResult<CommentUserSettingModel> |
CommentDao.findUserSettingByComment(UserModel user,
AbstractCommentModel comment)
Deprecated.
since ages - as of release 4.3, please use
CommentDao.findUserSettingsByComment(UserModel, AbstractCommentModel) |
java.util.List<CommentUserSettingModel> |
CommentDao.findUserSettingsByComment(UserModel user,
AbstractCommentModel comment)
Searches for the comments user setting
|
CommentUserSettingModel |
CommentService.getUserSetting(UserModel user,
AbstractCommentModel commentItem)
Returns the CommentUserSettingModel attached to the comment for the given user.
|
| Modifier and Type | Method and Description |
|---|---|
ReplyModel |
DefaultCommentService.createReply(UserModel author,
AbstractCommentModel comment,
java.lang.String text) |
SearchResult<CommentUserSettingModel> |
DefaultCommentDao.findUserSettingByComment(UserModel user,
AbstractCommentModel commentItem)
Deprecated.
since ages
|
java.util.List<CommentUserSettingModel> |
DefaultCommentDao.findUserSettingsByComment(UserModel user,
AbstractCommentModel comment) |
CommentUserSettingModel |
DefaultCommentService.getUserSetting(UserModel user,
AbstractCommentModel commentItem) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<AbstractCommentModel> |
UserModel.getCreatedComments()
Generated method - Getter of the
User.createdComments attribute defined at extension comments. |
| Modifier and Type | Method and Description |
|---|---|
void |
UserModel.setCreatedComments(java.util.List<AbstractCommentModel> value)
Generated method - Setter of
User.createdComments attribute defined at extension comments. |
| Modifier and Type | Class and Description |
|---|---|
class |
CsCustomerEventModel
Generated model class for type CsCustomerEvent first defined at extension ticketsystem.
|
class |
CsTicketEventModel
Generated model class for type CsTicketEvent first defined at extension ticketsystem.
|
class |
CsTicketResolutionEventModel
Generated model class for type CsTicketResolutionEvent first defined at extension ticketsystem.
|
Copyright © 2018 SAP SE. All Rights Reserved.