com.jalios.jcms.tracking
Class ReaderTrackerEntry
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
member
public Member member
firstAccessDate
public Date firstAccessDate
lastAccessDate
public Date lastAccessDate
accessCount
public int accessCount
ReaderTrackerEntry
public ReaderTrackerEntry(Member member,
Date firstAccessDate,
Date lastAccessDate,
int accessCount)
- Parameters:
member
- the Member
firstAccessDate
- the Date
of first accesslastAccessDate
- the Date
of last accessaccessCount
- the count of access- Since:
- jcms-8.0.0
ReaderTrackerEntry
public ReaderTrackerEntry(ReaderTracker readerTracker)
- Builds a
ReaderTrackerEntry
from a ReaderTracker
- Parameters:
readerTracker
- the ReaderTracker
- Since:
- jcms-8.0.0
getComparator
public static Comparator getComparator(Map map,
ReaderTrackerEntry.Sort Sort,
boolean isReverse)
- Parameters:
map
- the Map
of ReaderTrackerEntry
Sort
- the ReaderTrackerEntry.Sort
EnumisReverse
- true to reverse results
- Returns:
- the comparator to sort
ReaderTrackerEntry
Copyright © 2001-2010 Jalios SA. All Rights Reserved.