Interface IPluginActionResult
-
- All Known Implementing Classes:
DefaultPluginActionResult
public interface IPluginActionResultResult of an action.
Use :setRedirect(String): if the action need a redirectsetHtmlContent(String): if the action needs to display html contentsetNoop(boolean): if no post-action is required (mainly for exports writing directly to the response).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetHtmlContent()Returns the html content if any,nullotherwiseStringgetRedirect()Returns the redirect url,nullotherwise.booleanisNoop()Returnstrueif no operation needed,falseotherwise.voidsetHtmlContent(String strHtmlContent)Sets the html content if any,nullotherwisevoidsetNoop(boolean bNoop)Set totrueif no operation needed,falseotherwise.voidsetRedirect(String strRedirect)Sets the redirect url,nullotherwise.
-
-
-
Method Detail
-
getRedirect
String getRedirect()
Returns the redirect url,nullotherwise.- Returns:
- the redirect url,
nullotherwise
-
setRedirect
void setRedirect(String strRedirect)
Sets the redirect url,nullotherwise.- Parameters:
strRedirect- the redirect url,nullotherwise.
-
isNoop
boolean isNoop()
Returnstrueif no operation needed,falseotherwise.- Returns:
trueif no operation needed,falseotherwise.
-
setNoop
void setNoop(boolean bNoop)
Set totrueif no operation needed,falseotherwise.- Parameters:
bNoop-trueif no operation needed,falseotherwise.
-
getHtmlContent
String getHtmlContent()
Returns the html content if any,nullotherwise- Returns:
- the html content if any,
nullotherwise
-
setHtmlContent
void setHtmlContent(String strHtmlContent)
Sets the html content if any,nullotherwise- Parameters:
strHtmlContent- the html content if any,nullotherwise
-
-