|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.workflow.modules.rest.business.actionresult.AbstractActionResult
public class AbstractActionResult
AbstractActionResult
| Constructor Summary | |
|---|---|
AbstractActionResult(int nIdAction,
int nIdResource,
java.lang.String strResourceType)
Constructor |
|
| Method Summary | |
|---|---|
int |
getIdAction()
Get the id action |
int |
getIdResource()
Get the id resource |
java.lang.String |
getMessage()
Get the message |
java.lang.String |
getResourceType()
Get the resource type |
boolean |
isSuccessful()
Check if the action has been executed |
void |
setIdAction(int nIdAction)
Set the id action |
void |
setIdResource(int nIdResource)
Set the id resource |
void |
setMessage(java.lang.String strMessage)
Set the message |
void |
setResourceType(java.lang.String strResourceType)
Set the resource type |
void |
setSuccessful(boolean bIsSuccessful)
Set true if the action has been executed, false otherwise |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractActionResult(int nIdAction,
int nIdResource,
java.lang.String strResourceType)
nIdAction - the id actionnIdResource - the id resourcestrResourceType - the resource type| Method Detail |
|---|
public void setSuccessful(boolean bIsSuccessful)
setSuccessful in interface IActionResultbIsSuccessful - true if the action has been executed, false otherwisepublic boolean isSuccessful()
isSuccessful in interface IActionResultpublic void setMessage(java.lang.String strMessage)
setMessage in interface IActionResultstrMessage - the messagepublic java.lang.String getMessage()
getMessage in interface IActionResultpublic void setIdAction(int nIdAction)
setIdAction in interface IActionResultnIdAction - the id actionpublic int getIdAction()
getIdAction in interface IActionResultpublic void setIdResource(int nIdResource)
setIdResource in interface IActionResultnIdResource - the id resourcepublic int getIdResource()
getIdResource in interface IActionResultpublic void setResourceType(java.lang.String strResourceType)
setResourceType in interface IActionResultstrResourceType - the resource typepublic java.lang.String getResourceType()
getResourceType in interface IActionResult
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||