throws Exception {
AssetRenderer assetRenderer = getAssetRenderer(className, classPK);
return assetRenderer.getURLViewInContext(
serviceContext.getLiferayPortletRequest(),
serviceContext.getLiferayPortletResponse(), null);
<BUG>}
protected SocialActivityFeedEntry getSubfeedEntry(</BUG>
SocialActivity activity, ServiceContext serviceContext)
throws Exception {
return null;

throws Exception {
if (activitySet.getActivityCount() == 1) {
List<SocialActivity> activities =
SocialActivityLocalServiceUtil.getActivitySetActivities(
activitySet.getActivitySetId(), 0, 1);
if (!activities.isEmpty()) {
SocialActivity activity = activities.get(0);
return doInterpret(activity, serviceContext);
}
}
String link = getLink(activitySet, serviceContext);
String title = getTitle(activitySet, serviceContext);
if (Validator.isNull(title)) {
return null;
