Package com.semagia.atomico.server.dm.impl

Examples of com.semagia.atomico.server.dm.impl.DefaultCollectionFeed


     */
    @Override
    public Representation get(Variant variant) throws ResourceException {
        final String iri = getRequestIRI();
        final String collTitle = _collInfo.getTitle();
        DefaultCollectionFeed feed = new DefaultCollectionFeed(iri,
                                getConfiguration().getCollectionFeedTitle(collTitle),
                                _collInfo.getUpdated(), _collInfo.getDependencies());
        applyAuthorInfo(feed);
        feed.setSnapshotsEntry(new DefaultLinkAwareEntry(linkToSnapshots(),
                                getConfiguration().getSnapshotsEntryTitle(collTitle),
                                _snapshotModification));
        feed.setFragmentsEntry(new DefaultLinkAwareEntry(linkToFragments(),
                getConfiguration().getFragmentsEntryTitle(collTitle),
                _fragmentModification));
        return new WritableAwareRepresentation(variant.getMediaType(),
                new CollectionFeedWriter(feed, makeFeedHandler(variant)),
                _collInfo.getUpdated());
View Full Code Here

TOP

Related Classes of com.semagia.atomico.server.dm.impl.DefaultCollectionFeed

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.