public class AbstractActionResult extends Object implements IActionResult
| Constructor and Description |
|---|
AbstractActionResult(int nIdAction,
int nIdResource,
String strResourceType)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
getIdAction()
Get the id action
|
int |
getIdResource()
Get the id resource
|
String |
getMessage()
Get the message
|
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(String strMessage)
Set the message
|
void |
setResourceType(String strResourceType)
Set the resource type
|
void |
setSuccessful(boolean bIsSuccessful)
Set true if the action has been executed, false otherwise
|
public AbstractActionResult(int nIdAction,
int nIdResource,
String strResourceType)
nIdAction - the id actionnIdResource - the id resourcestrResourceType - the resource typepublic 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(String strMessage)
setMessage in interface IActionResultstrMessage - the messagepublic 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(String strResourceType)
setResourceType in interface IActionResultstrResourceType - the resource typepublic String getResourceType()
getResourceType in interface IActionResultCopyright © 2015 City of Paris. All rights reserved.