public class PAccountCreationWizard extends PValidatingWizard implements PAccountCreationWizardContext
CustomerCenter.properties
file for
a list of some of the account creation wizard defaults that can be set.)PIACreateAccountBean
,
Serialized FormJPanel.AccessibleJPanel
JComponent.AccessibleJComponent
Container.AccessibleAWTContainer
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
Modifier and Type | Field and Description |
---|---|
protected PIACreateAccountBean |
mCreateAccountBean |
protected PAccountInfoBeanImpl |
mInfoBean |
static String |
PRE_COMMIT
Shared data event sent out before the account is committed to Portal
The PModelHandle as gathered from the UI is passed in the event.
|
CANCEL, CANCEL_OPTION, FINISH, FINISH_OPTION, HELP, PAGE_SWITCH
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
LESSSPACE, MAXIMIZE, MINIMIZE, MORESPACE, NORMALIZE
VALIDATION_FIXERROR, VALIDATION_IGNOREERROR, VALIDATION_NOMATCH
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Constructor and Description |
---|
PAccountCreationWizard(String wizardName)
Builds a wizard used for use in creating new accounts.
|
Modifier and Type | Method and Description |
---|---|
void |
addNotify() |
protected Object |
commitData(PModelHandle model)
Creates an account based upon the passed-in model handle.
|
protected void |
finished(PModelHandle model)
Reports that the wizard finished successfully (the commit attempt
was successful).
|
PModelHandle |
getAccountCreationModelHandle()
Returns the model handle for the account creation wizard.
|
protected Object |
validateData(PModelHandle model)
Validates the data in the passed-in model handle.
|
addActions, addContextChangedListener, addFinishVetoListener, addSharedDataListener, addSharedDataVetoableListener, cancelled, changeSize, displayCommitError, displayMessage, displayYesNoMessage, displayYesNoValidateError, fireContextChangedEvent, fireSharedDataChangedNotification, fireSharedDataVetoableNotification, firstChanceHandleCommitError, focusOn, getAppName, getSharedData, getSharedDataManager, getWizardName, getWizardValidationManager, handleCommitError, handleValidateError, hasListeners, hasVetoListeners, lastChanceHandleCommitError, loadPages, propertyChange, recycle, removeActions, removeContextChangedListener, removeSharedDataListener, removeSharedDataVetoableListener, setEnabled, setOverlay, setStatus, setVisible, validateModel, validatePage, vetoableChange
addButtonPanelElement, addCancelListener, addCancelVetoableListener, addFinishListener, addFinishVetoableListener, addHelpListener, addPage, addPageSwitchListener, addPageSwitchVetoableListener, getPageAt, getPageCount, getVisiblePage, getVisiblePageIndex, getWizardDialog, pageToIndex, processBack, processCancel, processFinish, processHelp, processNext, removeCancelCommand, removeCancelListener, removeCancelVetoableListener, removeFinishCommand, removeFinishListener, removeFinishVetoableListener, removeHelpCommand, removeHelpListener, removeNotify, removePageSwitchListener, removePageSwitchVetoableListener, setFinishButtonEnabled, setPageEnabled, setVisiblePage, showWizard, showWizardPage, showWizardPage, updateWizardControls
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
addAncestorListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, update
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getSharedDataManager, getWizardName, getWizardValidationManager, setEnabled
addActions, addContextChangedListener, changeSize, fireContextChangedEvent, focusOn, getAppName, removeActions, removeContextChangedListener, setOverlay, setStatus
public static final String PRE_COMMIT
protected PIACreateAccountBean mCreateAccountBean
protected PAccountInfoBeanImpl mInfoBean
public PAccountCreationWizard(String wizardName)
wizardName
- The tag identifying the name of the account creation
wizard to be built.
The tag identifies the wizard pages in the CustomerCenter.properties
file.public void addNotify()
addNotify
in class PValidatingWizard
public PModelHandle getAccountCreationModelHandle()
null
. If the wizard completes
successfully, the model handle will be that of the newly created
account.)protected Object validateData(PModelHandle model) throws RemoteException
PIN_FLD_NAMEINFO
-- field number 156)
PIN_FLD_BILLINFO
-- field number 126)
PIN_FLD_PAYINFO
-- field number 882)
PIN_FLD_ACTGINFO
-- field number 751)
PIN_FLD_SERVICES
-- field number 122)
PIN_FLD_LOCALES
-- field number 124)
[xxx].validationarrayfieldnums
property should be set.
(See the CustomerCenter.properties
file for further
details.)validateData
in class PValidatingWizard
model
- The model handle for the data to be validated.null
if the validation succeeds, otherwise a
CustomerError
RemoteException
protected Object commitData(PModelHandle model) throws RemoteException
commitData
in class PValidatingWizard
model
- The model handle for the account to be created.CustomerError
RemoteException
protected void finished(PModelHandle model)
finished
in class PValidatingWizard
model
- The model handle returned from a successful
commit attempt.Copyright © 2003, 2023, Oracle and/or its affiliates.