Changeset 5549 for ComponentRegistry/trunk/ComponentRegistry/src/main/java/clarin/cmdi/componentregistry/rss/RssCreatorComments.java
- Timestamp:
- 08/11/14 16:07:55 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ComponentRegistry/trunk/ComponentRegistry/src/main/java/clarin/cmdi/componentregistry/rss/RssCreatorComments.java
r2515 r5549 14 14 /** 15 15 * 16 * @param userspace if "true" then profiles and components from the user's16 * @param isPrivate if "true" then profiles and components from the user's 17 17 * workspace, otherwise -- public (uri-parameter) 18 18 * @param baseURI where the database is located … … 27 27 * @param comparator compare comments by dates 28 28 */ 29 public RssCreatorComments(boolean userspace, String baseURI, int limit,29 public RssCreatorComments(boolean isPrivate, String baseURI, int limit, 30 30 String descriptionId, String descriptionName, String descriptionType, List<Comment> comms, Comparator<Comment> comparator) { 31 super( userspace, baseURI, limit, comms);32 setChannelLink(baseURI + "?item=" + descriptionId + (( userspace) ? "&space=user" : "") + "&browserview=comments");33 setChannelTitle(( userspace ? "Your workspace " : "Public ") + descriptionType + " \"" + descriptionName + "\"");31 super(isPrivate, baseURI, limit, comms); 32 setChannelLink(baseURI + "?item=" + descriptionId + ((isPrivate) ? "&space=user" : "") + "&browserview=comments"); 33 setChannelTitle((isPrivate ? "Private " : "Public ") + descriptionType + " \"" + descriptionName + "\""); 34 34 setChannelDescription(String.format("Comments feed for the %s \"%s\"", descriptionType, descriptionName)); 35 35 setComparator(comparator);
Note: See TracChangeset
for help on using the changeset viewer.