Examples of containsTopic()


Examples of org.apache.ws.notification.topics.TopicSet.containsTopic()

      TopicSet        topicSet     = topicSpace;
      boolean         resolvedPath = true;
      while ( pathTokenizer.hasMoreTokens(  ) )
      {
         String name = pathTokenizer.nextToken(  );
         if ( !topicSet.containsTopic( name ) )
         {
            resolvedPath = false;
            break;
         }
View Full Code Here

Examples of org.apache.ws.notification.topics.TopicSet.containsTopic()

        TopicSet topicSet = topicSpace;
        boolean resolvedPath = true;
        while ( pathTokenizer.hasMoreTokens() )
        {
            String name = pathTokenizer.nextToken();
            if ( ! topicSet.containsTopic( name ) )
            {
                resolvedPath = false;
                break;
            }
            topicSet = topicSet.getTopic( name );
View Full Code Here

Examples of org.apache.ws.notification.topics.TopicSiblingSet.containsTopic()

      TopicSiblingSet topicSiblingSet = topicNs;
      boolean         resolvedPath    = true;
      while ( pathTokenizer.hasMoreTokens(  ) )
      {
         String name = pathTokenizer.nextToken(  );
         if ( !topicSiblingSet.containsTopic( name ) )
         {
            resolvedPath = false;
            break;
         }
View Full Code Here

Examples of org.jamwiki.model.Watchlist.containsTopic()

  private boolean isWatchedTopic() throws JspException {
    HttpServletRequest request = (HttpServletRequest)this.pageContext.getRequest();
    String virtualWiki = WikiUtil.getVirtualWikiFromRequest(request);
    try {
      Watchlist watchlist = ServletUtil.currentWatchlist(request, virtualWiki);
      return (watchlist.containsTopic(this.topic));
    } catch (WikiException e) {
      logger.severe("Failure processing watchlist item " + this.topic, e);
      throw new JspException(e);
    }
  }
View Full Code Here

Examples of org.jamwiki.model.Watchlist.containsTopic()

    String virtualWiki = pageInfo.getVirtualWikiName();
    Watchlist watchlist = ServletUtil.currentWatchlist(request, virtualWiki);
    WikiUser user = ServletUtil.currentWikiUser();
    WikiBase.getDataHandler().writeWatchlistEntry(watchlist, virtualWiki, topicName, user.getUserId());
    String article = WikiUtil.extractTopicLink(topicName);
    if (watchlist.containsTopic(topicName)) {
      // added to watchlist
      next.addObject("message", new WikiMessage("watchlist.caption.added", article));
    } else {
      // removed from watchlist
      next.addObject("message", new WikiMessage("watchlist.caption.removed", article));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.