Class CacheContentVersionChunk

All Implemented Interfaces:
AmetysObject, DataHolder, ModifiableDataHolder, JCRAmetysObject, MetadataAwareAmetysObject, ModifiableMetadataAwareAmetysObject, ModifiableAmetysObject, RemovableAmetysObject

A chunk of a cached content version
  • Constructor Details

  • Method Details

    • getContentId

      public String getContentId() throws javax.jcr.ValueFormatException, javax.jcr.PathNotFoundException, AmetysRepositoryException, javax.jcr.RepositoryException
      Get the content id of the content this chunk belongs to.
      Returns:
      the content id
      Throws:
      javax.jcr.RepositoryException - If an error occurs while accessing the repository
      AmetysRepositoryException - If an error occurs while accessing the Ametys repository
      javax.jcr.PathNotFoundException - If the specified path is not found
      javax.jcr.ValueFormatException - If the value is not in the expected format