public class CommentModel extends AbstractCommentModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static String |
ASSIGNEDTO
Generated constant - Attribute key of
Comment.assignedTo attribute defined at extension comments. |
static String |
CODE
Generated constant - Attribute key of
Comment.code attribute defined at extension comments. |
static String |
COMMENTMETADATA
Generated constant - Attribute key of
Comment.commentMetadata attribute defined at extension cockpit. |
static String |
COMMENTTYPE
Generated constant - Attribute key of
Comment.commentType attribute defined at extension comments. |
static String |
COMPONENT
Generated constant - Attribute key of
Comment.component attribute defined at extension comments. |
static String |
PRIORITY
Generated constant - Attribute key of
Comment.priority attribute defined at extension comments. |
static String |
RELATEDITEMS
Generated constant - Attribute key of
Comment.relatedItems attribute defined at extension comments. |
static String |
REPLIES
Generated constant - Attribute key of
Comment.replies attribute defined at extension comments. |
static String |
WATCHERS
Generated constant - Attribute key of
Comment.watchers attribute defined at extension comments. |
_COMMENTUSERSETTINGABSTRACTCOMMENTRELATION, ATTACHMENTS, AUTHOR, COMMENTGROUP, COMMENTUSERSETTINGS, RECEIVEDBYDTP, SUBJECT, TEXT, WORKFLOW_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
CommentModel()
Generated constructor - Default constructor for generic creation.
|
CommentModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
CommentModel(UserModel _author,
CommentTypeModel _commentType,
ComponentModel _component,
ItemModel _owner,
String _text)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
CommentModel(UserModel _author,
CommentTypeModel _commentType,
ComponentModel _component,
String _text)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
Collection<UserModel> |
getAssignedTo()
Generated method - Getter of the
Comment.assignedTo attribute defined at extension comments. |
String |
getCode()
Generated method - Getter of the
Comment.code attribute defined at extension comments. |
Collection<CommentMetadataModel> |
getCommentMetadata()
Generated method - Getter of the
Comment.commentMetadata attribute defined at extension cockpit. |
CommentTypeModel |
getCommentType()
Generated method - Getter of the
Comment.commentType attribute defined at extension comments. |
ComponentModel |
getComponent()
Generated method - Getter of the
Comment.component attribute defined at extension comments. |
Integer |
getPriority()
Generated method - Getter of the
Comment.priority attribute defined at extension comments. |
Collection<ItemModel> |
getRelatedItems()
Deprecated.
|
List<ReplyModel> |
getReplies()
Generated method - Getter of the
Comment.replies attribute defined at extension comments. |
Collection<PrincipalModel> |
getWatchers()
Generated method - Getter of the
Comment.watchers attribute defined at extension comments. |
void |
setAssignedTo(Collection<UserModel> value)
Generated method - Setter of
Comment.assignedTo attribute defined at extension comments. |
void |
setCode(String value)
Generated method - Setter of
Comment.code attribute defined at extension comments. |
void |
setCommentMetadata(Collection<CommentMetadataModel> value)
Generated method - Setter of
Comment.commentMetadata attribute defined at extension cockpit. |
void |
setCommentType(CommentTypeModel value)
Generated method - Initial setter of
Comment.commentType attribute defined at extension comments. |
void |
setComponent(ComponentModel value)
Generated method - Initial setter of
Comment.component attribute defined at extension comments. |
void |
setPriority(Integer value)
Generated method - Setter of
Comment.priority attribute defined at extension comments. |
void |
setRelatedItems(Collection<ItemModel> value)
Deprecated.
|
void |
setReplies(List<ReplyModel> value)
Generated method - Setter of
Comment.replies attribute defined at extension comments. |
void |
setWatchers(Collection<PrincipalModel> value)
Generated method - Setter of
Comment.watchers attribute defined at extension comments. |
getAttachments, getAuthor, getCommentGroup, getReceivedByDtp, getSubject, getText, getWorkflow, setAttachments, setAuthor, setCommentGroup, setReceivedByDtp, setSubject, setText, setWorkflowgetComments, getCreationtime, getModifiedtime, getOwner, setComments, setCreationtime, setModifiedtime, setOwnerequals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplacepublic static final String _TYPECODE
public static final String CODE
Comment.code attribute defined at extension comments.public static final String PRIORITY
Comment.priority attribute defined at extension comments.public static final String RELATEDITEMS
Comment.relatedItems attribute defined at extension comments.public static final String REPLIES
Comment.replies attribute defined at extension comments.public static final String ASSIGNEDTO
Comment.assignedTo attribute defined at extension comments.public static final String WATCHERS
Comment.watchers attribute defined at extension comments.public static final String COMPONENT
Comment.component attribute defined at extension comments.public static final String COMMENTTYPE
Comment.commentType attribute defined at extension comments.public static final String COMMENTMETADATA
Comment.commentMetadata attribute defined at extension cockpit.public CommentModel()
public CommentModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public CommentModel(UserModel _author, CommentTypeModel _commentType, ComponentModel _component, String _text)
_author - initial attribute declared by type AbstractComment at extension comments_commentType - initial attribute declared by type Comment at extension comments_component - initial attribute declared by type Comment at extension comments_text - initial attribute declared by type AbstractComment at extension comments@Deprecated public CommentModel(UserModel _author, CommentTypeModel _commentType, ComponentModel _component, ItemModel _owner, String _text)
_author - initial attribute declared by type AbstractComment at extension comments_commentType - initial attribute declared by type Comment at extension comments_component - initial attribute declared by type Comment at extension comments_owner - initial attribute declared by type Item at extension core_text - initial attribute declared by type AbstractComment at extension comments@Accessor(qualifier="assignedTo", type=GETTER) public Collection<UserModel> getAssignedTo()
Comment.assignedTo attribute defined at extension comments.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="code", type=GETTER) public String getCode()
Comment.code attribute defined at extension comments.@Accessor(qualifier="commentMetadata", type=GETTER) public Collection<CommentMetadataModel> getCommentMetadata()
Comment.commentMetadata attribute defined at extension cockpit.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="commentType", type=GETTER) public CommentTypeModel getCommentType()
Comment.commentType attribute defined at extension comments.@Accessor(qualifier="component", type=GETTER) public ComponentModel getComponent()
Comment.component attribute defined at extension comments.@Accessor(qualifier="priority", type=GETTER) public Integer getPriority()
Comment.priority attribute defined at extension comments.@Deprecated @Accessor(qualifier="relatedItems", type=GETTER) public Collection<ItemModel> getRelatedItems()
Comment.relatedItems attribute defined at extension comments.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="replies", type=GETTER) public List<ReplyModel> getReplies()
Comment.replies attribute defined at extension comments.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="watchers", type=GETTER) public Collection<PrincipalModel> getWatchers()
Comment.watchers attribute defined at extension comments.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="assignedTo", type=SETTER) public void setAssignedTo(Collection<UserModel> value)
Comment.assignedTo attribute defined at extension comments.value - the assignedTo@Accessor(qualifier="code", type=SETTER) public void setCode(String value)
Comment.code attribute defined at extension comments.value - the code - unique identifier of the comment; will be generated if not set@Accessor(qualifier="commentMetadata", type=SETTER) public void setCommentMetadata(Collection<CommentMetadataModel> value)
Comment.commentMetadata attribute defined at extension cockpit.value - the commentMetadata@Accessor(qualifier="commentType", type=SETTER) public void setCommentType(CommentTypeModel value)
Comment.commentType attribute defined at extension comments. Can only be used at creation of model - before first save.value - the commentType@Accessor(qualifier="component", type=SETTER) public void setComponent(ComponentModel value)
Comment.component attribute defined at extension comments. Can only be used at creation of model - before first save.value - the component@Accessor(qualifier="priority", type=SETTER) public void setPriority(Integer value)
Comment.priority attribute defined at extension comments.value - the priority - Priority of a comment@Deprecated @Accessor(qualifier="relatedItems", type=SETTER) public void setRelatedItems(Collection<ItemModel> value)
Comment.relatedItems attribute defined at extension comments.value - the relatedItems - Related items of this comment@Accessor(qualifier="replies", type=SETTER) public void setReplies(List<ReplyModel> value)
Comment.replies attribute defined at extension comments.value - the replies@Accessor(qualifier="watchers", type=SETTER) public void setWatchers(Collection<PrincipalModel> value)
Comment.watchers attribute defined at extension comments.value - the watchersCopyright © 2017 SAP SE. All Rights Reserved.