code: public static Comment createComment(final String entityId,
  										final String entityType,
  										final String action,
  										final String commentedText,
  										final String user,
  										final Date date) {
  
  		final Comment comment = new Comment();
  		comment.setEntityId(entityId);
  		comment.setEntityType(entityType);
  		comment.setAction(action);
  		comment.setCommentText(commentedText);
  		comment.setCommentedBy(user);
  		comment.setCreatedDateTime(date);
  		return comment;
  	}
docs: Generates a comment regarding the parameters.
  
  @param entityId - id of the commented entity
  @param entityType - type of the entity
  @param action - the action performed by the user
  @param commentedText - comment text
  @param user - comment left by
  @param date - date comment was created
  @return - comment entity