public interface ModifiableCommentableRepositoryData extends CommentableRepositoryData
BOOLEAN_REPOSITORY_DATA_TYPE, CALENDAR_REPOSITORY_DATA_TYPE, DOUBLE_REPOSITORY_DATA_TYPE, LONG_REPOSITORY_DATA_TYPE, STREAM_REPOSITORY_DATA_TYPE, STRING_REPOSITORY_DATA_TYPE
Modifier and Type | Method and Description |
---|---|
void |
addComment(String name,
String text,
String author,
Date date)
Add a comment on the data stored in the repository with the given name
|
void |
deleteComment(String name,
int index)
Delete a comment on the data stored in the repository with the given name
|
void |
editComment(String name,
int index,
String text,
String author,
Date date)
Edit the text of a comment on the data stored in the repository with the given name
|
getComments, hasComment, hasComments
getAllDataNames, getBoolean, getBoolean, getBooleans, getBooleans, getDataNames, getDataNames, getDate, getDate, getDates, getDates, getDefaultPrefix, getDouble, getDouble, getDoubles, getDoubles, getFullName, getLong, getLong, getLongs, getLongs, getName, getPath, getRepositoryData, getRepositoryData, getStream, getStream, getStreamLength, getStreamLength, getStreams, getStreams, getString, getString, getStrings, getStrings, getType, getType, hasValue, hasValue, isMultiple, isMultiple
void addComment(String name, String text, String author, Date date)
name
- name of the datatext
- the text of the commentauthor
- the comment authordate
- the date of the comment (null to use the current date)void editComment(String name, int index, String text, String author, Date date)
name
- name of the dataindex
- the comment indextext
- the new text for the commentauthor
- the comment authordate
- the date of the comment (null to use the current date)void deleteComment(String name, int index)
name
- name of the dataindex
- the comment index