Package com.attivio.sdk.security
Interface SecurityFeeder
-
- All Known Subinterfaces:
DocumentOutputClient,DocumentPublisher,IngestClient
- All Known Implementing Classes:
ConcurrentScannerMessagePublisher,ContentFeeder,MockIngestClient,MockPublisher
public interface SecurityFeederContains common methods for feeding AttivioPrincipal's and AttivioAcl's.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeletePrincipal(AttivioPrincipalKey key)Deletes a principal from the index.voidfeed(IngestDocument doc, AttivioAcl acl)Sendsdocto the document receiver with the given ACL.voidfeed(AttivioPrincipal principal)Ingests an AttivioPrincipal.
-
-
-
Method Detail
-
feed
void feed(IngestDocument doc, AttivioAcl acl) throws AttivioException
Sendsdocto 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
-
-