Interface ActorsStore

All Superinterfaces:
DeliverableStore

public interface ActorsStore extends DeliverableStore
The store from an actors perspective.
  • Method Details

    • addToOutbox

      org.apache.commons.rdf.api.IRI addToOutbox(Actor owner, Activity activity, String logMsg)
    • addToOutbox

      org.apache.commons.rdf.api.IRI addToOutbox(Activity activity, String logMsg)
    • addToInbox

      org.apache.commons.rdf.api.IRI addToInbox(Activity activity, String logMsg)
    • addFollower

      void addFollower(org.apache.commons.rdf.api.IRI follower)
    • getCollection

      OrderedCollectionPage getCollection(CollectionInfo ci, Integer startIndex, Integer pageSize)
    • getInbox

      OrderedCollectionPage getInbox(Integer startIndex, Integer pageSize)
    • getOutbox

      OrderedCollectionPage getOutbox(Integer startIndex, Integer pageSize)
    • getOutbox

      List<org.apache.commons.rdf.api.IRI> getOutbox()
    • getFollowers

      List<org.apache.commons.rdf.api.IRI> getFollowers()
    • find

      Optional<ActivityPubObject> find(org.apache.commons.rdf.api.IRI subject)
    • find

      Optional<ActivityPubObject> find(org.apache.commons.rdf.api.IRI subject, int deep)
    • 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

      Set<ActivityPubObject> findAll(Set<org.apache.commons.rdf.api.IRI> subject)
      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 ActivityPubObjects
    • findAll

      Set<ActivityPubObject> findAll(Set<org.apache.commons.rdf.api.IRI> subject, int deep)
      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 ActivityPubObjects
    • dump

      org.apache.commons.rdf.api.Graph dump()
    • getGraphNames

      Set<org.apache.commons.rdf.api.BlankNodeOrIRI> getGraphNames()