public class AbstractCommentModel extends ItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_COMMENTUSERSETTINGABSTRACTCOMMENTRELATION
Generated relation code constant for relation
CommentUserSettingAbstractCommentRelation defining source attribute commentUserSettings in extension comments. |
static String |
_TYPECODE
Generated model type code constant.
|
static String |
ATTACHMENTS
Generated constant - Attribute key of
AbstractComment.attachments attribute defined at extension comments. |
static String |
AUTHOR
Generated constant - Attribute key of
AbstractComment.author attribute defined at extension comments. |
static String |
COMMENTGROUP
Generated constant - Attribute key of
AbstractComment.commentGroup attribute defined at extension print. |
static String |
COMMENTUSERSETTINGS
Generated constant - Attribute key of
AbstractComment.commentUserSettings attribute defined at extension comments. |
static String |
RECEIVEDBYDTP
Generated constant - Attribute key of
AbstractComment.receivedByDtp attribute defined at extension print. |
static String |
SUBJECT
Generated constant - Attribute key of
AbstractComment.subject attribute defined at extension comments. |
static String |
TEXT
Generated constant - Attribute key of
AbstractComment.text attribute defined at extension comments. |
static String |
WORKFLOW
Generated constant - Attribute key of
AbstractComment.workflow attribute defined at extension print. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
AbstractCommentModel()
Generated constructor - Default constructor for generic creation.
|
AbstractCommentModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
AbstractCommentModel(UserModel _author,
ItemModel _owner,
String _text)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
AbstractCommentModel(UserModel _author,
String _text)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
Collection<CommentAttachmentModel> |
getAttachments()
Generated method - Getter of the
AbstractComment.attachments attribute defined at extension comments. |
UserModel |
getAuthor()
Generated method - Getter of the
AbstractComment.author attribute defined at extension comments. |
CommentGroupModel |
getCommentGroup()
Generated method - Getter of the
AbstractComment.commentGroup attribute defined at extension print. |
Boolean |
getReceivedByDtp()
Generated method - Getter of the
AbstractComment.receivedByDtp attribute defined at extension print. |
String |
getSubject()
Generated method - Getter of the
AbstractComment.subject attribute defined at extension comments. |
String |
getText()
Generated method - Getter of the
AbstractComment.text attribute defined at extension comments. |
WorkflowModel |
getWorkflow()
Generated method - Getter of the
AbstractComment.workflow attribute defined at extension print. |
void |
setAttachments(Collection<CommentAttachmentModel> value)
Generated method - Setter of
AbstractComment.attachments attribute defined at extension comments. |
void |
setAuthor(UserModel value)
Generated method - Initial setter of
AbstractComment.author attribute defined at extension comments. |
void |
setCommentGroup(CommentGroupModel value)
Generated method - Setter of
AbstractComment.commentGroup attribute defined at extension print. |
void |
setReceivedByDtp(Boolean value)
Generated method - Setter of
AbstractComment.receivedByDtp attribute defined at extension print. |
void |
setSubject(String value)
Generated method - Setter of
AbstractComment.subject attribute defined at extension comments. |
void |
setText(String value)
Generated method - Setter of
AbstractComment.text attribute defined at extension comments. |
void |
setWorkflow(WorkflowModel value)
Generated method - Setter of
AbstractComment.workflow attribute defined at extension print. |
getComments, 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 _COMMENTUSERSETTINGABSTRACTCOMMENTRELATION
CommentUserSettingAbstractCommentRelation defining source attribute commentUserSettings in extension comments.public static final String SUBJECT
AbstractComment.subject attribute defined at extension comments.public static final String TEXT
AbstractComment.text attribute defined at extension comments.public static final String ATTACHMENTS
AbstractComment.attachments attribute defined at extension comments.public static final String AUTHOR
AbstractComment.author attribute defined at extension comments.public static final String COMMENTUSERSETTINGS
AbstractComment.commentUserSettings attribute defined at extension comments.public static final String COMMENTGROUP
AbstractComment.commentGroup attribute defined at extension print.public static final String WORKFLOW
AbstractComment.workflow attribute defined at extension print.public static final String RECEIVEDBYDTP
AbstractComment.receivedByDtp attribute defined at extension print.public AbstractCommentModel()
public AbstractCommentModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public AbstractCommentModel(UserModel _author, String _text)
_author - initial attribute declared by type AbstractComment at extension comments_text - initial attribute declared by type AbstractComment at extension comments@Deprecated public AbstractCommentModel(UserModel _author, ItemModel _owner, String _text)
_author - initial attribute declared by type AbstractComment 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="attachments", type=GETTER) public Collection<CommentAttachmentModel> getAttachments()
AbstractComment.attachments attribute defined at extension comments.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="author", type=GETTER) public UserModel getAuthor()
AbstractComment.author attribute defined at extension comments.@Accessor(qualifier="commentGroup", type=GETTER) public CommentGroupModel getCommentGroup()
AbstractComment.commentGroup attribute defined at extension print.@Accessor(qualifier="receivedByDtp", type=GETTER) public Boolean getReceivedByDtp()
AbstractComment.receivedByDtp attribute defined at extension print.@Accessor(qualifier="subject", type=GETTER) public String getSubject()
AbstractComment.subject attribute defined at extension comments.@Accessor(qualifier="text", type=GETTER) public String getText()
AbstractComment.text attribute defined at extension comments.@Accessor(qualifier="workflow", type=GETTER) public WorkflowModel getWorkflow()
AbstractComment.workflow attribute defined at extension print.@Accessor(qualifier="attachments", type=SETTER) public void setAttachments(Collection<CommentAttachmentModel> value)
AbstractComment.attachments attribute defined at extension comments.value - the attachments@Accessor(qualifier="author", type=SETTER) public void setAuthor(UserModel value)
AbstractComment.author attribute defined at extension comments. Can only be used at creation of model - before first save.value - the author@Accessor(qualifier="commentGroup", type=SETTER) public void setCommentGroup(CommentGroupModel value)
AbstractComment.commentGroup attribute defined at extension print.value - the commentGroup@Accessor(qualifier="receivedByDtp", type=SETTER) public void setReceivedByDtp(Boolean value)
AbstractComment.receivedByDtp attribute defined at extension print.value - the receivedByDtp - Did a DTP operator receive this comment?@Accessor(qualifier="subject", type=SETTER) public void setSubject(String value)
AbstractComment.subject attribute defined at extension comments.value - the subject - Subject of a comment@Accessor(qualifier="text", type=SETTER) public void setText(String value)
AbstractComment.text attribute defined at extension comments.value - the text - Content of a comment@Accessor(qualifier="workflow", type=SETTER) public void setWorkflow(WorkflowModel value)
AbstractComment.workflow attribute defined at extension print.value - the workflowCopyright © 2017 SAP SE. All Rights Reserved.