Interface ObfuscationService


  • public interface ObfuscationService
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List<com.arondor.viewer.annotation.api.Annotation> create​(com.flower.docs.domain.common.Id document, ObfuscationOptions options)
      Creates obfuscation annotation for a document
      java.util.List<com.arondor.viewer.annotation.api.Annotation> get​(com.flower.docs.domain.common.Id document)
      Gets all annotations which obfuscates document data for current user
      java.util.List<com.arondor.viewer.annotation.api.Annotation> getAll​(com.flower.docs.domain.common.Id document)
      Gets all annotations regardless of current user permissions
    • Method Detail

      • create

        java.util.List<com.arondor.viewer.annotation.api.Annotation> create​(com.flower.docs.domain.common.Id document,
                                                                            ObfuscationOptions options)
                                                                     throws com.flower.docs.domain.exception.FunctionalException,
                                                                            com.flower.docs.domain.exception.TechnicalException
        Creates obfuscation annotation for a document
        Throws:
        com.flower.docs.domain.exception.TechnicalException
        com.flower.docs.domain.exception.FunctionalException
        See Also:
        AnnotationService.create(Id, List)
      • get

        java.util.List<com.arondor.viewer.annotation.api.Annotation> get​(com.flower.docs.domain.common.Id document)
                                                                  throws com.flower.docs.domain.exception.FunctionalException,
                                                                         com.flower.docs.domain.exception.TechnicalException
        Gets all annotations which obfuscates document data for current user
        Throws:
        com.flower.docs.domain.exception.TechnicalException
        com.flower.docs.domain.exception.FunctionalException
      • getAll

        java.util.List<com.arondor.viewer.annotation.api.Annotation> getAll​(com.flower.docs.domain.common.Id document)
                                                                     throws com.flower.docs.domain.exception.FunctionalException,
                                                                            com.flower.docs.domain.exception.TechnicalException
        Gets all annotations regardless of current user permissions
        Throws:
        com.flower.docs.domain.exception.TechnicalException
        com.flower.docs.domain.exception.FunctionalException