Class PublicActorStoreDefault
java.lang.Object
org.linkedopenactors.rdfpub.store.rdf4j.PublicActorStoreDefault
- All Implemented Interfaces:
DeliverableStore
,PublicActorStore
-
Constructor Summary
ConstructorDescriptionPublicActorStoreDefault
(org.apache.commons.rdf.api.RDF rdf, ActivityPubStore activityPubStore, Vocabularies vocabularies) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addToApplications
(org.apache.commons.rdf.api.IRI actorId) void
addToPersons
(org.apache.commons.rdf.api.IRI actorId) org.apache.commons.rdf.api.IRI
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) findCollection
(org.apache.commons.rdf.api.IRI member) Same asPublicActorStore.getActorsCollection()
but the subjects are resolved to objects.Set
<org.apache.commons.rdf.api.IRI> Set
<org.apache.commons.rdf.api.IRI> Set
<org.apache.commons.rdf.api.IRI> Set
<org.apache.commons.rdf.api.IRI> getPersons
(Integer pageSize, Integer startIndex) Set
<org.apache.commons.rdf.api.IRI> getPublicCollection
(Integer startIndex, Integer pageSize) Set
<org.apache.commons.rdf.api.IRI>
-
Constructor Details
-
PublicActorStoreDefault
public PublicActorStoreDefault(org.apache.commons.rdf.api.RDF rdf, ActivityPubStore activityPubStore, Vocabularies vocabularies)
-
-
Method Details
-
addToPersons
public void addToPersons(org.apache.commons.rdf.api.IRI actorId) - Specified by:
addToPersons
in interfacePublicActorStore
-
addToApplications
public void addToApplications(org.apache.commons.rdf.api.IRI actorId) - Specified by:
addToApplications
in interfacePublicActorStore
-
getPersonsCollection
- Specified by:
getPersonsCollection
in interfacePublicActorStore
-
getApplicationsCollection
- Specified by:
getApplicationsCollection
in interfacePublicActorStore
-
getGroupsCollection
- Specified by:
getGroupsCollection
in interfacePublicActorStore
-
getOrganizationsCollection
- Specified by:
getOrganizationsCollection
in interfacePublicActorStore
-
getServicesCollection
- Specified by:
getServicesCollection
in interfacePublicActorStore
-
findCollection
- Specified by:
findCollection
in interfacePublicActorStore
-
getActorsCollection
- Specified by:
getActorsCollection
in interfacePublicActorStore
-
getActors
Description copied from interface:PublicActorStore
Same asPublicActorStore.getActorsCollection()
but the subjects are resolved to objects.- Specified by:
getActors
in interfacePublicActorStore
- Returns:
Set
ofActor
s
-
getPersons
- Specified by:
getPersons
in interfacePublicActorStore
-
getPublicCollection
- Specified by:
getPublicCollection
in interfacePublicActorStore
-
find
- Specified by:
find
in interfacePublicActorStore
-
find
- Specified by:
find
in interfacePublicActorStore
-
find
public Optional<ActivityPubObject> find(org.apache.commons.rdf.api.IRI subject, org.apache.commons.rdf.api.IRI predicate, org.apache.commons.rdf.api.RDFTerm object) - Specified by:
find
in interfacePublicActorStore
-
deliver
- Specified by:
deliver
in interfaceDeliverableStore
-