Although this method allows to advance by arbitrary counts it is recommended to use a step count of 1 if possible to make the behavior of the monitor intuitive.
@param nStepsnull
otherwise.
@throws IOException if an I/O error occurs.
@throws MimeException if the message can not be processed due to the MIME specification violation.
Behaves as if written:
int advance(int target) { int doc; while ((doc = nextDoc()) < target) { } return doc; }Some implementations are considerably more efficient than that.
NOTE: certain implementations may return a different value (each time) if called several times in a row with the same target.
NOTE: this method may be called with {@value #NO_MORE_DOCS} forefficiency by some Scorers. If your implementation cannot efficiently determine that it should exhaust, it is recommended that you check for that value in each call to this method.
NOTE: after the iterator has exhausted you should not call this method, as it may result in unpredicted behavior.
@since 2.9
Advance the execution of this {@link DialogContext} instance,until an interaction with the user is required. At that point, navigate to the appropriate view, call FacesContext.renderResponse()
, and return.
null
if no transition should be performed
@exception IllegalStateException if this {@link DialogContext}instance has not yet been started
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|