org.gnomekr.potron.service
Class StatisticsManager
java.lang.Object
org.springframework.orm.hibernate3.support.HibernateDaoSupport
org.gnomekr.potron.service.StatisticsManager
- All Implemented Interfaces:
- IStatisticsManager, InitializingBean
public class StatisticsManager
- extends HibernateDaoSupport
- implements IStatisticsManager
StatisticsManager.java
- Version:
- $Revision 1.1 $ $Date: 2005/09/11 05:49:44 $
FIXME Finish the implementation.
- Author:
- Xavier Cho
Method Summary |
List<User> |
getFastestTranslators(int count,
int minimumEntries)
|
List<Project> |
getLeastCompleteProjects(int count)
|
List<Template> |
getLeastCompleteTemplates(int count,
String projectId)
|
List<Translation> |
getLeastCompleteTranslations(int count,
String projectId)
|
List<Project> |
getLeastWorkedOnProjects(int count)
|
List<Template> |
getLeastWorkedOnTemplates(int count,
String projectId)
|
List<Translation> |
getLeastWorkedOnTranslations(int count,
String projectId)
|
List<Project> |
getMostCompleteProjects(int count)
|
List<Template> |
getMostCompleteTemplates(int count,
String projectId)
|
List<Translation> |
getMostCompleteTranslations(int count,
String projectId)
|
List<Project> |
getMostWorkedOnProjects(int count)
|
List<Template> |
getMostWorkedOnTemplates(int count,
String projectId)
|
List<Translation> |
getMostWorkedOnTranslations(int count,
String projectId)
|
TranslationStatus |
getProjectStatus(String projectId)
|
List<User> |
getSlowestTranslators(int count,
int minimumEntries)
|
StatusOverview |
getStatusOverview()
|
TranslationStatus |
getTemplateStatus(long templateId)
|
List<TranslatorStatus> |
getTopTranslators(int count)
|
TranslationStatus |
getTranslationStatus(long translationId)
|
UserStatus |
getUserStatus(String userName)
|
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport |
afterPropertiesSet, closeSessionIfNecessary, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, initDao, releaseSession, setHibernateTemplate, setSessionFactory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatisticsManager
public StatisticsManager()
getTopTranslators
public List<TranslatorStatus> getTopTranslators(int count)
- Specified by:
getTopTranslators
in interface IStatisticsManager
- Returns:
- See Also:
IStatisticsManager.getTopTranslators(int)
getFastestTranslators
public List<User> getFastestTranslators(int count,
int minimumEntries)
- Specified by:
getFastestTranslators
in interface IStatisticsManager
- Returns:
getSlowestTranslators
public List<User> getSlowestTranslators(int count,
int minimumEntries)
- Specified by:
getSlowestTranslators
in interface IStatisticsManager
- Returns:
getMostCompleteProjects
public List<Project> getMostCompleteProjects(int count)
- Specified by:
getMostCompleteProjects
in interface IStatisticsManager
- Returns:
getLeastCompleteProjects
public List<Project> getLeastCompleteProjects(int count)
- Specified by:
getLeastCompleteProjects
in interface IStatisticsManager
- Returns:
getMostWorkedOnProjects
public List<Project> getMostWorkedOnProjects(int count)
- Specified by:
getMostWorkedOnProjects
in interface IStatisticsManager
- Returns:
getLeastWorkedOnProjects
public List<Project> getLeastWorkedOnProjects(int count)
- Specified by:
getLeastWorkedOnProjects
in interface IStatisticsManager
- Returns:
getMostCompleteTemplates
public List<Template> getMostCompleteTemplates(int count,
String projectId)
- Specified by:
getMostCompleteTemplates
in interface IStatisticsManager
- Returns:
getLeastCompleteTemplates
public List<Template> getLeastCompleteTemplates(int count,
String projectId)
- Specified by:
getLeastCompleteTemplates
in interface IStatisticsManager
- Returns:
getMostWorkedOnTemplates
public List<Template> getMostWorkedOnTemplates(int count,
String projectId)
- Specified by:
getMostWorkedOnTemplates
in interface IStatisticsManager
- Returns:
getLeastWorkedOnTemplates
public List<Template> getLeastWorkedOnTemplates(int count,
String projectId)
- Specified by:
getLeastWorkedOnTemplates
in interface IStatisticsManager
- Returns:
getMostCompleteTranslations
public List<Translation> getMostCompleteTranslations(int count,
String projectId)
- Specified by:
getMostCompleteTranslations
in interface IStatisticsManager
- Returns:
getLeastCompleteTranslations
public List<Translation> getLeastCompleteTranslations(int count,
String projectId)
- Specified by:
getLeastCompleteTranslations
in interface IStatisticsManager
- Returns:
getMostWorkedOnTranslations
public List<Translation> getMostWorkedOnTranslations(int count,
String projectId)
- Specified by:
getMostWorkedOnTranslations
in interface IStatisticsManager
- Returns:
getLeastWorkedOnTranslations
public List<Translation> getLeastWorkedOnTranslations(int count,
String projectId)
- Specified by:
getLeastWorkedOnTranslations
in interface IStatisticsManager
- Returns:
getProjectStatus
public TranslationStatus getProjectStatus(String projectId)
- Specified by:
getProjectStatus
in interface IStatisticsManager
- Returns:
- See Also:
IStatisticsManager.getProjectStatus(java.lang.String)
getTemplateStatus
public TranslationStatus getTemplateStatus(long templateId)
- Specified by:
getTemplateStatus
in interface IStatisticsManager
- Returns:
- See Also:
IStatisticsManager.getTemplateStatus(long)
getStatusOverview
public StatusOverview getStatusOverview()
- Specified by:
getStatusOverview
in interface IStatisticsManager
- Returns:
- See Also:
TODO Reformat the source and externalize the SQL query string.
getTranslationStatus
public TranslationStatus getTranslationStatus(long translationId)
- Specified by:
getTranslationStatus
in interface IStatisticsManager
- Returns:
- See Also:
TODO Reformat the source and externalize the SQL query string.
getUserStatus
public UserStatus getUserStatus(String userName)
- Specified by:
getUserStatus
in interface IStatisticsManager
- Returns:
Copyright © 2000-2005 Gnome Korea. All Rights Reserved.