Package com.sun.identity.console.base
Class AMViewConfig
- java.lang.Object
-
- com.sun.identity.console.base.AMViewConfig
-
public class AMViewConfig extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.sun.web.ui.model.CCNavNodeaddAgentTabs(com.sun.web.ui.model.CCTabsModel tabModel, AMModel model, int idx)booleanaddEntityTabs(com.sun.web.ui.model.CCTabsModel tabModel, String realmName, AMModel model)com.sun.web.ui.model.CCTabsModeladdSessionTabs(com.sun.web.ui.model.CCTabsModel tabModel, AMModel model)voidaddTabEntries(String type, List entries, boolean newSet)StringgetCombineAgentType(String type)Returns the combined agent type.SetgetCombineAgentTypes(String type)Returns the combined agent types.intgetDefaultTabId(String realmName, jakarta.servlet.http.HttpServletRequest req)intgetDefaultTabId(String type, String realmName, jakarta.servlet.http.HttpServletRequest req)StringgetDefaultViewBeanURL(String realmName, jakarta.servlet.http.HttpServletRequest req)StringgetDefaultViewBeanURL(String type, String realmName, jakarta.servlet.http.HttpServletRequest req)ListgetIdentityDisplayOrder()static AMViewConfiggetInstance()SetgetRealmEnableHiddenConsoleAttrNames()com.sun.web.ui.model.CCTabsModelgetSAMLv2TabsModel(String type, String realmName, jakarta.servlet.http.HttpServletRequest req, List tabsToDisplay)ClassgetShowMenuClass(String name, String idx)com.iplanet.jato.view.html.OptionListgetShowMenus(String name)ListgetSupportedAgentTypes(AMModel model)MapgetSupportedAgentTypesMap(AMModel model)ListgetSupportedEntityTypes(String realmName, AMModel model)MapgetSupportedEntityTypesMap(String realmName, AMModel model)AMTabEntrygetTabEntry(int idx)com.sun.web.ui.model.CCTabsModelgetTabsModel(String realmName, jakarta.servlet.http.HttpServletRequest req)com.sun.web.ui.model.CCTabsModelgetTabsModel(String type, String realmName, jakarta.servlet.http.HttpServletRequest req)AMViewBeanBasegetTabViewBean(AMViewBeanBase vb, String realmName, AMModel model, int idx, int childIdx)AMViewBeanBasegetTabViewBean(AMViewBeanBase vb, String realmName, AMModel model, String type, int idx, int childIdx)booleanisCombineAgentType(String type)Returnstureif combined agent type.booleanisServiceVisible(String serviceName)voidsetTabViews(int parentID, List items)Adds a set of subtabs to the specified parent tab.
-
-
-
Method Detail
-
getInstance
public static AMViewConfig getInstance()
-
getTabsModel
public com.sun.web.ui.model.CCTabsModel getTabsModel(String realmName, jakarta.servlet.http.HttpServletRequest req)
-
getTabsModel
public com.sun.web.ui.model.CCTabsModel getTabsModel(String type, String realmName, jakarta.servlet.http.HttpServletRequest req)
-
getSAMLv2TabsModel
public com.sun.web.ui.model.CCTabsModel getSAMLv2TabsModel(String type, String realmName, jakarta.servlet.http.HttpServletRequest req, List tabsToDisplay)
-
addSessionTabs
public com.sun.web.ui.model.CCTabsModel addSessionTabs(com.sun.web.ui.model.CCTabsModel tabModel, AMModel model)
-
addEntityTabs
public boolean addEntityTabs(com.sun.web.ui.model.CCTabsModel tabModel, String realmName, AMModel model)
-
addAgentTabs
public com.sun.web.ui.model.CCNavNode addAgentTabs(com.sun.web.ui.model.CCTabsModel tabModel, AMModel model, int idx)
-
getCombineAgentType
public String getCombineAgentType(String type)
Returns the combined agent type.- Parameters:
type- Combined Agent type referred name.- Returns:
- the combined agent type.
-
isCombineAgentType
public boolean isCombineAgentType(String type)
Returnstureif combined agent type.- Parameters:
type- Combined Agent type referred name.- Returns:
tureif combined agent type.
-
getCombineAgentTypes
public Set getCombineAgentTypes(String type)
Returns the combined agent types.- Parameters:
type- Combined Agent type referred name.- Returns:
- the combined agent types.
-
setTabViews
public void setTabViews(int parentID, List items)Adds a set of subtabs to the specified parent tab. The data for creating a subtab is a list of Map entries, each with the following data.- label - name displayed for the tab
- tooltip - tip information displayed when mouse over tab
- status - text displayed in the status line of browser
- url - url to invoke when tab is selected
- viewbean - viewbean that is displayed
- Parameters:
parentID- for the parent tabitems- list of subtabs to add to the parent
-
getDefaultViewBeanURL
public String getDefaultViewBeanURL(String realmName, jakarta.servlet.http.HttpServletRequest req)
-
getDefaultViewBeanURL
public String getDefaultViewBeanURL(String type, String realmName, jakarta.servlet.http.HttpServletRequest req)
-
getDefaultTabId
public int getDefaultTabId(String realmName, jakarta.servlet.http.HttpServletRequest req)
-
getDefaultTabId
public int getDefaultTabId(String type, String realmName, jakarta.servlet.http.HttpServletRequest req)
-
getTabViewBean
public AMViewBeanBase getTabViewBean(AMViewBeanBase vb, String realmName, AMModel model, int idx, int childIdx) throws AMConsoleException
- Throws:
AMConsoleException
-
getTabViewBean
public AMViewBeanBase getTabViewBean(AMViewBeanBase vb, String realmName, AMModel model, String type, int idx, int childIdx) throws AMConsoleException
- Throws:
AMConsoleException
-
getTabEntry
public AMTabEntry getTabEntry(int idx) throws AMConsoleException
- Throws:
AMConsoleException
-
getShowMenus
public com.iplanet.jato.view.html.OptionList getShowMenus(String name)
-
getShowMenuClass
public Class getShowMenuClass(String name, String idx) throws AMConsoleException
- Throws:
AMConsoleException
-
isServiceVisible
public boolean isServiceVisible(String serviceName)
-
getRealmEnableHiddenConsoleAttrNames
public Set getRealmEnableHiddenConsoleAttrNames()
-
getIdentityDisplayOrder
public List getIdentityDisplayOrder()
-
-