Interface ModifiableIssueNotes
-
- All Superinterfaces:
IssueNotes
public interface ModifiableIssueNotes extends IssueNotes
- Since:
- 10.0.146
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IssueNote
addNote(java.lang.String text, User user)
The method creates and adds a note to anIssue
If the text is invalid or too long to be stored persistently, aValidationException
will be thrown by the method.-
Methods inherited from interface com.novomind.ecom.api.iagent.model.IssueNotes
getNotes, getNotes, getNotesCount
-
-
-
-
Method Detail
-
addNote
IssueNote addNote(java.lang.String text, User user) throws PersistencyException, ValidationException
The method creates and adds a note to anIssue
If the text is invalid or too long to be stored persistently, aValidationException
will be thrown by the method.- Parameters:
text
- the text of the note as stringuser
- the author of the note- Returns:
- the
IssueNote
that has been successfully added to the issue. - Throws:
PersistencyException
- if the note could not be added to the issue.ValidationException
- if the text is invalid or to large to be added as note.- Since:
- 10.0.146
-
-