public class CMISRenditionImpl extends java.lang.Object implements CMISRendition
| Constructor and Description |
|---|
CMISRenditionImpl()
Default constructor
|
CMISRenditionImpl(org.alfresco.service.cmr.repository.NodeRef nodeRef,
java.lang.String streamId,
java.lang.String mimeType,
java.lang.String kind,
java.lang.Integer height,
java.lang.Integer width,
java.lang.String title,
java.lang.Integer length,
java.lang.String renditionDocumentId)
Construct a CmisRendition using fields
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getHeight()
Get the height of image.
|
java.lang.String |
getKind()
Get rendition kind.
|
java.lang.Integer |
getLength()
Get the length of the rendition stream in bytes.
|
java.lang.String |
getMimeType()
Get the MIME type of the rendition stream.
|
org.alfresco.service.cmr.repository.NodeRef |
getNodeRef()
Gets the thumbnail node reference
|
java.lang.String |
getRenditionDocumentId()
Get the rendition document id.
|
java.lang.String |
getStreamId()
Get the rendition stream id
|
java.lang.String |
getTitle()
Get a human readable information about the rendition.
|
java.lang.Integer |
getWidth()
Get the width of image.
|
int |
hashCode() |
void |
setHeight(java.lang.Integer height)
Set the height of image
|
void |
setKind(java.lang.String kind)
Set rendition kind
|
void |
setLength(java.lang.Integer length)
Set the length of the rendition stream in bytes
|
void |
setMimeType(java.lang.String mimeType)
Set the MIME type of the rendition stream
|
void |
setNodeRef(org.alfresco.service.cmr.repository.NodeRef nodeRef) |
void |
setRenditionDocumentId(java.lang.String renditionDocumentId)
Set the rendition document id
|
void |
setStreamId(java.lang.String streamId)
Set the rendition stream id
|
void |
setTitle(java.lang.String title)
Set the title of rendition
|
void |
setWidth(java.lang.Integer width)
Set the width of image
|
public CMISRenditionImpl(org.alfresco.service.cmr.repository.NodeRef nodeRef,
java.lang.String streamId,
java.lang.String mimeType,
java.lang.String kind,
java.lang.Integer height,
java.lang.Integer width,
java.lang.String title,
java.lang.Integer length,
java.lang.String renditionDocumentId)
nodeRef - the rendition node referencestreamId - rendition stream idmimeType - the MIME type of the rendition streamkind - a categorization String associated with the renditionheight - the height of imagewidth - the width of imagetitle - rendition titlelength - the length of the rendition stream in bytesrenditionDocumentId - the rendition document idpublic CMISRenditionImpl()
public java.lang.String getStreamId()
CMISRenditiongetStreamId in interface CMISRenditionCMISRendition.getStreamId()public void setStreamId(java.lang.String streamId)
streamId - rendition stream idpublic java.lang.String getMimeType()
CMISRenditiongetMimeType in interface CMISRenditionCMISRendition.getMimeType()public void setMimeType(java.lang.String mimeType)
mimeType - the MIME type of the rendition streampublic java.lang.String getKind()
CMISRenditiongetKind in interface CMISRenditionCMISRendition.getKind()public void setKind(java.lang.String kind)
kind - rendition kindpublic java.lang.Integer getHeight()
CMISRenditiongetHeight in interface CMISRenditionCMISRendition.getHeight()public void setHeight(java.lang.Integer height)
height - the height of imagepublic java.lang.Integer getWidth()
CMISRenditiongetWidth in interface CMISRenditionCMISRendition.getWidth()public void setWidth(java.lang.Integer width)
width - the width of imagepublic java.lang.String getTitle()
CMISRenditiongetTitle in interface CMISRenditionCMISRendition.getTitle()public void setTitle(java.lang.String title)
title - the titlepublic java.lang.Integer getLength()
CMISRenditiongetLength in interface CMISRenditionCMISRendition.getLength()public void setLength(java.lang.Integer length)
length - length of the rendition stream in bytespublic java.lang.String getRenditionDocumentId()
CMISRenditiongetRenditionDocumentId in interface CMISRenditionCMISRendition.getRenditionDocumentId()public void setRenditionDocumentId(java.lang.String renditionDocumentId)
renditionDocumentId - the rendition document idpublic org.alfresco.service.cmr.repository.NodeRef getNodeRef()
CMISRenditiongetNodeRef in interface CMISRenditionpublic void setNodeRef(org.alfresco.service.cmr.repository.NodeRef nodeRef)
nodeRef - the nodeRef to setpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.