com.jalios.jcmsplugin.toppublications
Class TopPublicationsManager
java.lang.Object
com.jalios.jcmsplugin.toppublications.TopPublicationsManager
- All Implemented Interfaces:
- JPropertiesListener
public class TopPublicationsManager
- extends Object
- implements JPropertiesListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REVISION
public static final String REVISION
- See Also:
- Constant Field Values
getInstance
public static TopPublicationsManager getInstance()
getTrackedPublicationSet
public Set<Publication> getTrackedPublicationSet(Workspace ws)
- Returns all the tracked publications of the given workspace sorted by reader count.
- Parameters:
ws
- the workspace
- Returns:
- all the tracked publications of the given workspace sorted by reader count.
- Since:
- TopPublications-1.2
getReaderCountFrom
public int getReaderCountFrom(List<ReaderTracker> readerTrackerList,
Date date)
- Returns the count of readers for a given publication from a given date.
- Parameters:
readerTrackerList
- the list of readerTracker for this publicationdate
- The start date
- Returns:
- the count of readers for a given publication from a given date.
- Since:
- TopPublications-1.2
isTracked
public boolean isTracked(Class pubClass)
- Returns true if the given class is tracked.
- Parameters:
pubClass
- the publication class.
- Returns:
- true if the given class is tracked.
- Since:
- TopPublications-1.2
propertiesChange
public void propertiesChange(JProperties properties)
- Specified by:
propertiesChange
in interface JPropertiesListener
Copyright © 2001-2007 Jalios SA. All Rights Reserved.