org.jboss.portal.portlet.impl.jsr168.info
Class ContainerPortletInfo

java.lang.Object
  extended by org.jboss.portal.portlet.impl.jsr168.info.ContainerPortletInfo
All Implemented Interfaces:
PortletInfo
Direct Known Subclasses:
CorePortletInfoImpl

public class ContainerPortletInfo
extends java.lang.Object
implements PortletInfo

For now implementation that use the portlet container directly.

Version:
$Revision: 7242 $
Author:
Julien Viet, Chris Laprun

Constructor Summary
ContainerPortletInfo(PortletApplicationContext portletApplicationContext, PortletMetaData portletMD, JBossPortletMetaData jbossPortletMD, ResourceBundleManager bundleMgr)
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainerPortletInfo

public ContainerPortletInfo(PortletApplicationContext portletApplicationContext,
                            PortletMetaData portletMD,
                            JBossPortletMetaData jbossPortletMD,
                            ResourceBundleManager bundleMgr)
Method Detail

getCapabilities

public CapabilitiesInfo getCapabilities()
Description copied from interface: PortletInfo
Retrieves the capabilities of supported by the described portlet.

Specified by:
getCapabilities in interface PortletInfo
Returns:
the capabilities of the portlet

getPreferences

public PreferencesInfo getPreferences()
Description copied from interface: PortletInfo
Retrieves information about the preferences supported by the described portlet, it must return null if the portlet cannot be personalized.

Specified by:
getPreferences in interface PortletInfo
Returns:
the preferences meta data of the portlet

getMeta

public MetaInfo getMeta()
Description copied from interface: PortletInfo
Retrieves the portlet description (title, keywords, etc).

Specified by:
getMeta in interface PortletInfo
Returns:
the portlet description

getSecurity

public SecurityInfo getSecurity()
Description copied from interface: PortletInfo
Retrieves the security information for the described portlet.

Specified by:
getSecurity in interface PortletInfo
Returns:
the security information

getCache

public CacheInfo getCache()
Description copied from interface: PortletInfo
Retrieves caching-related information for the described portlet.

Specified by:
getCache in interface PortletInfo
Returns:
the caching related information

getSession

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

Specified by:
getSession in interface PortletInfo
Returns:
the session related information

isRemotable

public java.lang.Boolean isRemotable()
Description copied from interface: PortletInfo
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.

Specified by:
isRemotable in interface PortletInfo
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.