com.flexive.shared.stream
Class BinaryDownloadPayload

java.lang.Object
  extended by com.flexive.shared.stream.BinaryDownloadPayload
All Implemented Interfaces:
java.io.Serializable

public class BinaryDownloadPayload
extends java.lang.Object
implements java.io.Serializable

Payload for binary downloads

Author:
Markus Plesser (markus.plesser@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)
See Also:
Serialized Form

Constructor Summary
BinaryDownloadPayload(boolean serverError, java.lang.String errorMessage)
           
BinaryDownloadPayload(long id, int version, int quality)
           
BinaryDownloadPayload(long id, int version, int quality, int size, boolean forceImage)
           
BinaryDownloadPayload(java.lang.String mimeType, int datasize)
           
 
Method Summary
 int getDatasize()
           
 int getDivision()
           
 java.lang.String getErrorMessage()
           
 long getId()
           
 java.lang.String getMimeType()
           
 int getQuality()
           
 int getSize()
           
 int getVersion()
           
 boolean isForceImage()
           
 boolean isServerError()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinaryDownloadPayload

public BinaryDownloadPayload(long id,
                             int version,
                             int quality,
                             int size,
                             boolean forceImage)

BinaryDownloadPayload

public BinaryDownloadPayload(long id,
                             int version,
                             int quality)

BinaryDownloadPayload

public BinaryDownloadPayload(boolean serverError,
                             java.lang.String errorMessage)

BinaryDownloadPayload

public BinaryDownloadPayload(java.lang.String mimeType,
                             int datasize)
Method Detail

getId

public long getId()

getVersion

public int getVersion()

getQuality

public int getQuality()

getSize

public int getSize()

getDivision

public int getDivision()

isServerError

public boolean isServerError()

getErrorMessage

public java.lang.String getErrorMessage()

getMimeType

public java.lang.String getMimeType()

getDatasize

public int getDatasize()

isForceImage

public boolean isForceImage()