org.jboss.portal.portlet.test.support
Class PortletInvokerSupport.InternalPortlet

java.lang.Object
  extended by org.jboss.portal.portlet.test.support.PortletInvokerSupport.InternalPortlet
All Implemented Interfaces:
Portlet
Enclosing class:
PortletInvokerSupport

public static class PortletInvokerSupport.InternalPortlet
extends java.lang.Object
implements Portlet


Constructor Summary
PortletInvokerSupport.InternalPortlet(java.lang.String portletId, PortletSupport support)
           
 
Method Summary
 void addPreference(java.lang.String key, Value value)
           
 void addPreference(java.lang.String key, Value value, java.lang.Boolean readOnly)
           
 PortletContext getContext()
          Return the portlet context.
 PortletInfo getInfo()
          Return the portlet info.
 boolean isRemote()
          Determines whether the described portlet is remote or not.
 boolean isValid()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletInvokerSupport.InternalPortlet

public PortletInvokerSupport.InternalPortlet(java.lang.String portletId,
                                             PortletSupport support)
Method Detail

addPreference

public void addPreference(java.lang.String key,
                          Value value)

addPreference

public void addPreference(java.lang.String key,
                          Value value,
                          java.lang.Boolean readOnly)

getContext

public PortletContext getContext()
Description copied from interface: Portlet
Return the portlet context.

Specified by:
getContext in interface Portlet
Returns:
the portlet context

getInfo

public PortletInfo getInfo()
Description copied from interface: Portlet
Return the portlet info.

Specified by:
getInfo in interface Portlet
Returns:
the portlet info

isRemote

public boolean isRemote()
Description copied from interface: Portlet
Determines whether the described portlet is remote or not.

Specified by:
isRemote in interface Portlet
Returns:
true if the described portlet runs in a remote context (such as WSRP), false otherwise

isValid

public boolean isValid()