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(Actor activityOwner, 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)
    • getInbox

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

      OrderedCollectionPage getInbox(Integer startIndex, Integer pageSize)
    • getOutbox

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

      OrderedCollectionPage getOutbox(Integer startIndex, Integer pageSize)
    • 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

      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)
    • findCollection

      Set<org.apache.commons.rdf.api.IRI> findCollection(org.apache.commons.rdf.api.IRI member)
    • 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()