Class EventImpl
- java.lang.Object
-
- org.apache.jackrabbit.spi.commons.EventImpl
-
- All Implemented Interfaces:
Serializable,org.apache.jackrabbit.spi.Event
public class EventImpl extends Object implements org.apache.jackrabbit.spi.Event, Serializable
EventImplimplements a serializable SPIEvent.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetDate()Map<org.apache.jackrabbit.spi.Name,org.apache.jackrabbit.spi.QValue>getInfo()org.apache.jackrabbit.spi.ItemIdgetItemId()org.apache.jackrabbit.spi.Name[]getMixinTypeNames()org.apache.jackrabbit.spi.NodeIdgetParentId()org.apache.jackrabbit.spi.PathgetPath()org.apache.jackrabbit.spi.NamegetPrimaryNodeTypeName()intgetType()StringgetUserData()StringgetUserID()StringtoString()
-
-
-
Constructor Detail
-
EventImpl
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)Deprecated.Creates a new serializable event.
-
EventImpl
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)Creates a new serializable event.
-
-
Method Detail
-
getType
public int getType()
- Specified by:
getTypein interfaceorg.apache.jackrabbit.spi.Event
-
getPath
public org.apache.jackrabbit.spi.Path getPath()
- Specified by:
getPathin interfaceorg.apache.jackrabbit.spi.Event
-
getItemId
public org.apache.jackrabbit.spi.ItemId getItemId()
- Specified by:
getItemIdin interfaceorg.apache.jackrabbit.spi.Event
-
getParentId
public org.apache.jackrabbit.spi.NodeId getParentId()
- Specified by:
getParentIdin interfaceorg.apache.jackrabbit.spi.Event
-
getPrimaryNodeTypeName
public org.apache.jackrabbit.spi.Name getPrimaryNodeTypeName()
- Specified by:
getPrimaryNodeTypeNamein interfaceorg.apache.jackrabbit.spi.Event
-
getMixinTypeNames
public org.apache.jackrabbit.spi.Name[] getMixinTypeNames()
- Specified by:
getMixinTypeNamesin interfaceorg.apache.jackrabbit.spi.Event
-
getUserID
public String getUserID()
- Specified by:
getUserIDin interfaceorg.apache.jackrabbit.spi.Event
-
getInfo
public Map<org.apache.jackrabbit.spi.Name,org.apache.jackrabbit.spi.QValue> getInfo() throws RepositoryException
- Specified by:
getInfoin interfaceorg.apache.jackrabbit.spi.Event- Throws:
RepositoryException
-
getUserData
public String getUserData()
- Specified by:
getUserDatain interfaceorg.apache.jackrabbit.spi.Event
-
getDate
public long getDate() throws RepositoryException- Specified by:
getDatein interfaceorg.apache.jackrabbit.spi.Event- Throws:
RepositoryException
-
-