/** @return the number of distinct articles that this article links to */ public int getDistinctLinksOutCount() { DbPageLinkCounts lc = env.getDbPageLinkCounts().retrieve(id); if (lc == null) return 0; else return lc.getDistinctLinksOut(); }
/** @return the total number of links that are made to this article */ public int getTotalLinksInCount() { DbPageLinkCounts lc = env.getDbPageLinkCounts().retrieve(id); if (lc == null) return 0; else return lc.getTotalLinksIn(); }