Package org.fcrepo.kernel.impl.observer
Class EventImpl
java.lang.Object
org.fcrepo.kernel.impl.observer.EventImpl
- All Implemented Interfaces:
org.fcrepo.kernel.api.observer.Event
An event that describes one or more actions that a user preformed on a resource.
- Author:
- pwinckles
-
Constructor Details
-
EventImpl
public EventImpl(org.fcrepo.kernel.api.identifiers.FedoraId fedoraId, Set<org.fcrepo.kernel.api.observer.EventType> types, Set<String> resourceTypes, String userID, URI userURI, String userAgent, String baseUrl, Instant date) Create a new FedoraEvent- Parameters:
fedoraId- the FedoraId of the resource the event is ontypes- a collection of Fedora EventTypesresourceTypes- the rdf types of the corresponding resourceuserID- the acting user for this eventuserURI- the uri of the acting user for this eventuserAgent- the user-agent associated with the requestbaseUrl- the originating request's baseUrldate- the timestamp for this event
-
-
Method Details
-
getFedoraId
- Specified by:
getFedoraIdin interfaceorg.fcrepo.kernel.api.observer.Event
-
getTypes
- Specified by:
getTypesin interfaceorg.fcrepo.kernel.api.observer.Event
-
getResourceTypes
- Specified by:
getResourceTypesin interfaceorg.fcrepo.kernel.api.observer.Event
-
getPath
- Specified by:
getPathin interfaceorg.fcrepo.kernel.api.observer.Event
-
getUserID
- Specified by:
getUserIDin interfaceorg.fcrepo.kernel.api.observer.Event
-
getDate
- Specified by:
getDatein interfaceorg.fcrepo.kernel.api.observer.Event
-
getEventID
- Specified by:
getEventIDin interfaceorg.fcrepo.kernel.api.observer.Event
-
getUserURI
- Specified by:
getUserURIin interfaceorg.fcrepo.kernel.api.observer.Event
-
getUserAgent
- Specified by:
getUserAgentin interfaceorg.fcrepo.kernel.api.observer.Event
-
getBaseUrl
- Specified by:
getBaseUrlin interfaceorg.fcrepo.kernel.api.observer.Event
-
toString
-