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:
parent
6bcda90c7f
commit
f3b42672db
3267
.gwt/.gwt-log
3267
.gwt/.gwt-log
File diff suppressed because it is too large
Load Diff
|
@ -553,8 +553,10 @@ public final class DBCassandraAstyanaxImpl implements DatabookStore {
|
||||||
toAdd.setLinkHost(col.getStringValue());
|
toAdd.setLinkHost(col.getStringValue());
|
||||||
else if (col.getName().compareTo("LinkTitle") == 0)
|
else if (col.getName().compareTo("LinkTitle") == 0)
|
||||||
toAdd.setLinkTitle(col.getStringValue());
|
toAdd.setLinkTitle(col.getStringValue());
|
||||||
|
else if (col.getName().compareTo("IsApplicationFeed") == 0)
|
||||||
|
toAdd.setApplicationFeed(col.getBooleanValue());
|
||||||
else {
|
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)
|
if (toAdd.getType() == FeedType.TWEET || toAdd.getType() == FeedType.SHARE || toAdd.getType() == FeedType.PUBLISH)
|
||||||
|
|
Loading…
Reference in New Issue