fr.paris.lutece.portal.web.pluginaction
Class DefaultPluginActionResult

java.lang.Object
  extended by fr.paris.lutece.portal.web.pluginaction.DefaultPluginActionResult
All Implemented Interfaces:
IPluginActionResult

public class DefaultPluginActionResult
extends java.lang.Object
implements IPluginActionResult

Result of an action.
Use :


Constructor Summary
DefaultPluginActionResult()
           
 
Method Summary
 java.lang.String getHtmlContent()
          Returns the html content if any, null otherwise
 java.lang.String getRedirect()
          Returns the redirect url, null otherwise.
 boolean isNoop()
          Returns true if no operation needed, false otherwise.
 void setHtmlContent(java.lang.String strHtmlContent)
          Sets the html content if any, null otherwise
 void setNoop(boolean bNoop)
          Set to true if no operation needed, false otherwise.
 void setRedirect(java.lang.String strRedirect)
          Sets the redirect url, null otherwise.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPluginActionResult

public DefaultPluginActionResult()
Method Detail

getRedirect

public java.lang.String getRedirect()
Returns the redirect url, null otherwise.

Specified by:
getRedirect in interface IPluginActionResult
Returns:
the redirect url, null otherwise

setRedirect

public void setRedirect(java.lang.String strRedirect)
Sets the redirect url, null otherwise.

Specified by:
setRedirect in interface IPluginActionResult
Parameters:
strRedirect - the redirect url, null otherwise.

isNoop

public boolean isNoop()
Returns true if no operation needed, false otherwise.

Specified by:
isNoop in interface IPluginActionResult
Returns:
true if no operation needed, false otherwise.

setNoop

public void setNoop(boolean bNoop)
Set to true if no operation needed, false otherwise.

Specified by:
setNoop in interface IPluginActionResult
Parameters:
bNoop - true if no operation needed, false otherwise.

getHtmlContent

public java.lang.String getHtmlContent()
Returns the html content if any, null otherwise

Specified by:
getHtmlContent in interface IPluginActionResult
Returns:
the html content if any, null otherwise

setHtmlContent

public void setHtmlContent(java.lang.String strHtmlContent)
Sets the html content if any, null otherwise

Specified by:
setHtmlContent in interface IPluginActionResult
Parameters:
strHtmlContent - the html content if any, null otherwise


Copyright © 2011 Mairie de Paris. All Rights Reserved.