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()
Event
spublic FedoraEvent addProperty(String property)
property
- property namepublic String getPath() throws javax.jcr.RepositoryException
Event
sjavax.jcr.RepositoryException
public String getIdentifier() throws javax.jcr.RepositoryException
Event
sjavax.jcr.RepositoryException
public Map<Object,Object> getInfo() throws javax.jcr.RepositoryException
Event
sjavax.jcr.RepositoryException
public String getUserData() throws javax.jcr.RepositoryException
Event
sjavax.jcr.RepositoryException
public long getDate() throws javax.jcr.RepositoryException
Event
sjavax.jcr.RepositoryException
Copyright © 2013-2015 DuraSpace, Inc.. All Rights Reserved.