public class EventImpl extends Object implements org.apache.jackrabbit.spi.Event, Serializable
EventImpl implements a serializable SPI
Event.| Constructor and Description |
|---|
EventImpl(int type,
org.apache.jackrabbit.spi.Path path,
org.apache.jackrabbit.spi.ItemId itemId,
org.apache.jackrabbit.spi.NodeId parentId,
org.apache.jackrabbit.spi.Name primaryNodeTypeName,
org.apache.jackrabbit.spi.Name[] mixinTypeNames,
String userId)
Deprecated.
|
EventImpl(int type,
org.apache.jackrabbit.spi.Path path,
org.apache.jackrabbit.spi.ItemId itemId,
org.apache.jackrabbit.spi.NodeId parentId,
org.apache.jackrabbit.spi.Name primaryNodeTypeName,
org.apache.jackrabbit.spi.Name[] mixinTypeNames,
String userId,
String userData,
long timestamp,
Map<org.apache.jackrabbit.spi.Name,org.apache.jackrabbit.spi.QValue> info)
Creates a new serializable event.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getDate() |
Map<org.apache.jackrabbit.spi.Name,org.apache.jackrabbit.spi.QValue> |
getInfo() |
org.apache.jackrabbit.spi.ItemId |
getItemId() |
org.apache.jackrabbit.spi.Name[] |
getMixinTypeNames() |
org.apache.jackrabbit.spi.NodeId |
getParentId() |
org.apache.jackrabbit.spi.Path |
getPath() |
org.apache.jackrabbit.spi.Name |
getPrimaryNodeTypeName() |
int |
getType() |
String |
getUserData() |
String |
getUserID() |
String |
toString() |
public EventImpl(int type,
org.apache.jackrabbit.spi.Path path,
org.apache.jackrabbit.spi.ItemId itemId,
org.apache.jackrabbit.spi.NodeId parentId,
org.apache.jackrabbit.spi.Name primaryNodeTypeName,
org.apache.jackrabbit.spi.Name[] mixinTypeNames,
String userId)
public EventImpl(int type,
org.apache.jackrabbit.spi.Path path,
org.apache.jackrabbit.spi.ItemId itemId,
org.apache.jackrabbit.spi.NodeId parentId,
org.apache.jackrabbit.spi.Name primaryNodeTypeName,
org.apache.jackrabbit.spi.Name[] mixinTypeNames,
String userId,
String userData,
long timestamp,
Map<org.apache.jackrabbit.spi.Name,org.apache.jackrabbit.spi.QValue> info)
public int getType()
getType in interface org.apache.jackrabbit.spi.Eventpublic org.apache.jackrabbit.spi.Path getPath()
getPath in interface org.apache.jackrabbit.spi.Eventpublic org.apache.jackrabbit.spi.ItemId getItemId()
getItemId in interface org.apache.jackrabbit.spi.Eventpublic org.apache.jackrabbit.spi.NodeId getParentId()
getParentId in interface org.apache.jackrabbit.spi.Eventpublic org.apache.jackrabbit.spi.Name getPrimaryNodeTypeName()
getPrimaryNodeTypeName in interface org.apache.jackrabbit.spi.Eventpublic org.apache.jackrabbit.spi.Name[] getMixinTypeNames()
getMixinTypeNames in interface org.apache.jackrabbit.spi.Eventpublic String getUserID()
getUserID in interface org.apache.jackrabbit.spi.Eventpublic Map<org.apache.jackrabbit.spi.Name,org.apache.jackrabbit.spi.QValue> getInfo() throws RepositoryException
getInfo in interface org.apache.jackrabbit.spi.EventRepositoryExceptionpublic String getUserData()
getUserData in interface org.apache.jackrabbit.spi.Eventpublic long getDate()
throws RepositoryException
getDate in interface org.apache.jackrabbit.spi.EventRepositoryExceptionCopyright © 2004–2017 The Apache Software Foundation. All rights reserved.