com.caucho.portal.generic
Interface Invocation


public interface Invocation


Method Summary
 InvocationURL createActionURL()
          Create and return an InvocationURL.
 InvocationURL createRenderURL()
          Create and return a InvocationURL.
 java.util.Map<java.lang.String,java.lang.String[]> getParameterMap()
          Return a map view of the parameters.
 PortletMode getPortletMode()
           
 WindowState getWindowState()
           
 boolean isActionTarget()
          Return true if this invocation is the target of an action
 java.util.Map<java.lang.String,java.lang.String[]> releaseParameterMap()
          Return a map view of the parameters and then create a new empty parameter map for this invocation.
 void setPortletMode(PortletMode portletMode)
           
 void setWindowState(WindowState windowState)
           
 

Method Detail

isActionTarget

boolean isActionTarget()
Return true if this invocation is the target of an action


getParameterMap

java.util.Map<java.lang.String,java.lang.String[]> getParameterMap()
Return a map view of the parameters.


releaseParameterMap

java.util.Map<java.lang.String,java.lang.String[]> releaseParameterMap()
Return a map view of the parameters and then create a new empty parameter map for this invocation.


getWindowState

WindowState getWindowState()

setWindowState

void setWindowState(WindowState windowState)

getPortletMode

PortletMode getPortletMode()

setPortletMode

void setPortletMode(PortletMode portletMode)

createActionURL

InvocationURL createActionURL()
Create and return an InvocationURL. The InvocationURL is initially a duplicate of the state of the Invocation's for every namespace, changes to the returned url have no effect on the originating Invocation's. The exception is parameters, the returned InvocationURL starts off with an empty parameter map for this invocation, but parameters for other invocations with different namespaces are preserved.


createRenderURL

InvocationURL createRenderURL()
Create and return a InvocationURL. The InvocationURL is initially a duplicate of the state of the Invocation's for every namespace, changes to the returned url have no effect on the originating Invocation's. The exception is parameters, the returned InvocationURL starts off with an empty parameter map for this invocation, but parameters for other invocations with different namespaces are preserved.