added fix for method getAllPortalPrivacyLevelFeeds() not recongnizing application feeds

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@72919 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Massimiliano Assante 2013-04-04 13:25:35 +00:00
parent 6bcda90c7f
commit f3b42672db
2 changed files with 3270 additions and 1 deletions

File diff suppressed because it is too large Load Diff

View File

@ -553,8 +553,10 @@ public final class DBCassandraAstyanaxImpl implements DatabookStore {
toAdd.setLinkHost(col.getStringValue());
else if (col.getName().compareTo("LinkTitle") == 0)
toAdd.setLinkTitle(col.getStringValue());
else if (col.getName().compareTo("IsApplicationFeed") == 0)
toAdd.setApplicationFeed(col.getBooleanValue());
else {
_log.error("getAllPortalPrivacyLevelFeeds(): Could not assign variable to this Feed for column name: " + col.getName());
_log.warn("getAllPortalPrivacyLevelFeeds(): Could not assign variable to this Feed for column name: " + col.getName());
}
}
if (toAdd.getType() == FeedType.TWEET || toAdd.getType() == FeedType.SHARE || toAdd.getType() == FeedType.PUBLISH)