public void handleNavigation(FacesContext context,
            String fromAction,
            String outcome,
            String toFlowDocumentId) {
        this.handleNavigation(context, fromAction, outcome);
    }
public void handleNavigation ( FacesContext context , String fromAction , String outcome , String toFlowDocumentId ) { this . handleNavigation ( context , fromAction , outcome ) ; }
<p class="changed_added_2_2">Overloaded variant of {@link #handleNavigation(javax.faces.context.FacesContext, java.lang.String, java.lang.String)}
that allows the caller to provide the defining document id for a flow
to be entered by this navigation.  For backward compatibility with
decorated {@code NavigationHandler} implementations that conform to an
earlier version of the specification, an implementation is provided that
calls through to {@link #handleNavigation(javax.faces.context.FacesContext, java.lang.String, java.lang.String)},
ignoring the {@code toFlowDocumentId} parameter.</p>

@param context The {@link FacesContext} for the current request
@param fromAction The action binding expression that was evaluated
to retrieve the specified outcome, or <code>null</code> if the
outcome was acquired by some other means
@param outcome The logical outcome returned by a previous invoked
application action (which may be <code>null</code>)
@param toFlowDocumentId The defining document id of the flow into which
this navigation will cause entry.

@throws NullPointerException if <code>context</code>
is <code>null</code>