className, classPK);</BUG>
socialActivityLocalService.addActivity(
user.getUserId(), assetEntry.getGroupId(), className, classPK,
SocialActivityConstants.TYPE_VIEW, StringPool.BLANK, 0);
<BUG>}
}</BUG>
public AssetEntryDisplay[] searchEntryDisplays(
long companyId, long[] groupIds, String className, String keywords,
String languageId, int start, int end)
throws SystemException {

User user = getGuestOrUser();
AssetEntry assetEntry = assetEntryLocalService.incrementViewCounter(
user.getUserId(), className, classPK, 1);
if (!user.isDefaultUser()) {
socialActivityLocalService.addActivity(
user.getUserId(), assetEntry.getGroupId(), className, classPK,
SocialActivityConstants.TYPE_VIEW, StringPool.BLANK, 0);
}
return assetEntry;
}
public AssetEntryDisplay[] searchEntryDisplays(
long companyId, long[] groupIds, String className, String keywords,
String languageId, int start, int end)
throws SystemException {
