Interface ActivityPubStore
public interface ActivityPubStore
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
add
(ActivityPubObject ao1, String logMsg) void
addCollectionItem
(org.apache.commons.rdf.api.IRI collection, org.apache.commons.rdf.api.IRI item, String logMsg) org.apache.commons.rdf.api.Graph
dump
(org.apache.commons.rdf.api.IRI subject) 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) Set
<org.apache.commons.rdf.api.IRI> findCollection
(org.apache.commons.rdf.api.IRI member) Searches for Collections, where the passed member is a member of.findLatestRevision
(org.apache.commons.rdf.api.IRI pointerSubject) findWholeGraph
(org.apache.commons.rdf.api.IRI subject) ATTENTION!! This reads the whole grap of the actor !List
<org.apache.commons.rdf.api.IRI> getCollection
(org.apache.commons.rdf.api.BlankNodeOrIRI graphName, org.apache.commons.rdf.api.IRI collection) org.apache.commons.rdf.api.IRI
getOwner()
void
update
(ActivityPubObject ao1, String logMsg)
-
Method Details
-
add
-
add
-
update
-
addCollectionItem
void addCollectionItem(org.apache.commons.rdf.api.IRI collection, org.apache.commons.rdf.api.IRI item, String logMsg) -
getCollection
List<org.apache.commons.rdf.api.IRI> getCollection(org.apache.commons.rdf.api.BlankNodeOrIRI graphName, org.apache.commons.rdf.api.IRI collection) -
findCollection
Searches for Collections, where the passed member is a member of.- Parameters:
member
-- Returns:
- List of Collections, where the passed member is a member of.
-
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) -
findAll
-
findLatestRevision
-
findWholeGraph
ATTENTION!! This reads the whole grap of the actor !- Parameters:
subject
-- Returns:
-
getOwner
org.apache.commons.rdf.api.IRI getOwner() -
dump
org.apache.commons.rdf.api.Graph dump(org.apache.commons.rdf.api.IRI subject)
-