Interface I_CmsCmisRenditionProvider

    • Method Detail

      • getContent

        byte[] getContent​(CmsObject cms,
                          CmsResource resource)
        Gets the rendition content stream for the resource.

        Parameters:
        cms - the CMS context
        resource - the resource
        Returns:
        the content stream for the rendition of the resource
      • getId

        java.lang.String getId()
        Gets the rendition stream id.

        Returns:
        the rendition stream id
      • getKind

        java.lang.String getKind()
        Gets the rendition kind.

        Returns:
        the rendition kind
      • getMimeType

        java.lang.String getMimeType()
        Gets the rendition mimetype.

        Returns:
        the rendition mimetype
      • getRendition

        org.apache.chemistry.opencmis.commons.data.RenditionData getRendition​(CmsObject cms,
                                                                              CmsResource resource)
        Gets the rendition data for a resource.

        This method may return null to signal that a rendition can not be generated for the resource.

        Parameters:
        cms - the current CMS context
        resource - the resource
        Returns:
        the rendition data for the resource