Ignore:
Timestamp:
08/11/14 16:07:55 (10 years ago)
Author:
olhsha@mpi.nl
Message:

Added group service. Tested via the tomcat on loclahots (test URI and postman), old unit tests are adjusted and work well. Todo: retest on localhost tomcat, look at run-time exceptions, add new unit tests, adjust front-end

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ComponentRegistry/trunk/ComponentRegistry/src/main/java/clarin/cmdi/componentregistry/rss/RssCreatorComments.java

    r2515 r5549  
    1414    /**
    1515     *
    16      * @param userspace if "true" then profiles and components from the user's
     16     * @param isPrivate if "true" then profiles and components from the user's
    1717     * workspace, otherwise -- public (uri-parameter)
    1818     * @param baseURI where the database is located
     
    2727     * @param comparator compare comments by dates
    2828     */
    29     public RssCreatorComments(boolean userspace, String baseURI, int limit,
     29    public RssCreatorComments(boolean isPrivate, String baseURI, int limit,
    3030            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 + "\"");
    3434        setChannelDescription(String.format("Comments feed for the %s \"%s\"", descriptionType, descriptionName));
    3535        setComparator(comparator);
Note: See TracChangeset for help on using the changeset viewer.