站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

PortletInfo - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.portlet.info
Interface PortletInfo

All Known Implementing Classes:
ContainerPortletInfo, PortletInfoSupport, WSRPPortletInfo

public interface PortletInfo

Runtime meta data for a portlet.

Since:
2.4
Version:
$Revision: 5448 $
Author:
Julien Viet

Method Summary
 CacheInfo getCache()
          Retrieves caching-related information for the described portlet.
 CapabilitiesInfo getCapabilities()
          Retrieves the capabilities of supported by the described portlet.
 MetaInfo getMeta()
          Retrieves the portlet description (title, keywords, etc).
 PreferencesInfo getPreferences()
          Retrieves information about the preferences supported by the described portlet, it must return null if the portlet cannot be personalized.
 SecurityInfo getSecurity()
          Retrieves the security information for the described portlet.
 SessionInfo getSession()
          Retrieves session-related information for the described portlet.
 java.lang.Boolean isRemotable()
          Determines whether the described portlet can be accessed remotely (such as via WSRP) or not.
 

Method Detail

getCapabilities

public CapabilitiesInfo getCapabilities()
Retrieves the capabilities of supported by the described portlet.

Returns:
the capabilities of the portlet

getPreferences

public 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

public MetaInfo getMeta()
Retrieves the portlet description (title, keywords, etc).

Returns:
the portlet description

getSecurity

public SecurityInfo getSecurity()
Retrieves the security information for the described portlet.

Returns:
the security information

getCache

public CacheInfo getCache()
Retrieves caching-related information for the described portlet.

Returns:
the caching related information

getSession

public SessionInfo getSession()
Retrieves session-related information for the described portlet. If no information is available then it returns the null value.

Returns:
the session related information

isRemotable

public java.lang.Boolean isRemotable()
Determines whether the described portlet can be accessed remotely (such as via WSRP) or not. Clients of this method should be prepare to handle a null return value expressing the fact that the remotable status hasn't been explicitely set.

Returns:
Boolean.TRUE if the described portlet can be accessed remotely, Boolean.FALSE if the described portlet cannot be accessed remotely, null if the value hasn't been specified explicitely for the associated portlet.