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
addToInbox
(Actor activityOwner, 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.Set
<org.apache.commons.rdf.api.IRI> findCollection
(org.apache.commons.rdf.api.IRI member) List
<org.apache.commons.rdf.api.IRI> List
<org.apache.commons.rdf.api.IRI> Set
<org.apache.commons.rdf.api.BlankNodeOrIRI> List
<org.apache.commons.rdf.api.IRI> getInbox()
List
<org.apache.commons.rdf.api.IRI> getLiked()
List
<org.apache.commons.rdf.api.IRI> Methods inherited from interface org.linkedopenactors.rdfpub.domain.commonsrdf.DeliverableStore
deliver
-
Method Details
-
addToOutbox
-
addToOutbox
-
addToInbox
-
addToInbox
-
addFollower
void addFollower(org.apache.commons.rdf.api.IRI follower) -
getInbox
List<org.apache.commons.rdf.api.IRI> getInbox() -
getInbox
-
getOutbox
List<org.apache.commons.rdf.api.IRI> getOutbox() -
getOutbox
-
getFollowing
List<org.apache.commons.rdf.api.IRI> getFollowing() -
getFollowers
List<org.apache.commons.rdf.api.IRI> getFollowers() -
getLiked
List<org.apache.commons.rdf.api.IRI> getLiked() -
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) -
findCollection
-
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()
-