mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Activities refactor
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@11095 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -161,6 +161,7 @@ public class ActivityFeedDAO
|
||||
{
|
||||
JSONObject jo = new JSONObject();
|
||||
|
||||
jo.put("id", id);
|
||||
jo.put("postUserId", postUserId);
|
||||
jo.put("postDate", ISO8601DateFormat.format(postDate));
|
||||
if (feedUserId != null) { jo.put("feedUserId", feedUserId); } // eg. site feed
|
||||
|
@@ -978,6 +978,7 @@ public class SiteServiceImpl implements SiteService, SiteModel
|
||||
activityData.put("role", role);
|
||||
activityData.put("memberFirstName", memberFN);
|
||||
activityData.put("memberLastName", memberLN);
|
||||
activityData.put("title", (memberFN + " " + memberLN + " (" + userName + ")").trim());
|
||||
return activityData.toString();
|
||||
}
|
||||
catch (JSONException je)
|
||||
|
Reference in New Issue
Block a user