public interface IPluginActionResult
setRedirect(String)
: if the action need a redirect
setHtmlContent(String)
: if the action needs to display html content
setNoop(boolean)
: if no post-action is required (mainly for exports writing directly to the response).
Modifier and Type | Method and Description |
---|---|
String |
getHtmlContent()
Returns the html content if any,
null otherwise |
String |
getRedirect()
Returns the redirect url,
null otherwise. |
boolean |
isNoop()
Returns
true if no operation needed, false otherwise. |
void |
setHtmlContent(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(String strRedirect)
Sets the redirect url,
null otherwise. |
String getRedirect()
null
otherwise.null
otherwisevoid setRedirect(String strRedirect)
null
otherwise.strRedirect
- the redirect url, null
otherwise.boolean isNoop()
true
if no operation needed, false
otherwise.true
if no operation needed, false
otherwise.void setNoop(boolean bNoop)
true
if no operation needed, false
otherwise.bNoop
- true
if no operation needed, false
otherwise.String getHtmlContent()
null
otherwisenull
otherwisevoid setHtmlContent(String strHtmlContent)
null
otherwisestrHtmlContent
- the html content if any, null
otherwiseCopyright © 2020 City of Paris. All rights reserved.