Class DefaultPluginActionResult

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

public class DefaultPluginActionResult extends Object implements IPluginActionResult
Result of an action.
Use :
  • Constructor Details

    • DefaultPluginActionResult

      public DefaultPluginActionResult()
  • Method Details

    • getRedirect

      public String getRedirect()
      Returns the redirect url, null otherwise.
      Specified by:
      getRedirect in interface IPluginActionResult
      Returns:
      the redirect url, null otherwise
    • setRedirect

      public void setRedirect(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 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(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