selfCommunity.setDescription(person.getDisplayName() + "'s Personal Community");
selfCommunity.setCreated(new Date());
selfCommunity.setModified(new Date());
selfCommunity.setIsPersonalCommunity(true);
Map<String,CommunityAttributePojo> commAttributes = new HashMap<String,CommunityAttributePojo>();
commAttributes.put("isPublic", new CommunityAttributePojo("boolean","false") );
commAttributes.put("usersCanSelfRegister", new CommunityAttributePojo("boolean","false") );
commAttributes.put("registrationRequiresApproval", new CommunityAttributePojo("boolean","false") );
commAttributes.put("usersCanCreateSubCommunities", new CommunityAttributePojo("boolean","false") );
selfCommunity.setCommunityAttributes(commAttributes);
Map<String,CommunityUserAttributePojo> commUserAttributes = new HashMap<String,CommunityUserAttributePojo>();
commUserAttributes.put("publishLoginToActivityFeed", new CommunityUserAttributePojo("boolean","true",true));
commUserAttributes.put("publishCommentsToActivityFeed", new CommunityUserAttributePojo("boolean","true",true));
commUserAttributes.put("publishSharingToActivityFeed", new CommunityUserAttributePojo("boolean","true",true));