Class DocumentAndAcl
- java.lang.Object
-
- com.attivio.sdk.scanner.concurrency.DocumentAndAcl
-
public class DocumentAndAcl extends java.lang.ObjectThis class is used by theDocumentFetchRequestimplementation to return the generated document and optionally an ACL
-
-
Constructor Summary
Constructors Constructor Description DocumentAndAcl(IngestDocument document, AttivioAcl acl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttivioAclgetAcl()IngestDocumentgetDocument()voidsetAcl(AttivioAcl acl)The method may not be called if ACL was not generatedvoidsetDocument(IngestDocument document)
-
-
-
Constructor Detail
-
DocumentAndAcl
public DocumentAndAcl(IngestDocument document, AttivioAcl acl)
- Parameters:
document- the generated documentacl- 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)
-
-