- 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
-
-
Nederlandse vertaling
U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.
Bij voorbaat dank.
Document heeft de 11/06/2005 gemaakt, de laatste keer de 18/08/2025 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/java-api-javaee-rf-javax/faces/event/PhaseId.html
De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.
Referenties
Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur van deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.