public class RenditionDataImpl extends AbstractExtensionData implements RenditionData
| Constructor and Description |
|---|
RenditionDataImpl() |
RenditionDataImpl(String streamId,
String mimeType,
BigInteger length,
String kind,
String title,
BigInteger width,
BigInteger height,
String renditionDocumentId) |
| Modifier and Type | Method and Description |
|---|---|
BigInteger |
getBigHeight()
Returns the height in pixels, if the rendition is an image.
|
BigInteger |
getBigLength()
Returns the size of the rendition in bytes, if available.
|
BigInteger |
getBigWidth()
Returns the width in pixels, if the rendition is an image.
|
String |
getKind()
Returns the kind of the rendition.
|
String |
getMimeType()
Returns the MIME type of the rendition.
|
String |
getRenditionDocumentId()
Returns the object id of the rendition document if the rendition is a
stand-alone document.
|
String |
getStreamId()
Returns the stream ID of the rendition.
|
String |
getTitle()
Returns the title of the rendition.
|
void |
setBigHeight(BigInteger height) |
void |
setBigLength(BigInteger length) |
void |
setBigWidth(BigInteger width) |
void |
setKind(String kind) |
void |
setMimeType(String mimeType) |
void |
setRenditionDocumentId(String renditionDocumentId) |
void |
setStreamId(String streamId) |
void |
setTitle(String title) |
String |
toString() |
getExtensions, setExtensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetExtensions, setExtensionspublic RenditionDataImpl()
public RenditionDataImpl(String streamId, String mimeType, BigInteger length, String kind, String title, BigInteger width, BigInteger height, String renditionDocumentId)
public String getStreamId()
RenditionDataThe stream ID is required to fetch the content of the rendition.
getStreamId in interface RenditionDatanullpublic void setStreamId(String streamId)
public String getMimeType()
RenditionDatagetMimeType in interface RenditionDatanullpublic void setMimeType(String mimeType)
public BigInteger getBigLength()
RenditionDatagetBigLength in interface RenditionDatanullpublic void setBigLength(BigInteger length)
public String getKind()
RenditionData
The CMIS specification only defines the kind cmis:thumbnail, but
a repository can provide other kinds.
getKind in interface RenditionDatanullpublic void setKind(String kind)
public String getTitle()
RenditionDatagetTitle in interface RenditionDatapublic void setTitle(String title)
public BigInteger getBigHeight()
RenditionDatagetBigHeight in interface RenditionDatapublic void setBigHeight(BigInteger height)
public BigInteger getBigWidth()
RenditionDatagetBigWidth in interface RenditionDatapublic void setBigWidth(BigInteger width)
public String getRenditionDocumentId()
RenditionDatagetRenditionDocumentId in interface RenditionDatanullpublic void setRenditionDocumentId(String renditionDocumentId)
public String toString()
toString in class AbstractExtensionDataCopyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.