com.jalios.jcms.tracking
Class ReaderTrackerEntry

java.lang.Object
  extended by com.jalios.jcms.tracking.ReaderTrackerEntry

public class ReaderTrackerEntry
extends Object

This class is used to display a list of merged ReaderTracker

Since:
jcms-8.0.0
Author:
bransard

Nested Class Summary
static class ReaderTrackerEntry.AccessCountComparator
          Sorts ReaderTrackerEntry by access count
static class ReaderTrackerEntry.FirstAccessDateComparator
          Sorts ReaderTrackerEntry by first access date Date
static class ReaderTrackerEntry.LastAccessDateComparator
          Sorts ReaderTrackerEntry by last access date Date
static class ReaderTrackerEntry.Sort
           
 
Field Summary
 int accessCount
           
 Date firstAccessDate
           
 Date lastAccessDate
           
 Member member
           
 
Constructor Summary
ReaderTrackerEntry()
           
 
Method Summary
static Comparator getComparator(Map map, ReaderTrackerEntry.Sort Sort, boolean isReverse)
           
 void setAccessCount(int accessCount)
           
 void setFirstAccessDate(Date firstAccessDate)
           
 void setLastAccessDate(Date lastAccessDate)
           
 void setMember(Member author)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

member

public Member member

firstAccessDate

public Date firstAccessDate

lastAccessDate

public Date lastAccessDate

accessCount

public int accessCount
Constructor Detail

ReaderTrackerEntry

public ReaderTrackerEntry()
Method Detail

getComparator

public static Comparator getComparator(Map map,
                                       ReaderTrackerEntry.Sort Sort,
                                       boolean isReverse)
Parameters:
map - the Map of ReaderTrackerEntry
Sort - the ReaderTrackerEntry.Sort Enum
isReverse - true to reverse results
Returns:
the comparator to sort ReaderTrackerEntry

setMember

public void setMember(Member author)

setFirstAccessDate

public void setFirstAccessDate(Date firstAccessDate)

setLastAccessDate

public void setLastAccessDate(Date lastAccessDate)

setAccessCount

public void setAccessCount(int accessCount)


Copyright © 2001-2010 Jalios SA. All Rights Reserved.