public int countModules(Visibility v, String organisation) {
if (LOGGER.isDebugEnabled()) {
LOGGER.debug("getting modules count for visibility: " + v + " and organisation: " + organisation);
}
ModulesStatisticsService mss = WOJServer.getInstance().getDataService().getModuleDescriptorDao();
return mss.countModules(v, organisation);
}
public int countRevisions(Visibility v, String organisation, String module) {
if (LOGGER.isDebugEnabled()) {
LOGGER.debug("getting revisions count for visibility: " + v + ", organisation: " + organisation + " and module: " + module);