soneProperties.put("profile", sone.getProfile());
soneProperties.put("posts", new ArrayList<Post>(sone.getPosts()));
soneProperties.put("replies", new HashSet<Reply>(sone.getReplies()));
- soneProperties.put("friends", new HashSet<Sone>(sone.getFriends()));
soneProperties.put("blockedSoneIds", new HashSet<String>(sone.getBlockedSoneIds()));
}
<%/foreach>
</replies>
- <friends>
- <%foreach currentSone.friends friend>
- <friend>
- <sone-id><% friend.id|xml></sone-id>
- <sone-key><% friend.requestUri|xml></sone-key>
- <sone-name><% friend.name|xml></sone-name>
- </friend>
- <%/foreach>
- </friends>
-
<known-sones>
<%foreach knownSones sone>
<known-sone>