Package com.sun.identity.console.service
Class SMG11NViewBean
- java.lang.Object
-
- com.iplanet.jato.view.ViewBase
-
- com.iplanet.jato.view.ContainerViewBase
-
- com.iplanet.jato.view.RequestHandlingViewBase
-
- com.iplanet.jato.view.ViewBeanBase
-
- 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
public class SMG11NViewBean extends AMServiceProfileViewBeanBase
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_DISPLAY_URLstatic StringPAGE_MODIFIED-
Fields inherited from class com.sun.identity.console.base.AMServiceProfileViewBeanBase
initialized, PROPERTY_ATTRIBUTE, propertySheetModel, ptModel, SERVICE_NAME, serviceName, submitCycle
-
Fields inherited from class com.sun.identity.console.base.DynamicRequestViewBean
dynamicRequest, 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, 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 SMG11NViewBean()Creates a personal profile service profile view bean.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeginDisplay(com.iplanet.jato.view.event.DisplayEvent event)protected com.iplanet.jato.view.ViewcreateChild(String name)Creates user interface components used by this view bean.protected voidcreatePropertyModel()voidforwardTo(com.iplanet.jato.RequestContext reqContext)Forwards to template base creation and modification view bean.protected StringgetBreadCrumbDisplayName()protected AMModelgetModelInternal()Returns model for this view bean.voidhandleButton1Request(com.iplanet.jato.view.event.RequestInvocationEvent event)Handles save request.voidhandleButton2Request(com.iplanet.jato.view.event.RequestInvocationEvent event)Handles reset request.voidhandleButton3Request(com.iplanet.jato.view.event.RequestInvocationEvent event)Handles reset request.voidhandleTblCharsetAliasButtonAddRequest(com.iplanet.jato.view.event.RequestInvocationEvent event)Handles add charset alias request.voidhandleTblCharsetAliasButtonDeleteRequest(com.iplanet.jato.view.event.RequestInvocationEvent event)Handles remove charset alias request.voidhandleTblCharsetAliasHrefActionRequest(com.iplanet.jato.view.event.RequestInvocationEvent event)Handles edit charset alias request.voidhandleTblSupportedCharsetsButtonAddRequest(com.iplanet.jato.view.event.RequestInvocationEvent event)Handles add supported container request.voidhandleTblSupportedCharsetsButtonDeleteRequest(com.iplanet.jato.view.event.RequestInvocationEvent event)Handles remove supported container request.voidhandleTblSupportedCharsetsHrefActionRequest(com.iplanet.jato.view.event.RequestInvocationEvent event)Handles edit supported container request.protected voidonBeforeResetProfile()Dervived class can overwrite this method to perform some necessary tasks before reseting profile.protected booleanonBeforeSaveProfile(Map attrValues)Dervived class can overwrite this method to alter attribute values before are the saved.protected booleanstartPageTrail()-
Methods inherited from class com.sun.identity.console.base.AMServiceProfileViewBeanBase
beginPropertyDisplay, createPageTitleModel, createThreeButtonPageTitleModel, createTwoButtonPageTitleModel, getAttributeValueMap, getAttributeValues, getBackButtonLabel, getPropertySheetXML, getServiceNameForAccessControl, getValues, handleDynamicLinkRequest, initialize, isSubmitCycle, registerChildren, setRequestContext, setSubmitCycle
-
Methods inherited from class com.sun.identity.console.base.DynamicRequestViewBean
handleCreateDynLinkRequest, handleDynLinkRequest, handleEditDynLinkRequest, handleRefreshDynLinkRequest
-
Methods inherited from class com.sun.identity.console.base.AMPrimaryMastHeadViewBean
addPageTrail, backTrail, beginDisplay, createTabModel, getDefaultTabId, getTabNodeAssociatedViewBean, getTrackingTabIDName, handleBreadCrumbHrefRequest, handleRealmNameInTabSwitch, initPageTrail, isRootRealm, lockPageTrail, nodeClicked, passPgSessionMapEx, setPageTrail, setSelectedTabNode, 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, getPageSessionAttributes, getPageSessionAttributeString, getPath, getRequestURL, 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
-
DEFAULT_DISPLAY_URL
public static final String DEFAULT_DISPLAY_URL
- See Also:
- Constant Field Values
-
PAGE_MODIFIED
public static final String PAGE_MODIFIED
- See Also:
- Constant Field Values
-
-
Method Detail
-
forwardTo
public void forwardTo(com.iplanet.jato.RequestContext reqContext) throws com.iplanet.jato.NavigationExceptionForwards to template base creation and modification view bean.- Specified by:
forwardToin interfacecom.iplanet.jato.view.ViewBean- Overrides:
forwardToin classAMPrimaryMastHeadViewBean- Throws:
com.iplanet.jato.NavigationException
-
createChild
protected com.iplanet.jato.view.View createChild(String name)
Description copied from class:AMPrimaryMastHeadViewBeanCreates user interface components used by this view bean.- Overrides:
createChildin classAMServiceProfileViewBeanBase- Parameters:
name- of component- Returns:
- child component
-
createPropertyModel
protected void createPropertyModel()
- Overrides:
createPropertyModelin classAMServiceProfileViewBeanBase
-
getModelInternal
protected AMModel getModelInternal()
Description copied from class:AMViewBeanBaseReturns model for this view bean. Dervived class need to implement this method.- Overrides:
getModelInternalin classAMServiceProfileViewBeanBase- Returns:
- model for this view bean.
-
beginDisplay
public void beginDisplay(com.iplanet.jato.view.event.DisplayEvent event) throws com.iplanet.jato.model.ModelControlException- Specified by:
beginDisplayin interfacecom.iplanet.jato.view.ContainerView- Overrides:
beginDisplayin classAMServiceProfileViewBeanBase- Throws:
com.iplanet.jato.model.ModelControlException
-
onBeforeSaveProfile
protected boolean onBeforeSaveProfile(Map attrValues)
Description copied from class:AMServiceProfileViewBeanBaseDervived class can overwrite this method to alter attribute values before are the saved.- Overrides:
onBeforeSaveProfilein classAMServiceProfileViewBeanBase- Returns:
- true to proceed with saving attribute values.
-
onBeforeResetProfile
protected void onBeforeResetProfile()
Description copied from class:AMServiceProfileViewBeanBaseDervived class can overwrite this method to perform some necessary tasks before reseting profile.- Overrides:
onBeforeResetProfilein classAMServiceProfileViewBeanBase
-
handleTblSupportedCharsetsButtonDeleteRequest
public void handleTblSupportedCharsetsButtonDeleteRequest(com.iplanet.jato.view.event.RequestInvocationEvent event) throws com.iplanet.jato.model.ModelControlExceptionHandles remove supported container request.- Parameters:
event- Request Invocation Event.- Throws:
com.iplanet.jato.model.ModelControlException
-
handleTblSupportedCharsetsButtonAddRequest
public void handleTblSupportedCharsetsButtonAddRequest(com.iplanet.jato.view.event.RequestInvocationEvent event) throws com.iplanet.jato.model.ModelControlExceptionHandles add supported container request.- Parameters:
event- Request Invocation Event.- Throws:
com.iplanet.jato.model.ModelControlException
-
handleTblSupportedCharsetsHrefActionRequest
public void handleTblSupportedCharsetsHrefActionRequest(com.iplanet.jato.view.event.RequestInvocationEvent event) throws com.iplanet.jato.model.ModelControlExceptionHandles edit supported container request.- Parameters:
event- Request Invocation Event.- Throws:
com.iplanet.jato.model.ModelControlException
-
handleTblCharsetAliasButtonDeleteRequest
public void handleTblCharsetAliasButtonDeleteRequest(com.iplanet.jato.view.event.RequestInvocationEvent event) throws com.iplanet.jato.model.ModelControlExceptionHandles remove charset alias request.- Parameters:
event- Request Invocation Event.- Throws:
com.iplanet.jato.model.ModelControlException
-
handleTblCharsetAliasButtonAddRequest
public void handleTblCharsetAliasButtonAddRequest(com.iplanet.jato.view.event.RequestInvocationEvent event) throws com.iplanet.jato.model.ModelControlExceptionHandles add charset alias request.- Parameters:
event- Request Invocation Event.- Throws:
com.iplanet.jato.model.ModelControlException
-
handleTblCharsetAliasHrefActionRequest
public void handleTblCharsetAliasHrefActionRequest(com.iplanet.jato.view.event.RequestInvocationEvent event) throws com.iplanet.jato.model.ModelControlExceptionHandles edit charset alias request.- Parameters:
event- Request Invocation Event.- Throws:
com.iplanet.jato.model.ModelControlException
-
handleButton1Request
public void handleButton1Request(com.iplanet.jato.view.event.RequestInvocationEvent event) throws com.iplanet.jato.model.ModelControlExceptionHandles save request.- Overrides:
handleButton1Requestin classAMServiceProfileViewBeanBase- Parameters:
event- Request invocation event- Throws:
com.iplanet.jato.model.ModelControlException
-
handleButton2Request
public void handleButton2Request(com.iplanet.jato.view.event.RequestInvocationEvent event) throws com.iplanet.jato.model.ModelControlExceptionHandles reset request.- Overrides:
handleButton2Requestin classAMServiceProfileViewBeanBase- Parameters:
event- Request invocation event- Throws:
com.iplanet.jato.model.ModelControlException
-
handleButton3Request
public void handleButton3Request(com.iplanet.jato.view.event.RequestInvocationEvent event) throws com.iplanet.jato.model.ModelControlExceptionHandles reset request.- Parameters:
event- Request invocation event- Throws:
com.iplanet.jato.model.ModelControlException
-
getBreadCrumbDisplayName
protected String getBreadCrumbDisplayName()
- Overrides:
getBreadCrumbDisplayNamein classAMPrimaryMastHeadViewBean
-
startPageTrail
protected boolean startPageTrail()
- Overrides:
startPageTrailin classAMPrimaryMastHeadViewBean
-
-