fr.paris.lutece.plugins.workflow.modules.rest.business.actionresult
Interface IActionResult

All Known Implementing Classes:
AbstractActionResult, FailedActionResult, SuccessfulActionResult

public interface IActionResult

IActionResult


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
 

Method Detail

setSuccessful

void setSuccessful(boolean bIsSuccessful)
Set true if the action has been executed, false otherwise

Parameters:
bIsSuccessful - true if the action has been executed, false otherwise

isSuccessful

boolean isSuccessful()
Check if the action has been executed

Returns:
true if the action has been executed, false otherwise

setMessage

void setMessage(java.lang.String strMessage)
Set the message

Parameters:
strMessage - the message

getMessage

java.lang.String getMessage()
Get the message

Returns:
the message

setIdAction

void setIdAction(int nIdAction)
Set the id action

Parameters:
nIdAction - the id action

getIdAction

int getIdAction()
Get the id action

Returns:
the id action

setIdResource

void setIdResource(int nIdResource)
Set the id resource

Parameters:
nIdResource - the id resource

getIdResource

int getIdResource()
Get the id resource

Returns:
the id resource

setResourceType

void setResourceType(java.lang.String strResourceType)
Set the resource type

Parameters:
strResourceType - the resource type

getResourceType

java.lang.String getResourceType()
Get the resource type

Returns:
the resource type


Copyright © 2011 Mairie de Paris. All Rights Reserved.