[jboss-cvs] jboss-seam/src/main/org/jboss/seam/navigation ...

Gavin King gavin.king at jboss.com
Thu Jun 21 01:27:29 EDT 2007


  User: gavin   
  Date: 07/06/21 01:27:29

  Modified:    src/main/org/jboss/seam/navigation             Action.java
                        ConversationControl.java
                        ConversationIdParameter.java
                        ELConversationIdParameter.java
                        NavigationHandler.java Param.java
                        ProcessControl.java RedirectNavigationHandler.java
                        RenderNavigationHandler.java Rule.java
                        SafeActions.java
                        SyntheticConversationIdParameter.java
  Log:
  lots of new javadoc
  
  Revision  Changes    Path
  1.2       +6 -0      jboss-seam/src/main/org/jboss/seam/navigation/Action.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Action.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/navigation/Action.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- Action.java	19 Jun 2007 19:13:55 -0000	1.1
  +++ Action.java	21 Jun 2007 05:27:29 -0000	1.2
  @@ -3,6 +3,12 @@
   import org.jboss.seam.core.Expressions.MethodExpression;
   import org.jboss.seam.core.Expressions.ValueExpression;
   
  +/**
  + * Metadata for an <action/> in pages.xml
  + * 
  + * @author Gavin King
  + *
  + */
   public class Action
   {
      private MethodExpression methodExpression;
  
  
  
  1.3       +6 -0      jboss-seam/src/main/org/jboss/seam/navigation/ConversationControl.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ConversationControl.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/navigation/ConversationControl.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- ConversationControl.java	20 Jun 2007 05:34:32 -0000	1.2
  +++ ConversationControl.java	21 Jun 2007 05:27:29 -0000	1.3
  @@ -5,6 +5,12 @@
   import org.jboss.seam.core.Expressions.ValueExpression;
   import org.jboss.seam.pageflow.Pageflow;
   
  +/**
  + * 
  + * Demarcation of the conversation in pages.xml
  + *
  + * @author Gavin King
  + */
   public class ConversationControl
   {
   
  
  
  
  1.2       +5 -0      jboss-seam/src/main/org/jboss/seam/navigation/ConversationIdParameter.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ConversationIdParameter.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/navigation/ConversationIdParameter.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- ConversationIdParameter.java	19 Jun 2007 19:13:55 -0000	1.1
  +++ ConversationIdParameter.java	21 Jun 2007 05:27:29 -0000	1.2
  @@ -2,6 +2,11 @@
   
   import java.util.Map;
   
  +/**
  + * A strategy for propagating conversations across links
  + * and redirects
  + * 
  + */
   public interface ConversationIdParameter
   {
      String getName();
  
  
  
  1.2       +3 -2      jboss-seam/src/main/org/jboss/seam/navigation/ELConversationIdParameter.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ELConversationIdParameter.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/navigation/ELConversationIdParameter.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- ELConversationIdParameter.java	19 Jun 2007 19:13:55 -0000	1.1
  +++ ELConversationIdParameter.java	21 Jun 2007 05:27:29 -0000	1.2
  @@ -8,8 +8,9 @@
   import org.jboss.seam.util.Id;
   
   /**
  - * Represents a conversation parameter that can be used to create a "natural"
  - * conversation ID, by defining a <conversation/> entry in pages.xml. 
  + * A conversation parameter strategy for "natural" conversation ids.
  + * Natural conversation ids are defined using <conversation/> in 
  + * pages.xml. 
    *  
    * @author Shane Bryzak
    */
  
  
  
  1.2       +9 -0      jboss-seam/src/main/org/jboss/seam/navigation/NavigationHandler.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: NavigationHandler.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/navigation/NavigationHandler.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- NavigationHandler.java	19 Jun 2007 19:13:55 -0000	1.1
  +++ NavigationHandler.java	21 Jun 2007 05:27:29 -0000	1.2
  @@ -4,7 +4,16 @@
   
   import org.jboss.seam.faces.Navigator;
   
  +/**
  + * The result of a navigation rule.
  + * 
  + * @author Gavin King
  + *
  + */
   public abstract class NavigationHandler extends Navigator
   {
  +   /**
  +    * Go ahead and execute the navigation rule. 
  +    */
      public abstract boolean navigate(FacesContext context);
   }
  \ No newline at end of file
  
  
  
  1.4       +6 -0      jboss-seam/src/main/org/jboss/seam/navigation/Param.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Param.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/navigation/Param.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- Param.java	19 Jun 2007 20:08:13 -0000	1.3
  +++ Param.java	21 Jun 2007 05:27:29 -0000	1.4
  @@ -12,6 +12,12 @@
   import org.jboss.seam.core.Expressions.ValueExpression;
   import org.jboss.seam.faces.FacesExpressions;
   
  +/**
  + * Metadata for a <param/> in pages.xml
  + * 
  + * @author Gavin King
  + *
  + */
   public final class Param
   {
      private final String name;
  
  
  
  1.2       +5 -0      jboss-seam/src/main/org/jboss/seam/navigation/ProcessControl.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ProcessControl.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/navigation/ProcessControl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- ProcessControl.java	19 Jun 2007 19:13:55 -0000	1.1
  +++ ProcessControl.java	21 Jun 2007 05:27:29 -0000	1.2
  @@ -3,6 +3,11 @@
   import org.jboss.seam.bpm.BusinessProcess;
   import org.jboss.seam.core.Expressions.ValueExpression;
   
  +/**
  + * 
  + * Demarcation of the business process in pages.xml
  + *
  + */
   public class ProcessControl
   {
      private boolean isCreateProcess;
  
  
  
  1.2       +6 -0      jboss-seam/src/main/org/jboss/seam/navigation/RedirectNavigationHandler.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: RedirectNavigationHandler.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/navigation/RedirectNavigationHandler.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- RedirectNavigationHandler.java	19 Jun 2007 19:13:55 -0000	1.1
  +++ RedirectNavigationHandler.java	21 Jun 2007 05:27:29 -0000	1.2
  @@ -7,6 +7,12 @@
   import javax.faces.application.FacesMessage.Severity;
   import javax.faces.context.FacesContext;
   
  +/**
  + * Metadata for a <redirect/> in pages.xml
  + * 
  + * @author Gavin King
  + *
  + */
   public final class RedirectNavigationHandler extends NavigationHandler
   {
      private final String viewId;
  
  
  
  1.2       +6 -0      jboss-seam/src/main/org/jboss/seam/navigation/RenderNavigationHandler.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: RenderNavigationHandler.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/navigation/RenderNavigationHandler.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- RenderNavigationHandler.java	19 Jun 2007 19:13:55 -0000	1.1
  +++ RenderNavigationHandler.java	21 Jun 2007 05:27:29 -0000	1.2
  @@ -3,6 +3,12 @@
   import javax.faces.application.FacesMessage.Severity;
   import javax.faces.context.FacesContext;
   
  +/**
  + * Metadata for a <render/> in pages.xml
  + * 
  + * @author Gavin King
  + *
  + */
   public final class RenderNavigationHandler extends NavigationHandler
   {
      private final String viewId;
  
  
  
  1.2       +6 -0      jboss-seam/src/main/org/jboss/seam/navigation/Rule.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Rule.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/navigation/Rule.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- Rule.java	19 Jun 2007 19:13:55 -0000	1.1
  +++ Rule.java	21 Jun 2007 05:27:29 -0000	1.2
  @@ -8,6 +8,12 @@
   import org.jboss.seam.core.Events;
   import org.jboss.seam.core.Expressions.ValueExpression;
   
  +/**
  + * Metadata for an <rule/> in pages.xml
  + * 
  + * @author Gavin King
  + *
  + */
   public final class Rule
   {
      private String outcomeValue;
  
  
  
  1.4       +8 -0      jboss-seam/src/main/org/jboss/seam/navigation/SafeActions.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: SafeActions.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/navigation/SafeActions.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- SafeActions.java	20 Jun 2007 17:45:57 -0000	1.3
  +++ SafeActions.java	21 Jun 2007 05:27:29 -0000	1.4
  @@ -20,6 +20,14 @@
   import org.jboss.seam.annotations.intercept.BypassInterceptors;
   import org.jboss.seam.contexts.Contexts;
   
  +/**
  + * Maintains a set of "safe" actions that may be performed 
  + * by <s:link/>, as determined by actually parsing
  + * the view.
  + * 
  + * @author Gavin King
  + *
  + */
   @Scope(ScopeType.APPLICATION)
   @BypassInterceptors
   @Name("org.jboss.seam.navigation.safeActions")
  
  
  
  1.2       +5 -0      jboss-seam/src/main/org/jboss/seam/navigation/SyntheticConversationIdParameter.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: SyntheticConversationIdParameter.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/navigation/SyntheticConversationIdParameter.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- SyntheticConversationIdParameter.java	19 Jun 2007 19:13:55 -0000	1.1
  +++ SyntheticConversationIdParameter.java	21 Jun 2007 05:27:29 -0000	1.2
  @@ -6,6 +6,11 @@
   import org.jboss.seam.core.Manager;
   import org.jboss.seam.util.Id;
   
  +/**
  + * 
  + * Seam's default strategy for propagating conversations.
  + *
  + */
   public class SyntheticConversationIdParameter implements ConversationIdParameter
   {
      public String getName()
  
  
  



More information about the jboss-cvs-commits mailing list