|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.portal.web.pluginaction.DefaultPluginActionResult
public class DefaultPluginActionResult
Result of an action.
Use :
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).
| Constructor Summary | |
|---|---|
DefaultPluginActionResult()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultPluginActionResult()
| Method Detail |
|---|
public String getRedirect()
null otherwise.
getRedirect in interface IPluginActionResultnull otherwisepublic void setRedirect(String strRedirect)
null otherwise.
setRedirect in interface IPluginActionResultstrRedirect - the redirect url, null otherwise.public boolean isNoop()
true if no operation needed, false otherwise.
isNoop in interface IPluginActionResulttrue if no operation needed, false otherwise.public void setNoop(boolean bNoop)
true if no operation needed, false otherwise.
setNoop in interface IPluginActionResultbNoop - true if no operation needed, false otherwise.public String getHtmlContent()
null otherwise
getHtmlContent in interface IPluginActionResultnull otherwisepublic void setHtmlContent(String strHtmlContent)
null otherwise
setHtmlContent in interface IPluginActionResultstrHtmlContent - the html content if any, null otherwise
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||