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 StringgetErrorCode()StringgetErrorMessage()StringgetPlaceholderValue(int index, String key)intgetValuesCount()voidsetErrorCode(String errorCode)voidsetErrorMessage(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:IProcessingResultIn general, the result of an action is aListofMaps. This return the value at a given index and key.- Specified by:
getPlaceholderValuein 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:
getValuesCountin interfaceIProcessingResult- Returns:
- The number of values the workflow action returned.
-
getErrorCode
public String getErrorCode()
- Specified by:
getErrorCodein interfaceIProcessingResult- Returns:
- the errorCode
-
setErrorCode
public void setErrorCode(String errorCode)
- Parameters:
errorCode- the errorCode to set
-
getErrorMessage
public String getErrorMessage()
- Specified by:
getErrorMessagein interfaceIProcessingResult- Returns:
- the errorMessage
-
setErrorMessage
public void setErrorMessage(String errorMessage)
- Parameters:
errorMessage- the errorMessage to set
-
-