Class DocumentAndAcl


  • public class DocumentAndAcl
    extends java.lang.Object
    This class is used by the DocumentFetchRequest implementation to return the generated document and optionally an ACL
    • Constructor Detail

      • DocumentAndAcl

        public DocumentAndAcl​(IngestDocument document,
                              AttivioAcl acl)
        Parameters:
        document - the generated document
        acl - the generated acl (null can be passed if ACL was not generated).
    • Method Detail

      • getDocument

        public IngestDocument getDocument()
        Returns:
        the generated document
      • setDocument

        public void setDocument​(IngestDocument document)
        Parameters:
        document - the generated document
      • getAcl

        public AttivioAcl getAcl()
        Returns:
        the generated ACL (null if an ACL was not generated)
      • setAcl

        public void setAcl​(AttivioAcl acl)
        The method may not be called if ACL was not generated
        Parameters:
        acl - the generated ACL (null can be passed if ACL was not generated)