Package com.polarion.alm.tracker.model
Interface IComment
- All Superinterfaces:
IAdaptable
,IChangeListener
,ICommentBase<IComment>
,IHasCustomValues
,IHasValues
,IPObject
,IUniqueObject
Typed interface for the work item comment
IPObject
.- Author:
- dobisekm
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.polarion.alm.tracker.model.ICommentBase
ICommentBase.SortBy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
Fields inherited from interface com.polarion.alm.tracker.model.ICommentBase
KEY_AUTHOR, KEY_CHILD_COMMENTS, KEY_CREATED, KEY_PARENT_COMMENT, KEY_RESOLVED, KEY_SIGNATURE_DATA, KEY_TAGS, KEY_TEXT
Fields inherited from interface com.polarion.alm.projects.model.IUniqueObject
KEY_ID, KEY_PROJECT
-
Method Summary
Modifier and TypeMethodDescriptioncreateChildComment
(Text text) Shortcut forcreateChildComment(text, true)
.createChildComment
(Text text, boolean reopen) Creates a child comment and optionally reopens the comment thread, if it is resolved.createChildComment
(Text text, String title, List visibleTo) Deprecated.getTitle()
Methods inherited from interface com.polarion.platform.persistence.model.IAdaptable
adapt
Methods inherited from interface com.polarion.platform.persistence.model.IChangeListener
markChanged
Methods inherited from interface com.polarion.alm.tracker.model.ICommentBase
can, getAuthor, getChildComments, getCreated, getSignatureData, getTags, getText, getTrackerService, isResolvedComment, setResolvedComment, setSignatureData
Methods inherited from interface com.polarion.platform.persistence.model.IHasCustomValues
getCustomField, getCustomFieldPrototype, getCustomFieldsList, setCustomField
Methods inherited from interface com.polarion.platform.persistence.model.IPObject
copyTo, createStructureForKey, forget, getContextId, getDataRevision, getDataSvc, getEnumerationOptionForField, getEnumerationTypeForField, getFieldLabel, getFieldType, getIncompatibleCustomField, getIncompatibleCustomFieldPrototype, getIncompatibleCustomFieldsList, getLastRevision, getLocalId, getObjectId, getPrototype, getRevision, getUri, getValue, isModified, isPersisted, isReadOnly, isResolved, isUnresolvable, resolve, save, setEnumerationValue, setValue, update
Methods inherited from interface com.polarion.alm.projects.model.IUniqueObject
getId, getProject, getProjectId
-
Field Details
-
PROTO
- See Also:
-
KEY_TITLE
- Since:
- 3.1.1
- See Also:
-
KEY_WORK_ITEM
- See Also:
-
KEY_VISIBLE_TO
- Since:
- 3.1.1
- See Also:
-
-
Method Details
-
getTitle
String getTitle()- Since:
- 3.1.1
-
getWorkItem
IWorkItem getWorkItem() -
getVisibleTo
List getVisibleTo()- Since:
- 3.1.1
-
getRootComment
- Specified by:
getRootComment
in interfaceICommentBase<IComment>
- Since:
- 3.1.1
-
getParentComment
- Specified by:
getParentComment
in interfaceICommentBase<IComment>
- Since:
- 3.1.1
-
createChildComment
Description copied from interface:ICommentBase
Shortcut forcreateChildComment(text, true)
.- Specified by:
createChildComment
in interfaceICommentBase<IComment>
- Since:
- 3.1.1
- See Also:
-
createChildComment
Description copied from interface:ICommentBase
Creates a child comment and optionally reopens the comment thread, if it is resolved. If the thread is reopened,IPObject.save()
is called on the root comment.- Specified by:
createChildComment
in interfaceICommentBase<IComment>
- Since:
- 3.7.1
-
createChildComment
Deprecated.- Since:
- 3.1.1
-