Interface BinaryContentEntity

All Superinterfaces:
BaseEntity, Serializable
All Known Implementing Classes:
BinaryContent

public interface BinaryContentEntity extends Serializable, BaseEntity
This represent binary content stored in the content delivery data store.
  • Method Details

    • getNamespaceId

      int getNamespaceId()
      Gets the namespace Id.
      Returns:
      the namespace as int.
    • setNamespaceId

      void setNamespaceId(int namespaceId)
      Sets the namespaceId.
      Parameters:
      namespaceId - the namespaceId.
    • getPublicationId

      int getPublicationId()
      Gets the publication Id.
      Returns:
      the publication Id.
    • setPublicationId

      void setPublicationId(int publicationId)
      Sets the publication Id.
      Parameters:
      publicationId - the publication Id.
    • getBinaryId

      int getBinaryId()
      Gets the binary Id.
      Returns:
      the binary Id.
    • setBinaryId

      void setBinaryId(int binaryId)
      Sets the binary Id.
      Parameters:
      binaryId - the binary Id.
    • getVariantId

      String getVariantId()
      Gets the binary variant Id as String.
      Returns:
      the variant Id.
    • setVariantId

      void setVariantId(String variantId)
      Sets the variant ID.
      Parameters:
      variantId - the variant Id.
    • getContent

      byte[] getContent()
      Get the binary content as byte array.
      Returns:
      the binary content.
    • setContent

      void setContent(byte[] content)
      Set binary content.
      Parameters:
      content - the binary content.