Interface IContentStore

All Superinterfaces:
IContentSource

public interface IContentStore extends IContentSource
IContentStore - Interface for a single content object. Defines functions to operate with that content. IContentStore is heavily used with IContentService service
  • Method Details

    • setInputStream

      void setInputStream(InputStream input)
      Sets input stream for this content object to read data from
      Parameters:
      input - InputStream
    • setMimeType

      void setMimeType(String value)
      Sets mime type for the content
      Parameters:
      value - mime type for this content object. See MimeUtil for mime types transformations
    • getLength

      long getLength()
      Find the length of the object in bytes
      Returns:
      length
    • setLength

      void setLength(long length)
      Sets a length of the content object in bytes
      Parameters:
      length - to set
    • getThingId

      IThingID getThingId()
      Gets thing ID for this content object
      Returns:
      thing ID
    • setThingId

      void setThingId(IThingID value)
      Sets thing ID for this content object
      Parameters:
      value - thing ID
    • getInsoConvert

      boolean getInsoConvert()
      Gets flag indicating Inso conversion
      Returns:
      Inso conversion flag - 'true' or 'false'
    • setInsoConvert

      void setInsoConvert(boolean value)
      Sets flag indicating Inso conversion
      Parameters:
      value - inso conversion flag