public class FedoraEvent
extends java.lang.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
|
| Modifier and Type | Method and Description |
|---|---|
FedoraEvent |
addProperty(java.lang.String property)
Add a property name to this event
|
FedoraEvent |
addType(java.lang.Integer type) |
long |
getDate() |
java.lang.String |
getIdentifier() |
java.util.Map<java.lang.Object,java.lang.Object> |
getInfo() |
java.lang.String |
getPath() |
java.util.Set<java.lang.String> |
getProperties() |
java.util.Set<java.lang.Integer> |
getTypes() |
java.lang.String |
getUserData() |
java.lang.String |
getUserID() |
java.lang.String |
toString() |
public FedoraEvent(javax.jcr.observation.Event e)
e - public java.util.Set<java.lang.Integer> getTypes()
Eventspublic FedoraEvent addType(java.lang.Integer type)
type - public java.util.Set<java.lang.String> getProperties()
Eventspublic FedoraEvent addProperty(java.lang.String property)
property - property namepublic java.lang.String getPath()
throws javax.jcr.RepositoryException
Eventsjavax.jcr.RepositoryExceptionpublic java.lang.String getUserID()
Eventspublic java.lang.String getIdentifier()
throws javax.jcr.RepositoryException
Eventsjavax.jcr.RepositoryExceptionpublic java.util.Map<java.lang.Object,java.lang.Object> getInfo()
throws javax.jcr.RepositoryException
Eventsjavax.jcr.RepositoryExceptionpublic java.lang.String getUserData()
throws javax.jcr.RepositoryException
Eventsjavax.jcr.RepositoryExceptionpublic long getDate()
throws javax.jcr.RepositoryException
Eventsjavax.jcr.RepositoryExceptionpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2013-2014 DuraSpace, Inc.. All Rights Reserved.