Object DocumentCompressorService

  • All Implemented Interfaces:

    
    public class DocumentCompressorService
    
                        

    Service that manage the document compressor functionality

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • getDocumentCompressorConfiguration

         final BotDocumentCompressorConfiguration getDocumentCompressorConfiguration(String namespace, String botId)

        Get the Document Compressor Configuration

        Parameters:
        namespace - : the namespace
        botId - : the bot ID
      • getDocumentCompressorConfiguration

         final BotDocumentCompressorConfiguration getDocumentCompressorConfiguration(String namespace, String botId, Boolean enabled)

        Get the Document Compressor Configuration

        Parameters:
        namespace - : the namespace
        botId - : the botId
        enabled - : the document compressor activation (enabled or not)
      • deleteConfig

         final Unit deleteConfig(String namespace, String botId)

        Deleting the Document Compressor Configuration

        Parameters:
        namespace - : the namespace
        botId - : the bot ID
      • saveDocumentCompressor

         final BotDocumentCompressorConfiguration saveDocumentCompressor(BotDocumentCompressorConfigurationDTO documentCompressorConfig)

        Save Document Compressor Configuration and filter errors

        Parameters:
        documentCompressorConfig - : the document compressor configuration to create or update
        Returns:

        BotDocumentCompressorConfiguration