|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.server.core.changelog.ChangeLogEvent
public class ChangeLogEvent
A loggable directory change event.
| Constructor Summary | |
|---|---|
ChangeLogEvent()
Creates a new instance of ChangeLogEvent, used during the deserialization process |
|
ChangeLogEvent(long revision,
java.lang.String zuluTime,
LdapPrincipal committer,
org.apache.directory.shared.ldap.ldif.LdifEntry forwardLdif,
org.apache.directory.shared.ldap.ldif.LdifEntry reverseLdif)
Creates a new instance of ChangeLogEvent. |
|
ChangeLogEvent(long revision,
java.lang.String zuluTime,
LdapPrincipal committer,
org.apache.directory.shared.ldap.ldif.LdifEntry forwardLdif,
java.util.List<org.apache.directory.shared.ldap.ldif.LdifEntry> reverseLdifs)
Creates a new instance of ChangeLogEvent. |
|
| Method Summary | |
|---|---|
org.apache.directory.shared.ldap.entry.EntryAttribute |
get(java.lang.String attributeName)
|
LdapPrincipal |
getCommitterPrincipal()
|
org.apache.directory.shared.ldap.ldif.LdifEntry |
getForwardLdif()
|
java.util.List<org.apache.directory.shared.ldap.ldif.LdifEntry> |
getReverseLdifs()
|
long |
getRevision()
Gets the revision of this event. |
java.lang.String |
getZuluTime()
Gets the generalizedTime when this event occured. |
void |
readExternal(java.io.ObjectInput in)
|
java.lang.String |
toString()
|
void |
writeExternal(java.io.ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ChangeLogEvent()
public ChangeLogEvent(long revision,
java.lang.String zuluTime,
LdapPrincipal committer,
org.apache.directory.shared.ldap.ldif.LdifEntry forwardLdif,
org.apache.directory.shared.ldap.ldif.LdifEntry reverseLdif)
revision - the revision number for the changezuluTime - the timestamp for when the change occurred in generalizedTime format
public ChangeLogEvent(long revision,
java.lang.String zuluTime,
LdapPrincipal committer,
org.apache.directory.shared.ldap.ldif.LdifEntry forwardLdif,
java.util.List<org.apache.directory.shared.ldap.ldif.LdifEntry> reverseLdifs)
revision - the revision number for the changezuluTime - the timestamp for when the change occurred in generalizedTime formatcommitter - the user who did the modificationforwardLdif - the original operationreverseLdifs - the reverted operations| Method Detail |
|---|
public org.apache.directory.shared.ldap.ldif.LdifEntry getForwardLdif()
public java.util.List<org.apache.directory.shared.ldap.ldif.LdifEntry> getReverseLdifs()
public LdapPrincipal getCommitterPrincipal()
public long getRevision()
public java.lang.String getZuluTime()
public org.apache.directory.shared.ldap.entry.EntryAttribute get(java.lang.String attributeName)
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablein - The stream from which the ChangeOlgEvent is read
java.io.IOException - If the stream can't be read
java.lang.ClassNotFoundException - If the ChangeLogEvent can't be createdExternalizable.readExternal(ObjectInput)
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizableout - The stream in which the ChangeLogEvent will be serialized.
java.io.IOException - If the serialization failExternalizable#readExternal(ObjectInput)public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||