|
Jive Forums API (5.5.20.2-oracle) Developer Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jivesoftware.forum.database.DbReadTracker.UserReadTracker
public static class DbReadTracker.UserReadTracker
Tracks the read status of threads and messages for a user.
Constructor Summary | |
---|---|
DbReadTracker.UserReadTracker()
Constructor for internal use only. |
|
DbReadTracker.UserReadTracker(long userID)
Creates a new read track for the specified user. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
int |
getCachedSize()
Returns the approximate size of the Object in bytes. |
int |
getReadStatus(ForumMessage message)
|
int |
getReadStatus(ForumThread thread)
|
int |
hashCode()
|
void |
markRead(Forum forum)
Marks an entire forum as read. |
boolean |
markRead(ForumMessage message)
|
void |
readExternal(java.io.DataInput in)
|
void |
writeExternal(java.io.DataOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DbReadTracker.UserReadTracker(long userID)
userID
- the ID of the user.public DbReadTracker.UserReadTracker()
Method Detail |
---|
public void readExternal(java.io.DataInput in) throws java.io.IOException
readExternal
in interface com.tangosol.io.ExternalizableLite
java.io.IOException
public void writeExternal(java.io.DataOutput out) throws java.io.IOException
writeExternal
in interface com.tangosol.io.ExternalizableLite
java.io.IOException
public int getReadStatus(ForumThread thread)
public int getReadStatus(ForumMessage message)
public boolean markRead(ForumMessage message)
public void markRead(Forum forum)
forum
- the forum to mark as read.public int getCachedSize()
Cacheable
getCachedSize
in interface Cacheable
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |