Members
_endReached :bool
True if there are no more page results left to fetch
Type:
- bool
_limit :int
Number of comments to fetch per page
Type:
_objectId :string
Object id
Type:
_objectType :string
Object type
Type:
Methods
fetchNext()
Fetch the next set of results
getSummaryModel() → {OCA.Comments.CommentSummaryModel}
Returns the matching summary model
Returns:
summary model
initialize()
Initializes the collection
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
options.objectType |
string |
<optional> |
object type |
options.objectId |
string |
<optional> |
object id |
updateReadMarker(dateopt, optionsopt)
Updates the read marker for this comment thread
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
date |
Date |
<optional> |
optional date, defaults to now |
options |
Object |
<optional> |
backbone options |