Class ProcessingResultSuccess
- java.lang.Object
-
- de.xima.fc.bl.fdv.processing.result.AProcessingResult
-
- de.xima.fc.bl.fdv.processing.result.ProcessingResultSuccess
-
- All Implemented Interfaces:
IPluginReturnValue
,IPluginProcessingRetVal
,IProcessingResult
,IProcessingResultSuccess
public class ProcessingResultSuccess extends AProcessingResult implements IProcessingResultSuccess
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description ProcessingResultSuccess(boolean success)
ProcessingResultSuccess(String errorCode, String errorMessage)
ProcessingResultSuccess(String errorCode, Throwable error)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getErrorCode()
String
getErrorMessage()
String
getPlaceholderValue(int index, String key)
int
getValuesCount()
void
setErrorCode(String errorCode)
void
setErrorMessage(String errorMessage)
-
Methods inherited from class de.xima.fc.bl.fdv.processing.result.AProcessingResult
getSessionAttributeMap, getSuccessValue, setSessionAttributeMap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.xima.fc.interfaces.processing.IProcessingResult
getSessionAttributeMap, getSuccessValue
-
-
-
-
Method Detail
-
getPlaceholderValue
public String getPlaceholderValue(int index, String key)
Description copied from interface:IProcessingResult
In general, the result of an action is aList
ofMap
s. This return the value at a given index and key.- Specified by:
getPlaceholderValue
in interfaceIProcessingResult
- Parameters:
index
- Index at which to retrieve the processing result value.key
- Key at which to retrieve the processing result value.- Returns:
- The processing result value at the given index and key.
-
getValuesCount
public int getValuesCount()
- Specified by:
getValuesCount
in interfaceIProcessingResult
- Returns:
- The number of values the workflow action returned.
-
getErrorCode
public String getErrorCode()
- Specified by:
getErrorCode
in interfaceIProcessingResult
- Returns:
- the errorCode
-
setErrorCode
public void setErrorCode(String errorCode)
- Parameters:
errorCode
- the errorCode to set
-
getErrorMessage
public String getErrorMessage()
- Specified by:
getErrorMessage
in interfaceIProcessingResult
- Returns:
- the errorMessage
-
setErrorMessage
public void setErrorMessage(String errorMessage)
- Parameters:
errorMessage
- the errorMessage to set
-
-