public interface I_CmsCmisRenditionProvider
限定符和类型 | 方法和说明 |
---|---|
byte[] |
getContent(CmsObject cms,
CmsResource resource)
Gets the rendition content stream for the resource.
|
java.lang.String |
getId()
Gets the rendition stream id.
|
java.lang.String |
getKind()
Gets the rendition kind.
|
java.lang.String |
getMimeType()
Gets the rendition mimetype.
|
org.apache.chemistry.opencmis.commons.data.RenditionData |
getRendition(CmsObject cms,
CmsResource resource)
Gets the rendition data for a resource.
|
byte[] getContent(CmsObject cms, CmsResource resource)
cms
- the CMS contextresource
- the resourcejava.lang.String getId()
java.lang.String getKind()
java.lang.String getMimeType()
org.apache.chemistry.opencmis.commons.data.RenditionData getRendition(CmsObject cms, CmsResource resource)
This method may return null to signal that a rendition can not be generated for the resource.
cms
- the current CMS contextresource
- the resource