Package org.jboss.seam.core

Examples of org.jboss.seam.core.ConversationEntry


         }
        
         if ( id!=null && !"".equals(id) )
         {
            id = Interpolator.instance().interpolate(id);
            ConversationEntry ce = ConversationEntries.instance().getConversationEntry(id);
            if (ce==null)
            {
               Manager.instance().updateCurrentConversationId(id);
            }
            else
            {
               return ce.redirect();
            }
         }
         else if (conversation != null && !"".equals(conversation))
         {
            ConversationIdParameter param = Pages.instance().getConversationIdParameter(conversation);
            if (param != null)
            {
               ConversationEntry ce = ConversationEntries.instance().getConversationEntry(param.getConversationId());
               if (ce != null)
               {
                  return ce.redirect();
               }
            }           
         }
      }
     
View Full Code Here


      {
         if (conversationName != null)
         {
            ConversationIdParameter param = Pages.instance().getConversationIdParameter(conversationName);
           
            ConversationEntry ce = ConversationEntries.instance().getConversationEntry(param.getConversationId());
            if (ce != null)
            {
               ce.redirect();
               return;
            }           
         }
        
         boolean begun = Conversation.instance().begin(join, nested);
View Full Code Here

         resultingConversationIdOrOutcome = conversationIdOrOutcome;
         actualOutcome = conversationIdOrOutcome;
      }
      else
      {
         ConversationEntry ce = ConversationEntries.instance().getConversationEntry(conversationIdOrOutcome);
         if (ce!=null)
         {
            resultingConversationIdOrOutcome = ce.getId();
            ce.redirect();
         }
         actualOutcome = null;
      }
      return actualOutcome;
   }
View Full Code Here

         resultingConversationIdOrOutcome = conversationIdOrOutcome;
         actualOutcome = conversationIdOrOutcome;
      }
      else
      {
         ConversationEntry ce = ConversationEntries.instance().getConversationEntry(conversationIdOrOutcome);
         if (ce!=null)
         {
            resultingConversationIdOrOutcome = ce.getId();
            ce.redirect();
         }
         actualOutcome = null;
      }
      return actualOutcome;
   }
View Full Code Here

      {
         if (conversationName != null)
         {
            ConversationIdParameter param = Pages.instance().getConversationIdParameter(conversationName);
           
            ConversationEntry ce = ConversationEntries.instance().getConversationEntry(param.getConversationId());
            if (ce != null)
            {
               ce.redirect();
               return;
            }           
         }
        
         boolean begun = Conversation.instance().begin(join, nested);
View Full Code Here

         }
        
         if ( id!=null && !"".equals(id) )
         {
            id = Interpolator.instance().interpolate(id);
            ConversationEntry ce = ConversationEntries.instance().getConversationEntry(id);
            if (ce==null)
            {
               Manager.instance().updateCurrentConversationId(id);
            }
            else
            {
               return ce.switchConversation();
            }
         }
      }
     
      return false;
View Full Code Here

TOP

Related Classes of org.jboss.seam.core.ConversationEntry

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.