LDAP Classes
Implements Java LDAP

com.novell.ldap.events.edir.eventdata
Class EntryEventData

java.lang.Object
  extended bycom.novell.ldap.events.edir.eventdata.EntryEventData
All Implemented Interfaces:
EventResponseData

public class EntryEventData
extends java.lang.Object
implements EventResponseData

This class represents the data for Entry Events. The event data has the following encoding:-

EntryEventData ::= SEQUENCE {
    perpetratorDN LDAPDN,
    entry LDAPDN,
    class LDAPOID,
    creationTime DSETimestamp,
    verb INTEGER,
    flags INTEGER,
    newDN LDAPOID OPTIONAL
    }

Note: Please refer the JLDAP SDK Documentation at http://developer.novell.com/ndk/jldap.htm for details of all the properties.

See Also:
DSETimeStamp

Constructor Summary
EntryEventData(ASN1Object message)
          Default Constructor
 
Method Summary
 java.lang.String getClassid()
          Returns the Object Class oid .
 java.lang.String getEntry()
          Returns the Entry which generated this event.
 int getFlags()
          Returns a the Flag associated with Event.
 java.lang.String getNewdn()
          Returns the New Dn (if any).
 java.lang.String getPerpetratorDN()
          Returns Prepetrator DN as String.
 DSETimeStamp getTimeStamp()
          Returns the Time for this event.
 int getVerb()
          Returns Verb as integer.
 java.lang.String toString()
          Returns a string representation of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EntryEventData

public EntryEventData(ASN1Object message)
               throws java.io.IOException
Default Constructor

Parameters:
message - ASN1Object containing the encoded data as String.
Throws:
java.io.IOException - When decoding of message fails.
Method Detail

getEntry

public java.lang.String getEntry()
Returns the Entry which generated this event.

Returns:
Entry as String.

getPerpetratorDN

public java.lang.String getPerpetratorDN()
Returns Prepetrator DN as String.

Returns:
Prepetrator DN as String.

getFlags

public int getFlags()
Returns a the Flag associated with Event.

Returns:
Flags as integer.

getNewdn

public java.lang.String getNewdn()
Returns the New Dn (if any).

Returns:
New DN as String.

getClassid

public java.lang.String getClassid()
Returns the Object Class oid .

Returns:
Class oid as String.

getVerb

public int getVerb()
Returns Verb as integer.

Returns:
Verb as integer.

getTimeStamp

public DSETimeStamp getTimeStamp()
Returns the Time for this event.

Returns:
Time as a DSETimeStamp.

toString

public java.lang.String toString()
Returns a string representation of the object.

Returns:
a string representation of the object.
See Also:
Object.toString()

LDAP Classes
Implements Java LDAP

Copyright © 2002 Novell, Inc. All Rights Reserved.
Novell, Inc.
1800 South Novell Place
Provo, Ut 84606
Phone: (801) 861-5000