public class ClonedServerEntry extends Object implements org.apache.directory.api.ldap.model.entry.Entry
Modifier and Type | Field and Description |
---|---|
protected org.apache.directory.api.ldap.model.entry.Entry |
clonedEntry
The copied entry
|
protected org.apache.directory.api.ldap.model.entry.Entry |
originalEntry
The original entry as returned by the backend
|
Constructor and Description |
---|
ClonedServerEntry()
Creates a new instance of ClonedServerEntry.
|
ClonedServerEntry(org.apache.directory.api.ldap.model.entry.Entry originalEntry)
Creates a new instance of ClonedServerEntry.
|
Modifier and Type | Method and Description |
---|---|
org.apache.directory.api.ldap.model.entry.Entry |
add(org.apache.directory.api.ldap.model.entry.Attribute... attributes) |
org.apache.directory.api.ldap.model.entry.Entry |
add(org.apache.directory.api.ldap.model.schema.AttributeType attributeType,
byte[]... values) |
org.apache.directory.api.ldap.model.entry.Entry |
add(org.apache.directory.api.ldap.model.schema.AttributeType attributeType,
String... values) |
org.apache.directory.api.ldap.model.entry.Entry |
add(org.apache.directory.api.ldap.model.schema.AttributeType attributeType,
org.apache.directory.api.ldap.model.entry.Value... values) |
org.apache.directory.api.ldap.model.entry.Entry |
add(String upId,
org.apache.directory.api.ldap.model.schema.AttributeType attributeType,
byte[]... values) |
org.apache.directory.api.ldap.model.entry.Entry |
add(String upId,
org.apache.directory.api.ldap.model.schema.AttributeType attributeType,
String... values) |
org.apache.directory.api.ldap.model.entry.Entry |
add(String upId,
org.apache.directory.api.ldap.model.schema.AttributeType attributeType,
org.apache.directory.api.ldap.model.entry.Value... values) |
org.apache.directory.api.ldap.model.entry.Entry |
add(String upId,
byte[]... values) |
org.apache.directory.api.ldap.model.entry.Entry |
add(String upId,
String... values) |
org.apache.directory.api.ldap.model.entry.Entry |
add(String upId,
org.apache.directory.api.ldap.model.entry.Value... values) |
void |
clear() |
org.apache.directory.api.ldap.model.entry.Entry |
clone() |
boolean |
contains(org.apache.directory.api.ldap.model.entry.Attribute... attributes) |
boolean |
contains(org.apache.directory.api.ldap.model.schema.AttributeType attributeType,
byte[]... values) |
boolean |
contains(org.apache.directory.api.ldap.model.schema.AttributeType attributeType,
String... values) |
boolean |
contains(org.apache.directory.api.ldap.model.schema.AttributeType attributeType,
org.apache.directory.api.ldap.model.entry.Value... values) |
boolean |
contains(String upId,
byte[]... values) |
boolean |
contains(String upId,
String... values) |
boolean |
contains(String upId,
org.apache.directory.api.ldap.model.entry.Value... values) |
boolean |
containsAttribute(org.apache.directory.api.ldap.model.schema.AttributeType attributeType) |
boolean |
containsAttribute(String... attributes) |
boolean |
equals(Object obj) |
org.apache.directory.api.ldap.model.entry.Attribute |
get(org.apache.directory.api.ldap.model.schema.AttributeType attributeType) |
org.apache.directory.api.ldap.model.entry.Attribute |
get(String alias) |
Collection<org.apache.directory.api.ldap.model.entry.Attribute> |
getAttributes() |
org.apache.directory.api.ldap.model.entry.Entry |
getClonedEntry() |
org.apache.directory.api.ldap.model.name.Dn |
getDn() |
org.apache.directory.api.ldap.model.entry.Entry |
getOriginalEntry() |
int |
hashCode() |
boolean |
hasObjectClass(org.apache.directory.api.ldap.model.entry.Attribute... objectClasses) |
boolean |
hasObjectClass(String... objectClasses) |
boolean |
isSchemaAware() |
Iterator<org.apache.directory.api.ldap.model.entry.Attribute> |
iterator() |
List<org.apache.directory.api.ldap.model.entry.Attribute> |
put(org.apache.directory.api.ldap.model.entry.Attribute... attributes) |
org.apache.directory.api.ldap.model.entry.Attribute |
put(org.apache.directory.api.ldap.model.schema.AttributeType attributeType,
byte[]... values) |
org.apache.directory.api.ldap.model.entry.Attribute |
put(org.apache.directory.api.ldap.model.schema.AttributeType attributeType,
String... values) |
org.apache.directory.api.ldap.model.entry.Attribute |
put(org.apache.directory.api.ldap.model.schema.AttributeType attributeType,
org.apache.directory.api.ldap.model.entry.Value... values) |
org.apache.directory.api.ldap.model.entry.Attribute |
put(String upId,
org.apache.directory.api.ldap.model.schema.AttributeType attributeType,
byte[]... values) |
org.apache.directory.api.ldap.model.entry.Attribute |
put(String upId,
org.apache.directory.api.ldap.model.schema.AttributeType attributeType,
String... values) |
org.apache.directory.api.ldap.model.entry.Attribute |
put(String upId,
org.apache.directory.api.ldap.model.schema.AttributeType attributeType,
org.apache.directory.api.ldap.model.entry.Value... values) |
org.apache.directory.api.ldap.model.entry.Attribute |
put(String upId,
byte[]... values) |
org.apache.directory.api.ldap.model.entry.Attribute |
put(String upId,
String... values) |
org.apache.directory.api.ldap.model.entry.Attribute |
put(String upId,
org.apache.directory.api.ldap.model.entry.Value... values) |
void |
readExternal(ObjectInput in) |
List<org.apache.directory.api.ldap.model.entry.Attribute> |
remove(org.apache.directory.api.ldap.model.entry.Attribute... attributes) |
boolean |
remove(org.apache.directory.api.ldap.model.schema.AttributeType attributeType,
byte[]... values) |
boolean |
remove(org.apache.directory.api.ldap.model.schema.AttributeType attributeType,
String... values) |
boolean |
remove(org.apache.directory.api.ldap.model.schema.AttributeType attributeType,
org.apache.directory.api.ldap.model.entry.Value... values) |
boolean |
remove(String upId,
byte[]... values) |
boolean |
remove(String upId,
String... values) |
boolean |
remove(String upId,
org.apache.directory.api.ldap.model.entry.Value... values) |
void |
removeAttributes(org.apache.directory.api.ldap.model.schema.AttributeType... attributes) |
void |
removeAttributes(String... attributes) |
void |
setDn(org.apache.directory.api.ldap.model.name.Dn dn) |
void |
setDn(String dn) |
org.apache.directory.api.ldap.model.entry.Entry |
shallowClone() |
int |
size() |
org.apache.directory.api.ldap.model.entry.Entry |
toClientEntry() |
String |
toString() |
String |
toString(String tabs) |
void |
writeExternal(ObjectOutput out) |
finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
protected org.apache.directory.api.ldap.model.entry.Entry originalEntry
protected org.apache.directory.api.ldap.model.entry.Entry clonedEntry
public ClonedServerEntry()
public ClonedServerEntry(org.apache.directory.api.ldap.model.entry.Entry originalEntry)
originalEntry
- The original entrypublic org.apache.directory.api.ldap.model.entry.Entry getOriginalEntry()
public org.apache.directory.api.ldap.model.entry.Entry getClonedEntry()
public org.apache.directory.api.ldap.model.entry.Entry add(org.apache.directory.api.ldap.model.schema.AttributeType attributeType, byte[]... values) throws org.apache.directory.api.ldap.model.exception.LdapException
add
in interface org.apache.directory.api.ldap.model.entry.Entry
org.apache.directory.api.ldap.model.exception.LdapException
public org.apache.directory.api.ldap.model.entry.Entry add(org.apache.directory.api.ldap.model.schema.AttributeType attributeType, String... values) throws org.apache.directory.api.ldap.model.exception.LdapException
add
in interface org.apache.directory.api.ldap.model.entry.Entry
org.apache.directory.api.ldap.model.exception.LdapException
public org.apache.directory.api.ldap.model.entry.Entry add(org.apache.directory.api.ldap.model.schema.AttributeType attributeType, org.apache.directory.api.ldap.model.entry.Value... values) throws org.apache.directory.api.ldap.model.exception.LdapException
add
in interface org.apache.directory.api.ldap.model.entry.Entry
org.apache.directory.api.ldap.model.exception.LdapException
public org.apache.directory.api.ldap.model.entry.Entry add(String upId, org.apache.directory.api.ldap.model.schema.AttributeType attributeType, byte[]... values) throws org.apache.directory.api.ldap.model.exception.LdapException
add
in interface org.apache.directory.api.ldap.model.entry.Entry
org.apache.directory.api.ldap.model.exception.LdapException
public org.apache.directory.api.ldap.model.entry.Entry add(String upId, org.apache.directory.api.ldap.model.schema.AttributeType attributeType, String... values) throws org.apache.directory.api.ldap.model.exception.LdapException
add
in interface org.apache.directory.api.ldap.model.entry.Entry
org.apache.directory.api.ldap.model.exception.LdapException
public org.apache.directory.api.ldap.model.entry.Entry add(String upId, org.apache.directory.api.ldap.model.schema.AttributeType attributeType, org.apache.directory.api.ldap.model.entry.Value... values) throws org.apache.directory.api.ldap.model.exception.LdapException
add
in interface org.apache.directory.api.ldap.model.entry.Entry
org.apache.directory.api.ldap.model.exception.LdapException
public boolean contains(org.apache.directory.api.ldap.model.schema.AttributeType attributeType, byte[]... values)
contains
in interface org.apache.directory.api.ldap.model.entry.Entry
public boolean contains(org.apache.directory.api.ldap.model.schema.AttributeType attributeType, String... values)
contains
in interface org.apache.directory.api.ldap.model.entry.Entry
public boolean contains(org.apache.directory.api.ldap.model.schema.AttributeType attributeType, org.apache.directory.api.ldap.model.entry.Value... values)
contains
in interface org.apache.directory.api.ldap.model.entry.Entry
public boolean containsAttribute(org.apache.directory.api.ldap.model.schema.AttributeType attributeType)
containsAttribute
in interface org.apache.directory.api.ldap.model.entry.Entry
public org.apache.directory.api.ldap.model.entry.Attribute get(org.apache.directory.api.ldap.model.schema.AttributeType attributeType)
get
in interface org.apache.directory.api.ldap.model.entry.Entry
public Collection<org.apache.directory.api.ldap.model.entry.Attribute> getAttributes()
getAttributes
in interface org.apache.directory.api.ldap.model.entry.Entry
public boolean hasObjectClass(org.apache.directory.api.ldap.model.entry.Attribute... objectClasses)
hasObjectClass
in interface org.apache.directory.api.ldap.model.entry.Entry
public org.apache.directory.api.ldap.model.entry.Attribute put(org.apache.directory.api.ldap.model.schema.AttributeType attributeType, byte[]... values) throws org.apache.directory.api.ldap.model.exception.LdapException
put
in interface org.apache.directory.api.ldap.model.entry.Entry
org.apache.directory.api.ldap.model.exception.LdapException
public org.apache.directory.api.ldap.model.entry.Attribute put(org.apache.directory.api.ldap.model.schema.AttributeType attributeType, String... values) throws org.apache.directory.api.ldap.model.exception.LdapException
put
in interface org.apache.directory.api.ldap.model.entry.Entry
org.apache.directory.api.ldap.model.exception.LdapException
public org.apache.directory.api.ldap.model.entry.Attribute put(org.apache.directory.api.ldap.model.schema.AttributeType attributeType, org.apache.directory.api.ldap.model.entry.Value... values) throws org.apache.directory.api.ldap.model.exception.LdapException
put
in interface org.apache.directory.api.ldap.model.entry.Entry
org.apache.directory.api.ldap.model.exception.LdapException
public org.apache.directory.api.ldap.model.entry.Attribute put(String upId, org.apache.directory.api.ldap.model.schema.AttributeType attributeType, byte[]... values) throws org.apache.directory.api.ldap.model.exception.LdapException
put
in interface org.apache.directory.api.ldap.model.entry.Entry
org.apache.directory.api.ldap.model.exception.LdapException
public org.apache.directory.api.ldap.model.entry.Attribute put(String upId, org.apache.directory.api.ldap.model.schema.AttributeType attributeType, String... values) throws org.apache.directory.api.ldap.model.exception.LdapException
put
in interface org.apache.directory.api.ldap.model.entry.Entry
org.apache.directory.api.ldap.model.exception.LdapException
public org.apache.directory.api.ldap.model.entry.Attribute put(String upId, org.apache.directory.api.ldap.model.schema.AttributeType attributeType, org.apache.directory.api.ldap.model.entry.Value... values) throws org.apache.directory.api.ldap.model.exception.LdapException
put
in interface org.apache.directory.api.ldap.model.entry.Entry
org.apache.directory.api.ldap.model.exception.LdapException
public boolean remove(org.apache.directory.api.ldap.model.schema.AttributeType attributeType, byte[]... values) throws org.apache.directory.api.ldap.model.exception.LdapException
remove
in interface org.apache.directory.api.ldap.model.entry.Entry
org.apache.directory.api.ldap.model.exception.LdapException
public boolean remove(org.apache.directory.api.ldap.model.schema.AttributeType attributeType, String... values) throws org.apache.directory.api.ldap.model.exception.LdapException
remove
in interface org.apache.directory.api.ldap.model.entry.Entry
org.apache.directory.api.ldap.model.exception.LdapException
public boolean remove(org.apache.directory.api.ldap.model.schema.AttributeType attributeType, org.apache.directory.api.ldap.model.entry.Value... values) throws org.apache.directory.api.ldap.model.exception.LdapException
remove
in interface org.apache.directory.api.ldap.model.entry.Entry
org.apache.directory.api.ldap.model.exception.LdapException
public List<org.apache.directory.api.ldap.model.entry.Attribute> remove(org.apache.directory.api.ldap.model.entry.Attribute... attributes) throws org.apache.directory.api.ldap.model.exception.LdapException
remove
in interface org.apache.directory.api.ldap.model.entry.Entry
org.apache.directory.api.ldap.model.exception.LdapException
public void removeAttributes(org.apache.directory.api.ldap.model.schema.AttributeType... attributes)
removeAttributes
in interface org.apache.directory.api.ldap.model.entry.Entry
public org.apache.directory.api.ldap.model.entry.Entry add(org.apache.directory.api.ldap.model.entry.Attribute... attributes) throws org.apache.directory.api.ldap.model.exception.LdapException
add
in interface org.apache.directory.api.ldap.model.entry.Entry
org.apache.directory.api.ldap.model.exception.LdapException
public org.apache.directory.api.ldap.model.entry.Entry add(String upId, String... values) throws org.apache.directory.api.ldap.model.exception.LdapException
add
in interface org.apache.directory.api.ldap.model.entry.Entry
org.apache.directory.api.ldap.model.exception.LdapException
public org.apache.directory.api.ldap.model.entry.Entry add(String upId, byte[]... values) throws org.apache.directory.api.ldap.model.exception.LdapException
add
in interface org.apache.directory.api.ldap.model.entry.Entry
org.apache.directory.api.ldap.model.exception.LdapException
public org.apache.directory.api.ldap.model.entry.Entry add(String upId, org.apache.directory.api.ldap.model.entry.Value... values) throws org.apache.directory.api.ldap.model.exception.LdapException
add
in interface org.apache.directory.api.ldap.model.entry.Entry
org.apache.directory.api.ldap.model.exception.LdapException
public void clear()
clear
in interface org.apache.directory.api.ldap.model.entry.Entry
public boolean contains(org.apache.directory.api.ldap.model.entry.Attribute... attributes)
contains
in interface org.apache.directory.api.ldap.model.entry.Entry
public boolean contains(String upId, byte[]... values)
contains
in interface org.apache.directory.api.ldap.model.entry.Entry
public boolean contains(String upId, String... values)
contains
in interface org.apache.directory.api.ldap.model.entry.Entry
public boolean contains(String upId, org.apache.directory.api.ldap.model.entry.Value... values)
contains
in interface org.apache.directory.api.ldap.model.entry.Entry
public boolean containsAttribute(String... attributes)
containsAttribute
in interface org.apache.directory.api.ldap.model.entry.Entry
public org.apache.directory.api.ldap.model.entry.Attribute get(String alias)
get
in interface org.apache.directory.api.ldap.model.entry.Entry
public org.apache.directory.api.ldap.model.name.Dn getDn()
getDn
in interface org.apache.directory.api.ldap.model.entry.Entry
public boolean hasObjectClass(String... objectClasses)
hasObjectClass
in interface org.apache.directory.api.ldap.model.entry.Entry
public boolean isSchemaAware()
isSchemaAware
in interface org.apache.directory.api.ldap.model.entry.Entry
public List<org.apache.directory.api.ldap.model.entry.Attribute> put(org.apache.directory.api.ldap.model.entry.Attribute... attributes) throws org.apache.directory.api.ldap.model.exception.LdapException
put
in interface org.apache.directory.api.ldap.model.entry.Entry
org.apache.directory.api.ldap.model.exception.LdapException
public org.apache.directory.api.ldap.model.entry.Attribute put(String upId, byte[]... values)
put
in interface org.apache.directory.api.ldap.model.entry.Entry
public org.apache.directory.api.ldap.model.entry.Attribute put(String upId, String... values)
put
in interface org.apache.directory.api.ldap.model.entry.Entry
public org.apache.directory.api.ldap.model.entry.Attribute put(String upId, org.apache.directory.api.ldap.model.entry.Value... values)
put
in interface org.apache.directory.api.ldap.model.entry.Entry
public boolean remove(String upId, byte[]... values) throws org.apache.directory.api.ldap.model.exception.LdapException
remove
in interface org.apache.directory.api.ldap.model.entry.Entry
org.apache.directory.api.ldap.model.exception.LdapException
public boolean remove(String upId, String... values) throws org.apache.directory.api.ldap.model.exception.LdapException
remove
in interface org.apache.directory.api.ldap.model.entry.Entry
org.apache.directory.api.ldap.model.exception.LdapException
public boolean remove(String upId, org.apache.directory.api.ldap.model.entry.Value... values) throws org.apache.directory.api.ldap.model.exception.LdapException
remove
in interface org.apache.directory.api.ldap.model.entry.Entry
org.apache.directory.api.ldap.model.exception.LdapException
public void removeAttributes(String... attributes)
removeAttributes
in interface org.apache.directory.api.ldap.model.entry.Entry
public void setDn(org.apache.directory.api.ldap.model.name.Dn dn)
setDn
in interface org.apache.directory.api.ldap.model.entry.Entry
public void setDn(String dn) throws org.apache.directory.api.ldap.model.exception.LdapInvalidDnException
setDn
in interface org.apache.directory.api.ldap.model.entry.Entry
org.apache.directory.api.ldap.model.exception.LdapInvalidDnException
public int size()
size
in interface org.apache.directory.api.ldap.model.entry.Entry
public org.apache.directory.api.ldap.model.entry.Entry toClientEntry() throws org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
We can't use this method for a ServerEntry
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
We can't use this method for a ServerEntry
public org.apache.directory.api.ldap.model.entry.Entry clone()
public org.apache.directory.api.ldap.model.entry.Entry shallowClone()
shallowClone
in interface org.apache.directory.api.ldap.model.entry.Entry
public String toString()
toString
in class Object
Object.toString()
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.