Package com.jalios.jcms.tracking
Class ReaderTrackerEntry
- java.lang.Object
-
- com.jalios.jcms.tracking.ReaderTrackerEntry
-
public class ReaderTrackerEntry extends java.lang.Object
This class is used to display a list of merged ReaderTracker- Since:
- jcms-8.0.0
- Author:
- bransard
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReaderTrackerEntry.AccessCountComparator
SortsReaderTrackerEntry
by access countstatic class
ReaderTrackerEntry.AckDateComparator
SortsReaderTrackerEntry
by last access dateDate
static class
ReaderTrackerEntry.FirstAccessDateComparator
SortsReaderTrackerEntry
by first access dateDate
static class
ReaderTrackerEntry.LastAccessDateComparator
SortsReaderTrackerEntry
by last access dateDate
static class
ReaderTrackerEntry.Sort
-
Field Summary
Fields Modifier and Type Field Description int
accessCount
java.util.Date
ackDate
boolean
ackUptodate
java.lang.String
ackVersion
java.util.Date
firstAccessDate
java.util.Date
lastAccessDate
Member
member
-
Constructor Summary
Constructors Constructor Description ReaderTrackerEntry()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.Comparator
getComparator(java.util.Map map, ReaderTrackerEntry.Sort Sort, boolean isReverse)
void
setAccessCount(int accessCount)
void
setAckDate(java.util.Date ackDate)
void
setAckUptodate(boolean ackUptodate)
void
setAckVersion(java.lang.String ackVersion)
void
setFirstAccessDate(java.util.Date firstAccessDate)
void
setLastAccessDate(java.util.Date lastAccessDate)
void
setMember(Member author)
-
-
-
Field Detail
-
member
public Member member
-
firstAccessDate
public java.util.Date firstAccessDate
-
lastAccessDate
public java.util.Date lastAccessDate
-
ackDate
public java.util.Date ackDate
-
ackVersion
public java.lang.String ackVersion
-
ackUptodate
public boolean ackUptodate
-
accessCount
public int accessCount
-
-
Method Detail
-
getComparator
public static java.util.Comparator getComparator(java.util.Map map, ReaderTrackerEntry.Sort Sort, boolean isReverse)
- Parameters:
map
- theMap
ofReaderTrackerEntry
Sort
- theReaderTrackerEntry.Sort
EnumisReverse
- true to reverse results- Returns:
- the comparator to sort
ReaderTrackerEntry
-
setMember
public void setMember(Member author)
-
setFirstAccessDate
public void setFirstAccessDate(java.util.Date firstAccessDate)
-
setLastAccessDate
public void setLastAccessDate(java.util.Date lastAccessDate)
-
setAckDate
public void setAckDate(java.util.Date ackDate)
-
setAckUptodate
public void setAckUptodate(boolean ackUptodate)
-
setAckVersion
public void setAckVersion(java.lang.String ackVersion)
-
setAccessCount
public void setAccessCount(int accessCount)
-
-