Interface DocumentContentDAO


  • public interface DocumentContentDAO
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.slf4j.Logger LOGGER  
    • Method Summary

      All Methods Instance Methods Default Methods Deprecated Methods 
      Modifier and Type Method Description
      default void deindexFileContent​(com.flower.docs.domain.common.Id documentFileId)
      Deprecated.
      default void deindexFileContent​(com.flower.docs.domain.common.Id documentId, com.flower.docs.domain.common.Id fileId)  
      default java.lang.String getContent​(com.flower.docs.domain.common.Id documentId, com.flower.docs.domain.common.Id fileId)  
      default com.flower.docs.domain.common.Id indexFileContent​(com.flower.docs.domain.common.Id documentId, com.flower.docs.domain.common.Id documentFileId, java.lang.String content)  
    • Field Detail

      • LOGGER

        static final org.slf4j.Logger LOGGER
    • Method Detail

      • indexFileContent

        default com.flower.docs.domain.common.Id indexFileContent​(com.flower.docs.domain.common.Id documentId,
                                                                  com.flower.docs.domain.common.Id documentFileId,
                                                                  java.lang.String content)
                                                           throws com.flower.docs.domain.exception.TechnicalException
        Throws:
        com.flower.docs.domain.exception.TechnicalException
      • deindexFileContent

        @Deprecated
        default void deindexFileContent​(com.flower.docs.domain.common.Id documentFileId)
                                 throws com.flower.docs.domain.exception.TechnicalException
        Deprecated.
        Throws:
        com.flower.docs.domain.exception.TechnicalException
      • deindexFileContent

        default void deindexFileContent​(com.flower.docs.domain.common.Id documentId,
                                        com.flower.docs.domain.common.Id fileId)
                                 throws com.flower.docs.domain.exception.TechnicalException
        Throws:
        com.flower.docs.domain.exception.TechnicalException
      • getContent

        default java.lang.String getContent​(com.flower.docs.domain.common.Id documentId,
                                            com.flower.docs.domain.common.Id fileId)
                                     throws com.flower.docs.domain.exception.TechnicalException
        Throws:
        com.flower.docs.domain.exception.TechnicalException