|
Oracle® Database XML Java API Reference 11g Release 2 (11.2) E10769-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Event
An event fired by the observation mechanism. Also includes constants representing the event types defined by the JCR standard. Each constant is a power of 2 so that sets of event types can be encoded as a bitmask in a int value.
| Field Summary | |
|---|---|
static int |
NODE_ADDEDAn event of this type is generated when a node is added. |
static int |
NODE_REMOVEDAn event of this type is generated when a node is removed. |
static int |
PROPERTY_ADDEDAn event of this type is generated when a property is added. |
static int |
PROPERTY_CHANGEDAn event of this type is generated when a property is changed. |
static int |
PROPERTY_REMOVEDAn event of this type is generated when a property is removed. |
| Method Summary | |
|---|---|
java.lang.String |
getPath()Returns the absolute path of the parent node connected with this event. |
int |
getType()Returns the type of this event: a constant defined by this interface. |
java.lang.String |
getUserID()Returns the user ID connected with this event. |
| Field Detail |
|---|
static final int NODE_ADDED
static final int NODE_REMOVED
static final int PROPERTY_ADDED
static final int PROPERTY_REMOVED
static final int PROPERTY_CHANGED
| Method Detail |
|---|
int getType()
NODE_ADDEDNODE_REMOVEDPROPERTY_ADDEDPROPERTY_REMOVEDPROPERTY_CHANGED
java.lang.String getPath()
throws RepositoryException
NODE_ADDED then this method returns the absolute path of the node that was added.NODE_REMOVED then this method returns the absolute path of the node that was removed.PROPERTY_ADDED then this method returns the absolute path of the property that was added.PROPERTY_REMOVED then this method returns the absolute path of the property that was removed.PROPERTY_CHANGED then this method returns the absolute path of of the changed property.RepositoryException - if an error occurs.java.lang.String getUserID()
String.
|
Oracle® Database XML Java API Reference 11g Release 2 (11.2) E10769-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||