Package org.linkedopenactors.rdfpub.usecases.receiveactivity
Filters in the sense of pipes & filters that are needed for processing incomming activities and their objects.
-
Class Summary Class Description ContentBasedRouterByObjectTypeValidation Validates theAS.object
property of an activity.ContentEnricherSurroundingActivityCreator See https://www.w3.org/TR/activitypub/#object-without-create For client to server posting, it is possible to submit an object for creation without a surrounding activity.MessageTranslaterSetActivityPublishingDate We set/replace the published date in the update Activity with the current dateTime.MessageTranslaterSetUpdateDate Set or replace the updated date in each object with the current dateTime.MessageTranslatorCheckOrSetActor The actor in the activity should match to the outbox owner.MessageTranslatorRemoveOrphans If there are statements, that are not referenced in the graph (orphan) we delete them.MessageTranslatorReplaceActivitySubject We are creating a new subject for each new activity, because we have to make sure, that it's available on the net with that id.MessageTranslatorReplaceObjectSubjects The id of each object in the passed model should be unique an understandable by our system.MessageTranslatorSetAttributedTo When a Create activity is posted, the actor of the activity SHOULD be copied onto the object's attributedTo field.MessageTranslatorSetPublishingDate We set/replace the published date in each object and the activity with the current dateTime.MessageTranslatorSetReceivers Make sure, that all receivers are equal over all objects in the graph including the activity.PredicateIsCreateActivity Checks if the incomming activity is aAS.Create
activity.PredicateIsUpdateActivity Checks if the incomming activity is aAS.Update
activity.RouteReceiveActivity Definition of the Apache Camel Route for the usecase.SharedDataBaseSaveActivity Activities and Objects are stored in a shared database, so that other application are able to access and query the data.SharedDataBaseUpdateActivity Activities and Objects are stored in a shared database, so that other application are able to access and query the data.