/** Encapsulates RefererManager **/
public List getEntryReferers(WeblogEntryDataWrapper entry) {
ArrayList referers = new ArrayList();
try {
List refs = mRefererMgr.getReferersToEntry(entry.getId());
RollerSession rses =
RollerSession.getRollerSession(mRollerReq.getRequest());
for (Iterator rdItr = refs.iterator(); rdItr.hasNext();) {
RefererData referer = (RefererData) rdItr.next();
String title =referer.getTitle();
String excerpt = referer.getExcerpt();
if ( StringUtils.isNotEmpty(title)
&& StringUtils.isNotEmpty(excerpt) ) {
if (referer.getVisible().booleanValue()
|| rses.isUserAuthorizedToAdmin(referer.getWebsite()) ) {
referers.add(RefererDataWrapper.wrap(referer));
}
}
}