Package org.jboss.seam.wiki.connectors.feed

Examples of org.jboss.seam.wiki.connectors.feed.FeedAggregateCache


    }

    public Feed resolveFeedWithAggregateId(String aggregateId) {
        Feed feed = null;
        log.debug("trying to retrieve aggregated feed from cache: " + aggregateId);
        FeedAggregateCache aggregateCache = (FeedAggregateCache)Component.getInstance(FeedAggregateCache.class);
        List<FeedEntryDTO> result = aggregateCache.get(aggregateId);
        if (result != null) {
            feed = new Feed();
            feed.setAuthor(Messages.instance().get("lacewiki.msg.AutomaticallyGeneratedFeed"));
            feed.setTitle(Messages.instance().get("lacewiki.msg.AutomaticallyGeneratedFeed") + ": " + aggregateId);
            feed.setPublishedDate(new Date());
View Full Code Here

TOP

Related Classes of org.jboss.seam.wiki.connectors.feed.FeedAggregateCache

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.