- java.lang.Object
-
- javax.faces.event.PhaseId
-
- All Implemented Interfaces:
- Comparable
public class PhaseId extends Object implements Comparable
Typesafe enumeration of the legal values that may be returned by the
getPhaseId()
method of theFacesEvent
interface.
-
-
Field Summary
Fields Modifier and Type Field and Description static PhaseId
ANY_PHASE
Identifier that indicates an interest in events, no matter which request processing phase is being performed.static PhaseId
APPLY_REQUEST_VALUES
Identifier that indicates an interest in events queued for the Apply Request Values phase of the request processing lifecycle.static PhaseId
INVOKE_APPLICATION
Identifier that indicates an interest in events queued for the Invoke Application phase of the request processing lifecycle.static PhaseId
PROCESS_VALIDATIONS
Identifier that indicates an interest in events queued for the Process Validations phase of the request processing lifecycle.static PhaseId
RENDER_RESPONSE
Identifier for the Render Response phase of the request processing lifecycle.static PhaseId
RESTORE_VIEW
Identifier that indicates an interest in events queued for the Restore View phase of the request processing lifecycle.static PhaseId
UPDATE_MODEL_VALUES
Identifier that indicates an interest in events queued for the Update Model Values phase of the request processing lifecycle.static List<PhaseId>
VALUES
List of validPhaseId
instances, in ascending order of their ordinal value.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description int
compareTo(Object other)
Compare thisPhaseId
instance to the specified one.String
getName()
Return the name of this phase.
int
getOrdinal()
Return the ordinal value of thisPhaseId
instance.static PhaseId
phaseIdValueOf(String phase)
Return a
PhaseId
representation of the arcumentphase
.String
toString()
Return a String representation of thisPhaseId
instance.
-
-
-
Field Detail
-
ANY_PHASE
public static final PhaseId ANY_PHASE
Identifier that indicates an interest in events, no matter which request processing phase is being performed.
-
RESTORE_VIEW
public static final PhaseId RESTORE_VIEW
Identifier that indicates an interest in events queued for the Restore View phase of the request processing lifecycle.
-
APPLY_REQUEST_VALUES
public static final PhaseId APPLY_REQUEST_VALUES
Identifier that indicates an interest in events queued for the Apply Request Values phase of the request processing lifecycle.
-
PROCESS_VALIDATIONS
public static final PhaseId PROCESS_VALIDATIONS
Identifier that indicates an interest in events queued for the Process Validations phase of the request processing lifecycle.
-
UPDATE_MODEL_VALUES
public static final PhaseId UPDATE_MODEL_VALUES
Identifier that indicates an interest in events queued for the Update Model Values phase of the request processing lifecycle.
-
INVOKE_APPLICATION
public static final PhaseId INVOKE_APPLICATION
Identifier that indicates an interest in events queued for the Invoke Application phase of the request processing lifecycle.
-
RENDER_RESPONSE
public static final PhaseId RENDER_RESPONSE
Identifier for the Render Response phase of the request processing lifecycle.
-
-
Method Detail
-
compareTo
public int compareTo(Object other)
Compare this
PhaseId
instance to the specified one. Returns a negative integer, zero, or a positive integer if this object is less than, equal to, or greater than the specified object.- Specified by:
compareTo
in interfaceComparable
- Parameters:
other
- The other object to be compared to
-
getOrdinal
public int getOrdinal()
Return the ordinal value of this
PhaseId
instance.
-
getName
public String getName()
Return the name of this phase.
- Since:
- 2.2
-
phaseIdValueOf
public static PhaseId phaseIdValueOf(String phase)
Return a
PhaseId
representation of the arcumentphase
.- Parameters:
phase
- the String for which the correspondingPhaseId
should be returned.- Throws:
- if argumentNullPointerException
phase
isnull
.
- if theFacesException
PhaseId
corresponding to the argumentphase
cannot be found.- 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
22/08/2025 07:46:25 Cette version de la page est en cache (à la date du 22/08/2025 07:46:25) 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 14/04/2008, dernière modification le 18/08/2025
Source du document imprimé : https://www.gaudry.be/java-api-javaee-rf-javax/faces/event/PhaseId.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
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.