javax.faces.flow

Class Flow


  • public abstract class Flow
    extends Object

    Flow is the runtime representation of a Faces Flow. Once placed into service by the runtime, an instance of this class is immutable. The implementation must be thread-safe because instances will be shared across all usages of the flow within the application.

    Since:
    2.2
    • Constructor Detail

      • Flow

        public Flow()
    • Method Detail

      • getId

        public abstract String getId()

        Return the immutable id for this Flow. This must be unique within the defining document (such as an Application Configuration Resources file), but need not be unique within the entire application.

        Since:
        2.2
      • getDefiningDocumentId

        public abstract String getDefiningDocumentId()

        Return the immutable application unique identifier for the document in which the argument flow is defined.

        Since:
        2.2
      • getStartNodeId

        public abstract String getStartNodeId()

        Return the immutable id for the default node that should be activated when this flow is entered.

        Since:
        2.2
      • getFinalizer

        public abstract MethodExpression getFinalizer()

        Return the MethodExpression that must be called by the runtime as the last thing that happens before exiting this flow. Any FlowScoped beans declared for this flow must remain in scope until after control returns from the method referenced by this MethodExpression.

        Since:
        2.2
      • getInitializer

        public abstract MethodExpression getInitializer()

        Return the MethodExpression that must be called by the runtime immediately after activating any FlowScoped beans declared for this flow.

        Since:
        2.2
      • getViews

        public abstract List<ViewNode> getViews()

        Return an immutable data structure containing all of the view nodes declared for this flow.

        Since:
        2.2
      • getReturns

        public abstract Map<String,ReturnNode> getReturns()

        Return an immutable data structure containing all of the return nodes declared for this flow.

        Since:
        2.2
      • getSwitches

        public abstract Map<String,SwitchNode> getSwitches()

        Return an immutable data structure containing all of the switch nodes declared for this flow.

        Since:
        2.2
      • getFlowCalls

        public abstract Map<String,FlowCallNode> getFlowCalls()

        Return an immutable data structure containing all the flow call nodes declared for this flow.

        Since:
        2.2
      • getFlowCall

        public abstract FlowCallNode getFlowCall(Flow targetFlow)

        Return the FlowCallNode that represents calling the targetFlow from this flow, or null if targetFlow cannot be reached from this flow.

        Since:
        2.2
      • getMethodCalls

        public abstract List<MethodCallNode> getMethodCalls()

        Return an immutable data structure containing all the method call nodes declared for this flow.

        Since:
        2.2

Traduction non disponible

Les API Java ne sont pas encore traduites en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.

Version en cache

21/08/2025 15:08:24 Cette version de la page est en cache (à la date du 21/08/2025 15:08:24) afin d'accélérer le traitement.
Vous pouvez activer le mode utilisateur dans le menu en haut pour afficher la version plus récente de la page.

Document créé le 11/06/2005, dernière modification le 18/08/2025
Source du document imprimé : https://www.gaudry.be/java-api-javaee-rf-javax/faces/flow/Flow.html

L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.

Références

  1. Consulter le document html Langue du document :fr Manuel PHP : https://docs.oracle.com, Flow (Java(TM) EE 7 Specification APIs)

Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.