Interface ICafPortletAppConfig
public interface ICafPortletAppConfig
-
Method Summary
Modifier and TypeMethodDescriptiongetCafPortletConfig
(String portletName) Returns theICafPortletConfig
instance for the given portlet in the application.Returns a Mapping ofICafPortletConfig
objects for each portlet that has been configured in the application.getLogicalUserAttribute
(String logicalAttrName) Equivalent to (ICafPortalAppUserAttribute)getLogicalUserAttributeMappings().get(logicalAttrName)Returns a mapping of logical user attributes to actual portal attributes.
-
Method Details
-
getLogicalUserAttributeMappings
Map<String,ICafPortalAppUserAttribute> getLogicalUserAttributeMappings()Returns a mapping of logical user attributes to actual portal attributes. The key is the logical user attribute name, the value is an instanceof #ICafPortalAppUserAttribute
.- Returns:
- map of user attributes
-
getLogicalUserAttribute
Equivalent to (ICafPortalAppUserAttribute)getLogicalUserAttributeMappings().get(logicalAttrName)- Parameters:
logicalAttrName
- the logical attr name to lookup- Returns:
- user attr mapping, or null if none exists
-
getCafPortletConfigs
Map<String,ICafPortletConfig> getCafPortletConfigs()Returns a Mapping ofICafPortletConfig
objects for each portlet that has been configured in the application. Key is the portletName, value is an instance ofICafPortletConfig
. NOTE: the map will contain only portlets that have been configured.- Returns:
- map of portlet configs for each portlet in the application that has been configured
-
getCafPortletConfig
Returns theICafPortletConfig
instance for the given portlet in the application. Equivalent to (ICafPortletConfig)getCafPortletConfigs().get(portletName)- Parameters:
portletName
- the portlet to get the config info for- Returns:
- the portlet config object for the requested portletName, or null if the portlet has not been configured
-