public class ChangeLogEvent extends Object
| Constructor and Description |
|---|
ChangeLogEvent(long revision,
String zuluTime,
LdapPrincipal committer,
org.apache.directory.api.ldap.model.ldif.LdifEntry forwardLdif,
org.apache.directory.api.ldap.model.ldif.LdifEntry reverseLdif)
Creates a new instance of ChangeLogEvent.
|
ChangeLogEvent(long revision,
String zuluTime,
LdapPrincipal committer,
org.apache.directory.api.ldap.model.ldif.LdifEntry forwardLdif,
List<org.apache.directory.api.ldap.model.ldif.LdifEntry> reverseLdifs)
Creates a new instance of ChangeLogEvent.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.directory.api.ldap.model.entry.Attribute |
get(String attributeName) |
LdapPrincipal |
getCommitterPrincipal() |
org.apache.directory.api.ldap.model.ldif.LdifEntry |
getForwardLdif() |
List<org.apache.directory.api.ldap.model.ldif.LdifEntry> |
getReverseLdifs() |
long |
getRevision()
Gets the revision of this event.
|
String |
getZuluTime()
Gets the generalizedTime when this event occurred.
|
String |
toString() |
public ChangeLogEvent(long revision,
String zuluTime,
LdapPrincipal committer,
org.apache.directory.api.ldap.model.ldif.LdifEntry forwardLdif,
org.apache.directory.api.ldap.model.ldif.LdifEntry reverseLdif)
revision - the revision number for the changezuluTime - the timestamp for when the change occurred in generalizedTime formatpublic ChangeLogEvent(long revision,
String zuluTime,
LdapPrincipal committer,
org.apache.directory.api.ldap.model.ldif.LdifEntry forwardLdif,
List<org.apache.directory.api.ldap.model.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 operationspublic org.apache.directory.api.ldap.model.ldif.LdifEntry getForwardLdif()
public List<org.apache.directory.api.ldap.model.ldif.LdifEntry> getReverseLdifs()
public LdapPrincipal getCommitterPrincipal()
public long getRevision()
public String getZuluTime()
public org.apache.directory.api.ldap.model.entry.Attribute get(String attributeName)
Copyright © 2021. All rights reserved.