public class CommentRecord extends org.nustaq.reallive.records.RecordWrapper implements CreationMixin<CommentRecord>, LastModifiedMixin<CommentRecord>, IdMixin<CommentRecord>, AuthorMixin<CommentRecord>, ImageUrlMixin<CommentRecord>, TextMixin<CommentRecord>, RoleMixin<CommentRecord>
| Constructor and Description |
|---|
CommentRecord(org.nustaq.reallive.api.Record record) |
CommentRecord(String key) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(CommentRecord cRecord) |
CommentRecord |
children(List<org.nustaq.reallive.api.Record> children) |
CommentRecord |
delChildNode(String commentId) |
CommentRecord |
down(int down) |
CommentRecord |
findChildNode(String nodeId) |
CommentRecord |
findParent(String childId) |
List<CommentRecord> |
getChildCommentRecords() |
List<org.nustaq.reallive.api.Record> |
getChildren() |
int |
getDown() |
static int |
getNumCommenters(List<org.nustaq.reallive.api.Record> children) |
int |
getUp() |
CommentRecord |
up(int up) |
equals, get, getFields, getKey, getLastModified, getRecord, getSequence, hashCode, internal_incSequence, internal_setLastModified, internal_updateLastModified, key, put, toString, Wrapclone, finalize, getClass, notify, notifyAll, wait, wait, waitcreation, getCreationgetLastModified, lastModifiedgetId, idauthor, getAuthorgetImageURL, imageURLgetText, textgetRole, rolearr, asMap, asString, copied, getBool, getDouble, getFields, getInt, getKey, getKeyVals, getLong, getRec, getSafeString, getSequence, getString, getValue, internal_incSequence, internal_setLastModified, internal_updateLastModified, key, put, rec, recarr, reducedpublic CommentRecord(org.nustaq.reallive.api.Record record)
public CommentRecord(String key)
public int getUp()
public int getDown()
public CommentRecord up(int up)
public CommentRecord down(int down)
public CommentRecord children(List<org.nustaq.reallive.api.Record> children)
public void addChild(CommentRecord cRecord)
public List<org.nustaq.reallive.api.Record> getChildren()
public List<CommentRecord> getChildCommentRecords()
public CommentRecord findChildNode(String nodeId)
public CommentRecord delChildNode(String commentId)
public CommentRecord findParent(String childId)
public static int getNumCommenters(List<org.nustaq.reallive.api.Record> children)
Copyright © 2019. All rights reserved.