org.jasig.portal.api.portlet
Class DelegationActionResponse

java.lang.Object
  extended by org.jasig.portal.api.portlet.DelegationResponse
      extended by org.jasig.portal.api.portlet.DelegationActionResponse

public class DelegationActionResponse
extends DelegationResponse

The resulting state of the delegation action request

Version:
$Revision$
Author:
Eric Dalquist

Constructor Summary
DelegationActionResponse(DelegateState delegateState, PortletUrl renderUrl)
           
DelegationActionResponse(DelegateState delegateState, String redirectUrl)
           
 
Method Summary
 boolean equals(Object object)
           
 String getRedirectUrl()
           
 PortletUrl getRenderUrl()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class org.jasig.portal.api.portlet.DelegationResponse
getDelegateState
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DelegationActionResponse

public DelegationActionResponse(DelegateState delegateState,
                                String redirectUrl)

DelegationActionResponse

public DelegationActionResponse(DelegateState delegateState,
                                PortletUrl renderUrl)
Method Detail

getRedirectUrl

public String getRedirectUrl()
Returns:
The url specified in ActionResponse.sendRedirect(String), null if no redirect was sent

getRenderUrl

public PortletUrl getRenderUrl()
Returns:
The render PortletUrl resulting from the delegate action completing, null if a redirect was sent

equals

public boolean equals(Object object)
Overrides:
equals in class DelegationResponse
See Also:
Object.equals(Object)

hashCode

public int hashCode()
Overrides:
hashCode in class DelegationResponse
See Also:
Object.hashCode()

toString

public String toString()
Overrides:
toString in class DelegationResponse
See Also:
Object.toString()


Copyright © 2010 Jasig. All Rights Reserved.