|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.directory.web.action.DirectoryActionResult
public class DirectoryActionResult
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 | |
|---|---|
DirectoryActionResult()
|
|
| 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 |
|---|
public DirectoryActionResult()
| Method Detail |
|---|
public java.lang.String getRedirect()
null otherwise.
null otherwisepublic void setRedirect(java.lang.String strRedirect)
null otherwise.
strRedirect - the redirect url, null otherwise.public boolean isNoop()
true if no operation needed, false otherwise.
true if no operation needed, false otherwise.public void setNoop(boolean bNoop)
true if no operation needed, false otherwise.
bNoop - true if no operation needed, false otherwise.public java.lang.String getHtmlContent()
null otherwise
null otherwisepublic void setHtmlContent(java.lang.String strHtmlContent)
null otherwise
strHtmlContent - the html content if any, null otherwise
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||