Package com.sun.identity.console.base
Class DynamicRequestViewBean
- java.lang.Object
-
- com.iplanet.jato.view.ViewBase
-
- com.iplanet.jato.view.ContainerViewBase
-
- com.iplanet.jato.view.RequestHandlingViewBase
-
- com.iplanet.jato.view.ViewBeanBase
-
- org.forgerock.openam.console.base.ConsoleViewBeanBase
-
- com.sun.identity.console.base.AMViewBeanBase
-
- com.sun.identity.console.base.AMPrimaryMastHeadViewBean
-
- com.sun.identity.console.base.DynamicRequestViewBean
-
- All Implemented Interfaces:
com.iplanet.jato.RequestCompletionListener,com.iplanet.jato.RequestHandler,com.iplanet.jato.RequestParticipant,com.iplanet.jato.view.ContainerView,com.iplanet.jato.view.View,com.iplanet.jato.view.ViewBean,com.iplanet.jato.view.WebActionHandler,com.iplanet.jato.view.WebActions,com.sun.web.ui.view.tabs.CCNodeEventHandlerInterface
- Direct Known Subclasses:
AMServiceProfileViewBeanBase,SubConfigAddViewBean,SubConfigEditViewBean
public abstract class DynamicRequestViewBean extends AMPrimaryMastHeadViewBean
This view bean handles dynamic requests made from the client.- Since:
- 13.0.0
-
-
Field Summary
Fields Modifier and Type Field Description protected booleandynamicRequestprotected AMPropertySheetModelpropertySheetModelprotected Map<String,Set<String>>unsavedAttributeValues-
Fields inherited from class com.sun.identity.console.base.AMPrimaryMastHeadViewBean
HDR_COMMON, MH_COMMON, PG_SESSION_PAGE_TRAIL_ID, PG_SESSION_TAB_ID, retainPageSessionsBtwTabs, TAB_COMMON, tabModel
-
Fields inherited from class com.sun.identity.console.base.AMViewBeanBase
BTN_GHOST, debug, initialized, PG_SESSION_ATTR, PG_SESSION_ATTR_ID, PG_SESSION_SSO_ID, SZ_CACHE
-
Fields inherited from class com.iplanet.jato.view.ViewBeanBase
DEFAULT_COMMAND_CHILD_NVP_NAME, DISPLAY_EVENT_COMPLETED_REQUEST_ATTRIBUTE_NAME, OPTION_USE_PAGE_SESSION_FOR_DEFAULT_COMMAND_CHILD
-
Fields inherited from class com.iplanet.jato.view.RequestHandlingViewBase
HANDLE_REQUEST_METHOD_PREFIX, HANDLE_REQUEST_METHOD_SUFFIX
-
Fields inherited from class com.iplanet.jato.view.ContainerViewBase
BEGIN_DISPLAY_EVENT_METHOD_PREFIX, BEGIN_DISPLAY_EVENT_METHOD_SUFFIX, END_DISPLAY_EVENT_METHOD_PREFIX, END_DISPLAY_EVENT_METHOD_SUFFIX, eventMethodRegistry, OPTION_ENABLE_QUALIFIELD_CHILD_NAME_LOOKUPS, OPTION_USE_LEGACY_DISPLAY_EVENT_SIGNATURES
-
Fields inherited from interface com.iplanet.jato.view.ViewBean
PAGE_SESSION_ATTRIBUTE_NVP_NAME, VIEW_BEAN_NAME_SUFFIX
-
-
Constructor Summary
Constructors Constructor Description DynamicRequestViewBean(String name)Creates an instance ofDynamicRequestViewBean.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract Map<String,Set<String>>getAttributeValueMap()Get the current (could be unsaved) attribute values for the view bean.voidhandleCreateDynLinkRequest(com.iplanet.jato.view.event.RequestInvocationEvent event)Populate the requested URL with the realm and pass it to subclass to handle the link request.protected abstract voidhandleDynamicLinkRequest(String url)Handle the appropriate dynamic link request.voidhandleDynLinkRequest(com.iplanet.jato.view.event.RequestInvocationEvent event)Extract the URL for the dynamic link and pass it to subclass to handle the link request.voidhandleEditDynLinkRequest(com.iplanet.jato.view.event.RequestInvocationEvent event)Populate the requested URL with the realm and ID of the attribute to edit, then pass it to subclass to handle the link request.voidhandleRefreshDynLinkRequest(com.iplanet.jato.view.event.RequestInvocationEvent event)Store the unsaved attributes and reload the page.-
Methods inherited from class com.sun.identity.console.base.AMPrimaryMastHeadViewBean
addPageTrail, backTrail, beginDisplay, beginDisplay, createChild, createTabModel, forwardTo, getBreadCrumbDisplayName, getDefaultTabId, getTabNodeAssociatedViewBean, getTrackingTabIDName, handleBreadCrumbHrefRequest, handleRealmNameInTabSwitch, initPageTrail, isRootRealm, lockPageTrail, nodeClicked, passPgSessionMapEx, registerChildren, setPageTrail, setRequestContext, setSelectedTabNode, startPageTrail, unlockPageTrail, unlockPageTrailForSwapping
-
Methods inherited from class com.sun.identity.console.base.AMViewBeanBase
addBlankTextField, appendPgSession, beginChildDisplay, bypassForwardTo, charToHex, createOptionList, createOptionList, createOptionList, createOptionList, createOptionList, deserializePageAttributes, disableButton, getBackButtonLabel, getBlankTextFields, getCallingView, getCharset, getCharset, getContentType, getCurrentLocation, getCurrentLocationDN, getCurrentRealm, getCurrentRealmEncoded, getList, getModel, getModelInternal, getPageSessionAttributes, getPageSessionAttributeString, getPath, getRequestURL, getServiceNameForAccessControl, getUserLocale, getValues, handleGRequest, hexToString, hideTableSelectionIcons, initialize, isInlineAlertMessageSet, mapRequestParameter, passPgSessionMap, passPgSessionMap, performDelegationTasks, redirectToStartURL, resetButtonState, resetView, setCurrentLocation, setInlineAlertMessage, setInlineAlertMessage, setPageSessionAttributes, setRequestContentInitialize, stringToHex
-
Methods inherited from class com.iplanet.jato.view.ViewBeanBase
clearPageSessionAttributes, forward, forwardTo, getDefaultCommandDescriptor, getDefaultDisplayURL, getDisplayURL, getLogicalName, getModuleURL, getPageSessionAttribute, getPageSessionAttributeString, getRequestInvocationName, getRequestInvocationName, handleDeserializePageAttributesException, include, include, include, invokeRequestHandler, invokeRequestHandlerInternal, mapRequestParameters, removePageSessionAttribute, securityCheck, setDefaultCommandDescriptor, setDefaultDisplayURL, setPageSessionAttribute
-
Methods inherited from class com.iplanet.jato.view.RequestHandlingViewBase
acceptRequest, afterAllModelsExecute, afterAllWebActionModelsExecute, afterHandleRequestCommandExecution, afterModelExecutes, afterWebActionModelExecutes, appMessage, beforeHandleRequestCommandExecution, beforeModelExecutes, beforeWebActionModelExecutes, createDefaultExecutionContext, executeAutoDeletingModel, executeAutoDeletingModels, executeAutoExecutingModel, executeAutoExecutingModels, executeAutoInsertingModel, executeAutoInsertingModels, executeAutoRetrievingModel, executeAutoRetrievingModels, executeAutoRetrievingModels, executeAutoUpdatingModel, executeAutoUpdatingModels, getAutoDeletingModels, getAutoExecutingModels, getAutoInsertingModels, getAutoRetrieveExecutionContext, getAutoRetrievingModels, getAutoUpdatingModels, getFirstActionExecutionContext, getLastActionExecutionContext, getModel, getNextActionExecutionContext, getPreviousActionExecutionContext, getRefreshActionExecutionContext, getRequestCompletionListenerChildNames, getRequestContext, getRequestParticipantChildNames, getSession, getViewBean, getWebActionModelOffset, getWebActionModels, getWebActionRowOffsetSessionKey, handleRequest, handleWebAction, isAutoRetrieveEnabled, onHandleRequestCommandExecutionError, onModelError, onNoModelDataAvailable, onWebActionExecutionError, requestComplete, setAutoDeletingModels, setAutoExecutingModels, setAutoInsertingModels, setAutoRetrieveEnabled, setAutoRetrieveExecutionContext, setAutoRetrievingModels, setAutoUpdatingModels, setWebActionModelOffset
-
Methods inherited from class com.iplanet.jato.view.ContainerViewBase
beginChildDisplay, beginComponentDisplay, beginDisplay, childExists, createChildReserved, endChildDisplay, endChildDisplay, endComponentDisplay, endDisplay, endDisplay, ensureChild, getChild, getChildNames, getChildNames, getChildType, getCommandChildNames, getDefaultModel, getDisplayField, getDisplayFieldBooleanValue, getDisplayFieldDoubleValue, getDisplayFieldIntValue, getDisplayFieldStringValue, getDisplayFieldValue, getNumChildren, getQualifiedCommandChildNames, onValidationException, registerChild, registerDisplayEventHandlers, removeAllChildren, removeChild, removeQualifiedNameIndices, resetChildren, setDefaultModel, setDisplayFieldValue, setDisplayFieldValue, setDisplayFieldValue, setDisplayFieldValue, unregisterChild
-
Methods inherited from class com.iplanet.jato.view.ViewBase
getName, getParent, getParentViewBean, getQualifiedName, getQualifiedViewNameSeparator, getRootView, getRootView, getSimpleQualifiedName, isVisible, setName, setParent, setQualifiedViewNameSeparator, setVisible
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.iplanet.jato.view.ContainerView
endChildDisplay, endDisplay, getChild, getChildNames, getChildType, getDefaultModel, getDisplayField, getDisplayFieldValue, getNumChildren, resetChildren, setDisplayFieldValue
-
Methods inherited from interface com.iplanet.jato.RequestHandler
acceptRequest, getRequestContext, handleRequest
-
-
-
-
Field Detail
-
dynamicRequest
protected boolean dynamicRequest
-
propertySheetModel
protected AMPropertySheetModel propertySheetModel
-
-
Constructor Detail
-
DynamicRequestViewBean
public DynamicRequestViewBean(String name)
Creates an instance ofDynamicRequestViewBean.- Parameters:
name- Name of page.
-
-
Method Detail
-
handleDynLinkRequest
public void handleDynLinkRequest(com.iplanet.jato.view.event.RequestInvocationEvent event)
Extract the URL for the dynamic link and pass it to subclass to handle the link request.- Parameters:
event- Request invocation event.
-
handleCreateDynLinkRequest
public void handleCreateDynLinkRequest(com.iplanet.jato.view.event.RequestInvocationEvent event)
Populate the requested URL with the realm and pass it to subclass to handle the link request.- Parameters:
event- Request invocation event.
-
handleEditDynLinkRequest
public void handleEditDynLinkRequest(com.iplanet.jato.view.event.RequestInvocationEvent event)
Populate the requested URL with the realm and ID of the attribute to edit, then pass it to subclass to handle the link request.- Parameters:
event- Request invocation event.
-
handleRefreshDynLinkRequest
public void handleRefreshDynLinkRequest(com.iplanet.jato.view.event.RequestInvocationEvent event)
Store the unsaved attributes and reload the page.- Parameters:
event- Request invocation event.
-
handleDynamicLinkRequest
protected abstract void handleDynamicLinkRequest(String url)
Handle the appropriate dynamic link request.- Parameters:
url- The URL to link to.
-
-