public class CMISRenditionImpl extends Object implements CMISRendition
| Constructor and Description |
|---|
CMISRenditionImpl()
Default constructor
|
CMISRenditionImpl(org.alfresco.service.cmr.repository.NodeRef nodeRef,
String streamId,
String mimeType,
String kind,
Integer height,
Integer width,
String title,
Integer length,
String renditionDocumentId)
Construct a CmisRendition using fields
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Integer |
getHeight()
Get the height of image.
|
String |
getKind()
Get rendition kind.
|
Integer |
getLength()
Get the length of the rendition stream in bytes.
|
String |
getMimeType()
Get the MIME type of the rendition stream.
|
org.alfresco.service.cmr.repository.NodeRef |
getNodeRef()
Gets the thumbnail node reference
|
String |
getRenditionDocumentId()
Get the rendition document id.
|
String |
getStreamId()
Get the rendition stream id
|
String |
getTitle()
Get a human readable information about the rendition.
|
Integer |
getWidth()
Get the width of image.
|
int |
hashCode() |
void |
setHeight(Integer height)
Set the height of image
|
void |
setKind(String kind)
Set rendition kind
|
void |
setLength(Integer length)
Set the length of the rendition stream in bytes
|
void |
setMimeType(String mimeType)
Set the MIME type of the rendition stream
|
void |
setNodeRef(org.alfresco.service.cmr.repository.NodeRef nodeRef) |
void |
setRenditionDocumentId(String renditionDocumentId)
Set the rendition document id
|
void |
setStreamId(String streamId)
Set the rendition stream id
|
void |
setTitle(String title)
Set the title of rendition
|
void |
setWidth(Integer width)
Set the width of image
|
public CMISRenditionImpl(org.alfresco.service.cmr.repository.NodeRef nodeRef,
String streamId,
String mimeType,
String kind,
Integer height,
Integer width,
String title,
Integer length,
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 String getStreamId()
CMISRenditiongetStreamId in interface CMISRenditionCMISRendition.getStreamId()public void setStreamId(String streamId)
streamId - rendition stream idpublic String getMimeType()
CMISRenditiongetMimeType in interface CMISRenditionCMISRendition.getMimeType()public void setMimeType(String mimeType)
mimeType - the MIME type of the rendition streampublic String getKind()
CMISRenditiongetKind in interface CMISRenditionCMISRendition.getKind()public void setKind(String kind)
kind - rendition kindpublic Integer getHeight()
CMISRenditiongetHeight in interface CMISRenditionCMISRendition.getHeight()public void setHeight(Integer height)
height - the height of imagepublic Integer getWidth()
CMISRenditiongetWidth in interface CMISRenditionCMISRendition.getWidth()public void setWidth(Integer width)
width - the width of imagepublic String getTitle()
CMISRenditiongetTitle in interface CMISRenditionCMISRendition.getTitle()public void setTitle(String title)
title - the titlepublic Integer getLength()
CMISRenditiongetLength in interface CMISRenditionCMISRendition.getLength()public void setLength(Integer length)
length - length of the rendition stream in bytespublic String getRenditionDocumentId()
CMISRenditiongetRenditionDocumentId in interface CMISRenditionCMISRendition.getRenditionDocumentId()public void setRenditionDocumentId(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(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class ObjectObject.hashCode()Copyright © 2005–2014 Alfresco Software. All rights reserved.