Class ProcessingResultFileData
- java.lang.Object
-
- de.xima.fc.bl.fdv.processing.result.AProcessingResult
-
- de.xima.fc.bl.fdv.processing.result.ProcessingResultFileData
-
- All Implemented Interfaces:
IPluginReturnValue,IPluginProcessingRetVal,IProcessingResult,IProcessingResultFileData
public class ProcessingResultFileData extends AProcessingResult implements IProcessingResultFileData
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description ProcessingResultFileData(String fileName, boolean forceDownload, byte[] fileContent)ProcessingResultFileData(String fileName, boolean forceDownload, byte[] fileContent, boolean success)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getFileContent()Getter for the binary content of the fileStringgetFileName()Getter of the file namebooleangetForceDownload()Getter if the file should returned as an forced downloadStringgetPlaceholderValue(int index, String key)intgetValuesCount()-
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
getErrorCode, getErrorMessage, getSessionAttributeMap, getSuccessValue
-
-
-
-
Method Detail
-
getFileContent
public byte[] getFileContent()
Description copied from interface:IProcessingResultFileDataGetter for the binary content of the file- Specified by:
getFileContentin interfaceIProcessingResultFileData- Returns:
Byte-Array of the file content
-
getForceDownload
public boolean getForceDownload()
Description copied from interface:IProcessingResultFileDataGetter if the file should returned as an forced download- Specified by:
getForceDownloadin interfaceIProcessingResultFileData- Returns:
Booleanif the download should be forced
-
getFileName
public String getFileName()
Description copied from interface:IProcessingResultFileDataGetter of the file name- Specified by:
getFileNamein interfaceIProcessingResultFileData- Returns:
Stringthe file name
-
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.
-
-