public interface PWizardPage extends PCCPage
Modifier and Type | Method and Description |
---|---|
void |
collectData(PCollectDataEvent event)
Called by the wizard framework to collect data from this page
in preparation for committing data to the database and (if
the page elects to have the wizard framework do partial validation
on its behalf) in preparation for partial data validation.
|
String |
getWizardHelpID()
Returns the Help ID for this wizard page.
|
boolean |
handleWizardCommitError(com.portal.app.util.CustomerError error)
Called on each wizard page successively if an attempt to commit the
wizard data failed.
|
void |
leavingPage()
Called before the wizard actually leaves the current page.
|
void |
validateWizardPage()
Validates this page.
|
enteringPage, getLabel, recycle
void collectData(PCollectDataEvent event)
event
- The collect data event containing a model handle
to which data will be added.validateWizardPage
String getWizardHelpID()
void leavingPage() throws PropertyVetoException
PropertyVetoException
.PropertyVetoException
void validateWizardPage() throws PValidationException
PValidationException
will be
thrown. (The page could validate the data itself, use wizard framework
convenience methods to do validation, or do some validation itself
and defer some validation work to the framework.)PValidationException
WizardValidationManager
boolean handleWizardCommitError(com.portal.app.util.CustomerError error)
true
from this
method, the method will not be called on the remaining pages. If the
error "belongs" to a page (that is, the page determines that the
user should be able to fix the error on this page) true
will be returned. Otherwise it will return false
. (The
page could itself check for ownership of the error, use a wizard
framework convenience method to do this on its behalf, or do some
checking itself for error ownership and and defer some of the work
to the framework.)error
- The commit-time error.true
if the page will handle the error; otherwise
false
.WizardValidationManager
Copyright © 2003, 2023, Oracle and/or its affiliates.