Class CommentRecord

java.lang.Object
org.nustaq.reallive.records.RecordWrapper
org.nustaq.kontraktor.apputil.comments.CommentRecord
All Implemented Interfaces:
java.io.Serializable, AuthorMixin<CommentRecord>, CreationMixin<CommentRecord>, IdMixin<CommentRecord>, ImageUrlMixin<CommentRecord>, LastModifiedMixin<CommentRecord>, RoleMixin<CommentRecord>, TextMixin<CommentRecord>, org.nustaq.reallive.api.Record, org.nustaq.reallive.query.EvalContext

public class CommentRecord
extends org.nustaq.reallive.records.RecordWrapper
implements CreationMixin<CommentRecord>, LastModifiedMixin<CommentRecord>, IdMixin<CommentRecord>, AuthorMixin<CommentRecord>, ImageUrlMixin<CommentRecord>, TextMixin<CommentRecord>, RoleMixin<CommentRecord>
Created by ruedi on 28/06/16. A full tree of CommentRecords for a single article key: did#articleId
See Also:
Serialized Form
  • Field Summary

    Fields inherited from class org.nustaq.reallive.records.RecordWrapper

    record
  • Constructor Summary

    Constructors 
    Constructor Description
    CommentRecord​(java.lang.String key)  
    CommentRecord​(org.nustaq.reallive.api.Record record)  
  • Method Summary

    Modifier and Type Method Description
    void addChild​(CommentRecord cRecord)  
    CommentRecord children​(java.util.List<org.nustaq.reallive.api.Record> children)  
    CommentRecord delChildNode​(java.lang.String commentId)  
    CommentRecord down​(int down)  
    CommentRecord findChildNode​(java.lang.String nodeId)  
    CommentRecord findParent​(java.lang.String childId)  
    java.util.List<CommentRecord> getChildCommentRecords()  
    java.util.List<org.nustaq.reallive.api.Record> getChildren()  
    int getDown()  
    static int getNumCommenters​(java.util.List<org.nustaq.reallive.api.Record> children)  
    int getUp()  
    CommentRecord up​(int up)  

    Methods inherited from class org.nustaq.reallive.records.RecordWrapper

    equals, get, getFields, getKey, getLastModified, getRecord, getSequence, hashCode, internal_incSequence, internal_setLastModified, internal_updateLastModified, key, put, toString, Wrap

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.nustaq.kontraktor.apputil.recordwrappermixins.AuthorMixin

    author, getAuthor

    Methods inherited from interface org.nustaq.kontraktor.apputil.recordwrappermixins.CreationMixin

    creation, getCreation

    Methods inherited from interface org.nustaq.reallive.query.EvalContext

    get

    Methods inherited from interface org.nustaq.kontraktor.apputil.recordwrappermixins.IdMixin

    getId, id

    Methods inherited from interface org.nustaq.kontraktor.apputil.recordwrappermixins.ImageUrlMixin

    getImageURL, imageURL

    Methods inherited from interface org.nustaq.kontraktor.apputil.recordwrappermixins.LastModifiedMixin

    getLastModified, lastModified

    Methods inherited from interface org.nustaq.reallive.api.Record

    arr, asMap, asString, copied, getBool, getDouble, getFields, getInt, getKey, getKeyVals, getLong, getRec, getSafeString, getSequence, getString, getValue, internal_incSequence, internal_setLastModified, internal_updateLastModified, key, merge, put, rec, recarr, reduced

    Methods inherited from interface org.nustaq.kontraktor.apputil.recordwrappermixins.RoleMixin

    getRole, role

    Methods inherited from interface org.nustaq.kontraktor.apputil.recordwrappermixins.TextMixin

    getText, text