|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.cmis.renditions.CMISRenditionImpl
public class CMISRenditionImpl
CMIS Rendition Implementation
| Constructor Summary | |
|---|---|
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 |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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()
| Method Detail |
|---|
public java.lang.String getStreamId()
CMISRendition
getStreamId in interface CMISRenditionCMISRendition.getStreamId()public void setStreamId(java.lang.String streamId)
streamId - rendition stream idpublic java.lang.String getMimeType()
CMISRendition
getMimeType in interface CMISRenditionCMISRendition.getMimeType()public void setMimeType(java.lang.String mimeType)
mimeType - the MIME type of the rendition streampublic java.lang.String getKind()
CMISRendition
getKind in interface CMISRenditionCMISRendition.getKind()public void setKind(java.lang.String kind)
kind - rendition kindpublic java.lang.Integer getHeight()
CMISRendition
getHeight in interface CMISRenditionCMISRendition.getHeight()public void setHeight(java.lang.Integer height)
height - the height of imagepublic java.lang.Integer getWidth()
CMISRendition
getWidth in interface CMISRenditionCMISRendition.getWidth()public void setWidth(java.lang.Integer width)
width - the width of imagepublic java.lang.String getTitle()
CMISRendition
getTitle in interface CMISRenditionCMISRendition.getTitle()public void setTitle(java.lang.String title)
title - the titlepublic java.lang.Integer getLength()
CMISRendition
getLength in interface CMISRenditionCMISRendition.getLength()public void setLength(java.lang.Integer length)
length - length of the rendition stream in bytespublic java.lang.String getRenditionDocumentId()
CMISRendition
getRenditionDocumentId in interface CMISRenditionCMISRendition.getRenditionDocumentId()public void setRenditionDocumentId(java.lang.String renditionDocumentId)
renditionDocumentId - the rendition document idpublic org.alfresco.service.cmr.repository.NodeRef getNodeRef()
CMISRendition
getNodeRef 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()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||