Package org.fcrepo.kernel.api.observer
Interface Event
public interface Event
A very simple abstraction to support downstream event-related machinery.
- Since:
- Feb 19, 2013
- Author:
- ajs6f, acoburn
-
Method Details
-
getFedoraId
- Returns:
- the FedoraId of the resource associated with this event.
-
getTypes
- Returns:
- the event types associated with this event.
-
getResourceTypes
- Returns:
- the RDF Types of the resource associated with this event.
-
getPath
- Returns:
- the path to the
FedoraResource
-
getUserID
- Returns:
- the user ID associated with this event.
-
getUserURI
Get the user URI associated with this event.- Returns:
- user URI
-
getUserAgent
- Returns:
- The user-agent associated to the request
-
getDate
- Returns:
- the date of this event.
-
getEventID
Get the event ID.- Returns:
- Event identifier to use for building event URIs (e.g., in an external triplestore).
-
getBaseUrl
- Returns:
- The originating request's baseUrl
-