Package com.attivio.sdk.security
Interface SecurityFeeder
-
- All Known Subinterfaces:
DocumentOutputClient
,DocumentPublisher
,IngestClient
- All Known Implementing Classes:
ConcurrentScannerMessagePublisher
,ContentFeeder
,MockIngestClient
,MockPublisher
public interface SecurityFeeder
Contains common methods for feeding AttivioPrincipal's and AttivioAcl's.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
deletePrincipal(AttivioPrincipalKey key)
Deletes a principal from the index.void
feed(IngestDocument doc, AttivioAcl acl)
Sendsdoc
to the document receiver with the given ACL.void
feed(AttivioPrincipal principal)
Ingests an AttivioPrincipal.
-
-
-
Method Detail
-
feed
void feed(IngestDocument doc, AttivioAcl acl) throws AttivioException
Sendsdoc
to the document receiver with the given ACL.- Parameters:
doc
- the documentacl
- the ACL- Throws:
AttivioException
-
feed
void feed(AttivioPrincipal principal) throws AttivioException
Ingests an AttivioPrincipal. Any existing data for the principal and its associations will be deleted.- Parameters:
principal
- the principal- Throws:
AttivioException
-
deletePrincipal
void deletePrincipal(AttivioPrincipalKey key) throws AttivioException
Deletes a principal from the index.- Parameters:
key
- unique ID of the principal- Throws:
AttivioException
-
-