| java.lang.Object com.nabhinc.portal.core.PortletConfigInfo
PortletConfigInfo | public class PortletConfigInfo (Code) | | Maintains information related to a portlet including configuration as
well as cache.
author: Padmanabh Dabke author: (c) 2006 Nabh Information Systems, Inc. All Rights Reserved. |
PORTLET_STATUS_INIT_ERROR | final public static int PORTLET_STATUS_INIT_ERROR(Code) | | |
PORTLET_STATUS_INSTANTIATION_ERROR | final public static int PORTLET_STATUS_INSTANTIATION_ERROR(Code) | | |
PORTLET_STATUS_INTERNAL_ERROR | final public static int PORTLET_STATUS_INTERNAL_ERROR(Code) | | |
PORTLET_STATUS_LOADED | final public static int PORTLET_STATUS_LOADED(Code) | | |
PORTLET_STATUS_PREF_VALIDATOR_ERROR | final public static int PORTLET_STATUS_PREF_VALIDATOR_ERROR(Code) | | |
PORTLET_STATUS_UNAVAILABLE | final public static int PORTLET_STATUS_UNAVAILABLE(Code) | | |
PORTLET_STATUS_UNLOADED | final public static int PORTLET_STATUS_UNLOADED(Code) | | |
cacheExpirationTime | public long cacheExpirationTime(Code) | | If content of this portlet is cacheable, the value
indicates UTC seconds after which the cache expires.
|
cachedContent | public String cachedContent(Code) | | Cached portlet content
|
contextPath | public String contextPath(Code) | | Context path of the PortletServlet that loaded this portlet config
|
defaultLocale | public String defaultLocale(Code) | | Locales supported
|
description | public String description(Code) | | Portlet description
|
displayName | public String displayName(Code) | | Default display name for the portlet
|
expirationCache | public int expirationCache(Code) | | Number of seconds the content can be cached.
0 => No caching
-1 => Cache never expires
|
isWSRPPortlet | public boolean isWSRPPortlet(Code) | | |
loadError | public String loadError(Code) | | Exception encountered while creating the portlet.
|
loadErrorStackTrace | public String loadErrorStackTrace(Code) | | Stack trace of exception encountered while creating the portlet.
|
loadStatus | public int loadStatus(Code) | | Load status of the portlet
|
localizedDescriptions | public HashMap localizedDescriptions(Code) | | Map of locale -> portlet description
|
localizedDisplayNames | public HashMap localizedDisplayNames(Code) | | Locale -> display name map
|
mimeTypeSupport | public HashMap mimeTypeSupport(Code) | | Map of mime type -> Array of portlet modes
|
portlet | public Portlet portlet(Code) | | Portlet instance
|
portletType | public PortletType portletType(Code) | | Object representing portlet configuration in XML
|
prefValidator | public PreferencesValidator prefValidator(Code) | | Preferences validator
|
securityRoleMapping | public HashMap securityRoleMapping(Code) | | Mapping between portlet security roles and Webapp
security roles.
|
servletURI | public String servletURI(Code) | | Servlet URI of the PortletServlet that loaded this portlet config
|
windowStateSupport | public HashMap windowStateSupport(Code) | | Supported window states
|
checkPortletMode | public void checkPortletMode(PortletMode pMode, String mimeType, HttpServletRequest req) throws PortletModeException, PortletSecurityException(Code) | | |
checkWindowState | public void checkWindowState(WindowState wState, String mimeType) throws WindowStateException(Code) | | Check if the current user can change to specified window state.
Parameters: wState - New window state Parameters: mimeType - Mime type for the current request throws: WindowStateException - Thrown if the new window state is not allowed |
getPortletDescription | public String getPortletDescription(RenderRequest request)(Code) | | |
getPortletDisplayName | public String getPortletDisplayName(RenderRequest request)(Code) | | |
|
|