public class PPurchaseOfferingWizard extends PValidatingWizard implements PPurchaseOfferingWizardContext
CustomerCenter.properties
file for a list of the
"purchase new offering" wizard defaults that can be set.)PPurchaseOfferingBean
,
Serialized FormJPanel.AccessibleJPanel
JComponent.AccessibleJComponent
Container.AccessibleAWTContainer
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
Modifier and Type | Field and Description |
---|---|
static int |
TRANSITION_TO_NEW_DEAL |
static int |
TRANSITION_TO_NEW_PLAN |
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 |
---|
PPurchaseOfferingWizard()
Builds a wizard used to purchase new offerings (plans or
deals).
|
Modifier and Type | Method and Description |
---|---|
void |
addNotify() |
protected Object |
commitData(PModelHandle model)
Purchases an offering based upon the passed-in model handle
|
protected void |
finished(PModelHandle model)
After doing default
finished processing, saves the
model handle returned by a successful purchase attempt. |
boolean |
getChangeOptionFlag() |
PModelHandle |
getPurchaseOfferingModelHandle()
Returns the model handle for the purchase offering wizard.
|
int |
getPurchaseOfferingType()
Returns the offering type for the purchase offering wizard.
|
int |
getTransitionType()
Returns 0 if plan transition is selected.
|
void |
setChangeOptionFlag(boolean flag) |
void |
setTransitionType(int transitionType)
This method is used to set the transition type (plan / deal)
Pass 0 to indicate plan transition.
|
protected Object |
validateData(PModelHandle model)
No-op.
|
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 int TRANSITION_TO_NEW_PLAN
public static final int TRANSITION_TO_NEW_DEAL
public PPurchaseOfferingWizard()
CustomerCenter.properties
file.public void addNotify()
addNotify
in class PValidatingWizard
public PModelHandle getPurchaseOfferingModelHandle()
null
. If the wizard completes
successfully, the model handle will be for the newly purchased
offering.)public int getPurchaseOfferingType()
NO_OFFERING
-- offering type not selectedDEAL_OFFERING
-- selected offering is a dealPLAN_OFFERING
-- selected offering is a planpublic void setChangeOptionFlag(boolean flag)
public boolean getChangeOptionFlag()
public void setTransitionType(int transitionType)
transitionType
- Pass 0 or 1public int getTransitionType()
protected Object validateData(PModelHandle model) throws RemoteException
null
. The purchase offering
wizard doesn't currently provide any default validation.validateData
in class PValidatingWizard
model
- The model handle for the data to be validatednull
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 offering to be purchasedPModelHandle
if the purchase
succeeds, otherwise a CustomerError
RemoteException
protected void finished(PModelHandle model)
finished
processing, saves the
model handle returned by a successful purchase attempt.finished
in class PValidatingWizard
model
- The model handle returned from a successful purchase
attempt.Copyright © 2003, 2023, Oracle and/or its affiliates.