org.linkedopenactors.rdfpub.domain.Activity Maven / Gradle / Ivy
The newest version!
package org.linkedopenactors.rdfpub.domain;
import java.time.Instant;
import java.util.Optional;
import org.eclipse.rdf4j.model.IRI;
import org.eclipse.rdf4j.model.Model;
public interface Activity {
RdfObject getActivityRdfObject();
RdfObject getObjectRdfObject();
Model getModel();
IRI getSubject();
Optional getActor();
void setActor(IRI actorIri);
void replaceActor(IRI actorIri);
void setPublishingDate(Instant now);
void replaceActivitySubject(SubjectProvider subjectProvider);
void replaceObjectSubjects(SubjectProvider subjectProvider);
void receiverUnification();
void copyActivityActorIntoObjectsAttributedTo(IRI actorId);
boolean isCreateActivity();
boolean isUpdateActivity();
}