if (dbo != null)
{
CommunityPojo community = CommunityPojo.fromDb(dbo, CommunityPojo.class);
if (showDocInfo) {
DocCountPojo dc = (DocCountPojo) DbManager.getDocument().getCounts().findOne(query);
if (null != dc) {
dc.set_id(null);
community.setDocumentInfo(dc);
}
}
community = filterCommunityMembers(community, RESTTools.adminLookup(userIdStr), userIdStr);
rp.setData(community, new CommunityPojoApiMap());