|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface I_CmsCmisRenditionProvider
Rendition provider interface used to generate alternative renditions for resources.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
byte[] getContent(CmsObject cms,
CmsResource resource)
cms - the CMS contextresource - the resource
java.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
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||