public class WrappedJcrEvent extends Object implements org.modeshape.jcr.api.observation.Event
Constructor and Description |
---|
WrappedJcrEvent(org.modeshape.jcr.api.observation.Event event,
int type)
Construct a wrapped Modeshape JCR Event
|
Modifier and Type | Method and Description |
---|---|
long |
getDate() |
String |
getIdentifier() |
Map |
getInfo() |
javax.jcr.nodetype.NodeType[] |
getMixinNodeTypes() |
String |
getPath() |
javax.jcr.nodetype.NodeType |
getPrimaryNodeType() |
int |
getType() |
String |
getUserData() |
String |
getUserID() |
public WrappedJcrEvent(org.modeshape.jcr.api.observation.Event event, int type)
event
- The original event.type
- The new event type.public int getType()
getType
in interface javax.jcr.observation.Event
public String getPath() throws javax.jcr.RepositoryException
getPath
in interface javax.jcr.observation.Event
javax.jcr.RepositoryException
public String getUserID()
getUserID
in interface javax.jcr.observation.Event
public String getIdentifier() throws javax.jcr.RepositoryException
getIdentifier
in interface javax.jcr.observation.Event
javax.jcr.RepositoryException
public Map getInfo() throws javax.jcr.RepositoryException
getInfo
in interface javax.jcr.observation.Event
javax.jcr.RepositoryException
public String getUserData() throws javax.jcr.RepositoryException
getUserData
in interface javax.jcr.observation.Event
javax.jcr.RepositoryException
public long getDate() throws javax.jcr.RepositoryException
getDate
in interface javax.jcr.observation.Event
javax.jcr.RepositoryException
public javax.jcr.nodetype.NodeType getPrimaryNodeType() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public javax.jcr.nodetype.NodeType[] getMixinNodeTypes() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
Copyright © 2013–2019 DuraSpace, Inc.. All rights reserved.