Interface ActorsStore
- All Superinterfaces:
DeliverableStore
The store from an actors perspective.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addFollower
(org.apache.commons.rdf.api.IRI follower) org.apache.commons.rdf.api.IRI
addToInbox
(Activity activity, String logMsg) org.apache.commons.rdf.api.IRI
addToOutbox
(Activity activity, String logMsg) org.apache.commons.rdf.api.IRI
addToOutbox
(Actor owner, Activity activity, String logMsg) org.apache.commons.rdf.api.Graph
dump()
find
(org.apache.commons.rdf.api.IRI subject) find
(org.apache.commons.rdf.api.IRI subject, int deep) find
(org.apache.commons.rdf.api.IRI subject, org.apache.commons.rdf.api.IRI predicate, org.apache.commons.rdf.api.RDFTerm object) find
(org.apache.commons.rdf.api.IRI predicate, org.apache.commons.rdf.api.RDFTerm object) Find all objects with the passed subjects in the actors store and resolve dependencies up to the passed depth.Find all objects with the passed subjects in the actors store and resolve dependencies up to the passed depth.getCollection
(CollectionInfo ci, Integer startIndex, Integer pageSize) List
<org.apache.commons.rdf.api.IRI> Set
<org.apache.commons.rdf.api.BlankNodeOrIRI> List
<org.apache.commons.rdf.api.IRI> Methods inherited from interface org.linkedopenactors.rdfpub.domain.commonsrdf.DeliverableStore
deliver
-
Method Details
-
addToOutbox
-
addToOutbox
-
addToInbox
-
addFollower
void addFollower(org.apache.commons.rdf.api.IRI follower) -
getCollection
-
getInbox
-
getOutbox
-
getOutbox
List<org.apache.commons.rdf.api.IRI> getOutbox() -
getFollowers
List<org.apache.commons.rdf.api.IRI> getFollowers() -
find
-
find
-
find
Optional<ActivityPubObject> find(org.apache.commons.rdf.api.IRI subject, org.apache.commons.rdf.api.IRI predicate, org.apache.commons.rdf.api.RDFTerm object) -
find
Set<ActivityPubObject> find(org.apache.commons.rdf.api.IRI predicate, org.apache.commons.rdf.api.RDFTerm object) -
findAll
Find all objects with the passed subjects in the actors store and resolve dependencies up to the passed depth.- Parameters:
subject
- Subjects to search for.- Returns:
- Found
ActivityPubObject
s
-
findAll
Find all objects with the passed subjects in the actors store and resolve dependencies up to the passed depth.- Parameters:
subject
- Subjects to search for.deep
- up to which hierarchy level should object references be resolved ?- Returns:
- Found
ActivityPubObject
s
-
dump
org.apache.commons.rdf.api.Graph dump() -
getGraphNames
Set<org.apache.commons.rdf.api.BlankNodeOrIRI> getGraphNames()
-