public class PSubscriberPrefsPage extends PMaintenancePage implements PWizardPage, TreeSelectionListener, ListSelectionListener, PropertyChangeListener
JPanel.AccessibleJPanelJComponent.AccessibleJComponentContainer.AccessibleAWTContainerComponent.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy| Modifier and Type | Field and Description |
|---|---|
protected static ResourceBundle |
bundle |
PClientServices |
ccService |
static int |
COL_ENABLED |
PCachedContext |
conn |
static String |
domain
Domain name for active mediation referrein strings_t table
|
GridBagLayout |
gridBagLayoutPreference |
GridBagLayout |
gridBagLayoutServicePrefs |
static int |
poidColumn |
PIACustomizablePanel |
preferencesPanel |
JTreeTable |
serviceTreeTable |
static int |
TYPE_DECIMAL |
static int |
TYPE_ENUM |
static int |
TYPE_INT |
static int |
TYPE_STR |
static int |
TYPE_TIMESTAMP |
mNeedsRefresh, mPagesCurrentCurrencyisTracking, mIAList, mImpl, unregListIMAGE_CENTERED, IMAGE_SCALE_TO_HEIGHT, IMAGE_SCALE_TO_WIDTH, IMAGE_SCALED, IMAGE_TILED, mImageIcon, mScaledImagelistenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWaccessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description |
|---|
PSubscriberPrefsPage()
Initializes the page and finds if the page is account creation or
maintenance mode
|
| Modifier and Type | Method and Description |
|---|---|
void |
addNotify()
When the account creation wizard is opened by default preferences page
should be disabled
|
void |
clearMaps() |
void |
collectData(PCollectDataEvent event)
Merges the model handle of the Preferences page with Model of the
account.
|
void |
enteringPage()
Builds the JTreeTable and assigns appropriate action listeners also
builds the preferences structure when the page is visited for the first
time.
|
String |
findValue(FList prefs)
Returns the value associated with the preference, if prefs is from
/config_subscriberpreferences_map then default is returned, else real
value is returned.
|
String |
getControllerClassName()
Retrieves the class name of this component's controller, in this case, null.
|
int |
getPreferencesCount(FList prefs)
Gets the count number of preferences in
/config_subscriberpreferences_map.
|
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.
|
boolean |
hasUnsavedChanges()
hasUnsavedChanges will be invoked when Preferences page looses focus in
account maintenance mode.
|
protected boolean |
isAccountCreation()
Returns true if it is account creation mode else sets it to false.
|
void |
leavingPage()
Will be called when the controls goes away from Preferences page in
account creation mode
|
void |
localCollect(int row)
Collects the preferences data locally and stores them in hPrefs
|
void |
propertyChange(PropertyChangeEvent event)
Will be invoked when new plan is choosed from plans section during
Account Creation Mode.
|
void |
refresh()
Clearing all the required hashmaps.
|
void |
save()
Save method will be invoked when save button is clicked or when the
preferences are saved from a confirmatory dialog box.
|
void |
setEnabled(boolean b)
Enables or disables the preferences tab in account creation wizard
|
void |
validateWizardPage()
Validates this page.
|
void |
valueChanged(ListSelectionEvent e)
valueChanged method is invoked when selection is changed in jTreeTable.
|
void |
valueChanged(TreeSelectionEvent arg0) |
dataNeedsRefresh, getDisplayedCurrency, getLabel, isValidContext, primaryToSecondary, recycle, resetUnsavedChanges, revertToPrimaryclear, componentAdded, componentRemoved, containsError, getBackgroundImageSource, getBundle, getModelHandle, getRemoteComponent, getResourceName, getTools, isClean, isCurrencyDisplay, isDirty, isError, isInputTracking, isLight, isRequired, processError, resetToDefault, setBackgroundImageMode, setBackgroundImageSource, setClean, setCurrencyDisplay, setDefault, setError, setInputTracking, setModelHandle, setRequired, setResourceName, togglePrimaryToSecondary, unregister, viewDataChangegetBackgroundImageIcon, getBackgroundImageMode, imageUpdate, paintComponent, setBackgroundImageIcongetAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIaddAncestorListener, 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, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateadd, 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, validateTreeaction, 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, 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, transferFocusUpCyclepublic GridBagLayout gridBagLayoutServicePrefs
public GridBagLayout gridBagLayoutPreference
public PIACustomizablePanel preferencesPanel
protected static ResourceBundle bundle
public JTreeTable serviceTreeTable
public static int poidColumn
public static int TYPE_STR
public static int TYPE_INT
public static int TYPE_ENUM
public static int TYPE_DECIMAL
public static int TYPE_TIMESTAMP
public static int COL_ENABLED
public static String domain
public PClientServices ccService
public PCachedContext conn
public PSubscriberPrefsPage()
public void addNotify()
addNotify in class JComponentpublic void setEnabled(boolean b)
setEnabled in class JComponentpublic void refresh()
refresh in interface PAccountViewPagerefresh in class PMaintenancePageprotected boolean isAccountCreation()
public void clearMaps()
public String getControllerClassName() throws RemoteException
PIACustomizablePanelgetControllerClassName in interface PComponentgetControllerClassName in class PIACustomizablePanelString.RemoteException - thrown for errorspublic void enteringPage()
enteringPage in interface PCCPageenteringPage in class PMaintenancePagepublic String getWizardHelpID()
PWizardPagegetWizardHelpID in interface PWizardPagepublic void leavingPage()
throws PropertyVetoException
leavingPage in interface PWizardPagePropertyVetoExceptionpublic void save()
throws PSaveException
save in interface PAccountViewPagesave in class PMaintenancePagePSaveExceptionpublic void validateWizardPage()
throws PValidationException
PWizardPagePValidationException 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.)validateWizardPage in interface PWizardPagePValidationExceptionWizardValidationManagerpublic boolean handleWizardCommitError(com.portal.app.util.CustomerError error)
PWizardPagetrue 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.)handleWizardCommitError in interface PWizardPageerror - The commit-time error.true if the page will handle the error; otherwise
false.WizardValidationManagerpublic void valueChanged(ListSelectionEvent e)
valueChanged in interface ListSelectionListenerpublic void collectData(PCollectDataEvent event)
collectData in interface PWizardPagecollectData in interface PCollectDataListenercollectData in class PIACustomizablePanelevent - the PCollectDataEvent eventvalidateWizardPagepublic void localCollect(int row)
row - public boolean hasUnsavedChanges()
hasUnsavedChanges in interface PAccountViewPagehasUnsavedChanges in class PMaintenancePagepublic void valueChanged(TreeSelectionEvent arg0)
valueChanged in interface TreeSelectionListenerpublic int getPreferencesCount(FList prefs)
prefs - public String findValue(FList prefs)
prefs - public void propertyChange(PropertyChangeEvent event)
propertyChange in interface PropertyChangeListenerCopyright © 2003, 2023, Oracle and/or its affiliates.