public class FedoraEvent extends Object
Event. Can represent either a single JCR event or several.| Constructor and Description |
|---|
FedoraEvent(javax.jcr.observation.Event e)
Wrap a JCR Event with our FedoraEvent decorators
|
FedoraEvent(FedoraEvent e)
Create a FedoraEvent from an existing FedoraEvent object
Note: Only the wrapped JCR event is passed on to the new object.
|
| Modifier and Type | Method and Description |
|---|---|
FedoraEvent |
addProperty(String property)
Add a property name to this event
|
FedoraEvent |
addType(Integer type) |
long |
getDate() |
String |
getIdentifier() |
Map<Object,Object> |
getInfo() |
String |
getPath() |
Set<String> |
getProperties() |
Set<Integer> |
getTypes() |
String |
getUserData() |
String |
getUserID() |
String |
toString() |
public FedoraEvent(javax.jcr.observation.Event e)
e - public FedoraEvent(FedoraEvent e)
e - public FedoraEvent addType(Integer type)
type - public Set<String> getProperties()
Eventspublic FedoraEvent addProperty(String property)
property - property namepublic String getPath() throws javax.jcr.RepositoryException
Eventsjavax.jcr.RepositoryExceptionpublic String getIdentifier() throws javax.jcr.RepositoryException
Eventsjavax.jcr.RepositoryExceptionpublic Map<Object,Object> getInfo() throws javax.jcr.RepositoryException
Eventsjavax.jcr.RepositoryExceptionpublic String getUserData() throws javax.jcr.RepositoryException
Eventsjavax.jcr.RepositoryExceptionpublic long getDate() throws javax.jcr.RepositoryException
Eventsjavax.jcr.RepositoryExceptionCopyright © 2013-2014 DuraSpace, Inc.. All Rights Reserved.