Interface ContentStoreAccess

  • All Known Implementing Classes:
    ConcurrentDocumentFetcherImpl

    public interface ContentStoreAccess
    The connector framework passes an implementation of this to the DocumentFetchRequest so it can store the content in Attivio's content store and set the document with a content pointer.
    • Method Detail

      • put

        void put​(IngestDocument doc,
                 java.lang.String fieldName,
                 java.lang.String id,
                 java.io.InputStream is)
          throws AttivioException
        Store the content stream in the content store and put a ContentPointer in the indicated document field.
        Parameters:
        doc - the Attivio document where the ContentPointer should be placed.
        fieldName - to put the ContentPointer in.
        id - An id to identify the content in the content store. Could be any id that will guarantee uniqueness e.g. UUID.randomUUID().
        is - the stream of content.
        Throws:
        AttivioException