Package org.fcrepo.kernel.api.observer
Interface Event
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getBaseUrl()
Instant
getDate()
String
getEventID()
Get the event ID.FedoraId
getFedoraId()
String
getPath()
Set<String>
getResourceTypes()
Set<EventType>
getTypes()
String
getUserAgent()
String
getUserID()
URI
getUserURI()
Get the user URI associated with this event.
-
-
-
Method Detail
-
getFedoraId
FedoraId getFedoraId()
- Returns:
- the FedoraId of the resource associated with this event.
-
getResourceTypes
Set<String> getResourceTypes()
- Returns:
- the RDF Types of the resource associated with this event.
-
getPath
String getPath()
- Returns:
- the path to the
FedoraResource
-
getUserURI
URI getUserURI()
Get the user URI associated with this event.- Returns:
- user URI
-
getUserAgent
String getUserAgent()
- Returns:
- The user-agent associated to the request
-
getEventID
String getEventID()
Get the event ID.- Returns:
- Event identifier to use for building event URIs (e.g., in an external triplestore).
-
getBaseUrl
String getBaseUrl()
- Returns:
- The originating request's baseUrl
-
-