Class DocumentAndAcl
- java.lang.Object
-
- com.attivio.sdk.scanner.concurrency.DocumentAndAcl
-
public class DocumentAndAcl extends java.lang.Object
This class is used by theDocumentFetchRequest
implementation 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 AttivioAcl
getAcl()
IngestDocument
getDocument()
void
setAcl(AttivioAcl acl)
The method may not be called if ACL was not generatedvoid
setDocument(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)
-
-