Package org.gatein.pc.api.info
Interface PortletInfo
public interface PortletInfo
Runtime meta data for a portlet.
- Since:
- 2.4
- Version:
- $Revision: 5448 $
- Author:
- Julien Viet
-
Method Summary
Modifier and TypeMethodDescriptionReturns the portlet application name.<T> TgetAttachment(Class<T> type) Returns a generic attachment on the portlet info.getCache()Retrieves caching-related information for the described portlet.Retrieves the capabilities of supported by the described portlet.Return the eventing information.getMeta()Retrieves the portlet description (title, keywords, etc).getName()Returns the portlet name.Returns the navigation information.Retrieves information about the preferences supported by the described portlet, it must return null if the portlet cannot be personalized.Retrieves the runtime container options set by the associated portlet, if any.Retrieves the security information for the described portlet.
-
Method Details
-
getName
String getName()Returns the portlet name.- Returns:
- the portlet name
-
getApplicationName
String getApplicationName()Returns the portlet application name.- Returns:
- the portlet application name
-
getCapabilities
CapabilitiesInfo getCapabilities()Retrieves the capabilities of supported by the described portlet.- Returns:
- the capabilities of the portlet
-
getPreferences
PreferencesInfo getPreferences()Retrieves information about the preferences supported by the described portlet, it must return null if the portlet cannot be personalized.- Returns:
- the preferences meta data of the portlet
-
getMeta
MetaInfo getMeta()Retrieves the portlet description (title, keywords, etc).- Returns:
- the portlet description
-
getSecurity
SecurityInfo getSecurity()Retrieves the security information for the described portlet.- Returns:
- the security information
-
getCache
CacheInfo getCache()Retrieves caching-related information for the described portlet.- Returns:
- the caching related information
-
getEventing
EventingInfo getEventing()Return the eventing information.- Returns:
- the eventing information
-
getAttachment
Returns a generic attachment on the portlet info.- Parameters:
type- the parameter type- Returns:
- the attachment or null
- Throws:
IllegalArgumentException- if the parameter type is null
-
getRuntimeOptionsInfo
Map<String,RuntimeOptionInfo> getRuntimeOptionsInfo()Retrieves the runtime container options set by the associated portlet, if any.- Returns:
- the runtime container options set by the associated portlet, if any
-