public class ClonedServerEntry extends Object implements org.apache.directory.shared.ldap.entry.ServerEntry
Constructor and Description |
---|
ClonedServerEntry(org.apache.directory.shared.ldap.entry.ServerEntry originalEntry)
Creates a new instance of ClonedServerEntry.
|
Modifier and Type | Method and Description |
---|---|
void |
add(org.apache.directory.shared.ldap.schema.AttributeType attributeType,
byte[]... values) |
void |
add(org.apache.directory.shared.ldap.schema.AttributeType attributeType,
String... values) |
void |
add(org.apache.directory.shared.ldap.schema.AttributeType attributeType,
org.apache.directory.shared.ldap.entry.Value<?>... values) |
void |
add(org.apache.directory.shared.ldap.entry.EntryAttribute... attributes) |
void |
add(String upId,
org.apache.directory.shared.ldap.schema.AttributeType attributeType,
byte[]... values) |
void |
add(String upId,
org.apache.directory.shared.ldap.schema.AttributeType attributeType,
String... values) |
void |
add(String upId,
org.apache.directory.shared.ldap.schema.AttributeType attributeType,
org.apache.directory.shared.ldap.entry.Value<?>... values) |
void |
add(String upId,
byte[]... values) |
void |
add(String upId,
String... values) |
void |
add(String upId,
org.apache.directory.shared.ldap.entry.Value<?>... values) |
void |
clear() |
org.apache.directory.shared.ldap.entry.ServerEntry |
clone() |
boolean |
contains(org.apache.directory.shared.ldap.schema.AttributeType attributeType,
byte[]... values) |
boolean |
contains(org.apache.directory.shared.ldap.schema.AttributeType attributeType,
String... values) |
boolean |
contains(org.apache.directory.shared.ldap.schema.AttributeType attributeType,
org.apache.directory.shared.ldap.entry.Value<?>... values) |
boolean |
contains(org.apache.directory.shared.ldap.entry.EntryAttribute... attributes) |
boolean |
contains(String upId,
byte[]... values) |
boolean |
contains(String upId,
String... values) |
boolean |
contains(String upId,
org.apache.directory.shared.ldap.entry.Value<?>... values) |
boolean |
containsAttribute(org.apache.directory.shared.ldap.schema.AttributeType attributeType) |
boolean |
containsAttribute(String... attributes) |
boolean |
equals(Object obj) |
org.apache.directory.shared.ldap.entry.EntryAttribute |
get(org.apache.directory.shared.ldap.schema.AttributeType attributeType) |
org.apache.directory.shared.ldap.entry.EntryAttribute |
get(String alias) |
Set<org.apache.directory.shared.ldap.schema.AttributeType> |
getAttributeTypes() |
org.apache.directory.shared.ldap.entry.Entry |
getClonedEntry() |
org.apache.directory.shared.ldap.name.DN |
getDn() |
org.apache.directory.shared.ldap.entry.ServerEntry |
getOriginalEntry() |
boolean |
hasObjectClass(org.apache.directory.shared.ldap.entry.EntryAttribute objectClass) |
boolean |
hasObjectClass(String objectClass) |
boolean |
isValid() |
boolean |
isValid(org.apache.directory.shared.ldap.entry.EntryAttribute objectClass) |
boolean |
isValid(String objectClass) |
Iterator<org.apache.directory.shared.ldap.entry.EntryAttribute> |
iterator() |
org.apache.directory.shared.ldap.entry.EntryAttribute |
put(org.apache.directory.shared.ldap.schema.AttributeType attributeType,
byte[]... values) |
org.apache.directory.shared.ldap.entry.EntryAttribute |
put(org.apache.directory.shared.ldap.schema.AttributeType attributeType,
String... values) |
org.apache.directory.shared.ldap.entry.EntryAttribute |
put(org.apache.directory.shared.ldap.schema.AttributeType attributeType,
org.apache.directory.shared.ldap.entry.Value<?>... values) |
List<org.apache.directory.shared.ldap.entry.EntryAttribute> |
put(org.apache.directory.shared.ldap.entry.EntryAttribute... attributes) |
org.apache.directory.shared.ldap.entry.EntryAttribute |
put(String upId,
org.apache.directory.shared.ldap.schema.AttributeType attributeType,
byte[]... values) |
org.apache.directory.shared.ldap.entry.EntryAttribute |
put(String upId,
org.apache.directory.shared.ldap.schema.AttributeType attributeType,
String... values) |
org.apache.directory.shared.ldap.entry.EntryAttribute |
put(String upId,
org.apache.directory.shared.ldap.schema.AttributeType attributeType,
org.apache.directory.shared.ldap.entry.Value<?>... values) |
org.apache.directory.shared.ldap.entry.EntryAttribute |
put(String upId,
byte[]... values) |
org.apache.directory.shared.ldap.entry.EntryAttribute |
put(String upId,
String... values) |
org.apache.directory.shared.ldap.entry.EntryAttribute |
put(String upId,
org.apache.directory.shared.ldap.entry.Value<?>... values) |
void |
readExternal(ObjectInput in) |
boolean |
remove(org.apache.directory.shared.ldap.schema.AttributeType attributeType,
byte[]... values) |
boolean |
remove(org.apache.directory.shared.ldap.schema.AttributeType attributeType,
String... values) |
boolean |
remove(org.apache.directory.shared.ldap.schema.AttributeType attributeType,
org.apache.directory.shared.ldap.entry.Value<?>... values) |
List<org.apache.directory.shared.ldap.entry.EntryAttribute> |
remove(org.apache.directory.shared.ldap.entry.EntryAttribute... attributes) |
boolean |
remove(String upId,
byte[]... values) |
boolean |
remove(String upId,
String... values) |
boolean |
remove(String upId,
org.apache.directory.shared.ldap.entry.Value<?>... values) |
List<org.apache.directory.shared.ldap.entry.EntryAttribute> |
removeAttributes(org.apache.directory.shared.ldap.schema.AttributeType... attributes) |
List<org.apache.directory.shared.ldap.entry.EntryAttribute> |
removeAttributes(String... attributes) |
List<org.apache.directory.shared.ldap.entry.EntryAttribute> |
set(org.apache.directory.shared.ldap.schema.AttributeType... attributeTypes) |
List<org.apache.directory.shared.ldap.entry.EntryAttribute> |
set(String... upIds) |
void |
setDn(org.apache.directory.shared.ldap.name.DN dn) |
int |
size() |
org.apache.directory.shared.ldap.entry.Entry |
toClientEntry() |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public ClonedServerEntry(org.apache.directory.shared.ldap.entry.ServerEntry originalEntry)
originalEntry
- The original entrypublic org.apache.directory.shared.ldap.entry.ServerEntry getOriginalEntry()
public org.apache.directory.shared.ldap.entry.Entry getClonedEntry()
public void add(org.apache.directory.shared.ldap.schema.AttributeType attributeType, byte[]... values) throws org.apache.directory.shared.ldap.exception.LdapException
add
in interface org.apache.directory.shared.ldap.entry.ServerEntry
org.apache.directory.shared.ldap.exception.LdapException
public void add(org.apache.directory.shared.ldap.schema.AttributeType attributeType, String... values) throws org.apache.directory.shared.ldap.exception.LdapException
add
in interface org.apache.directory.shared.ldap.entry.ServerEntry
org.apache.directory.shared.ldap.exception.LdapException
public void add(org.apache.directory.shared.ldap.schema.AttributeType attributeType, org.apache.directory.shared.ldap.entry.Value<?>... values) throws org.apache.directory.shared.ldap.exception.LdapException
add
in interface org.apache.directory.shared.ldap.entry.ServerEntry
org.apache.directory.shared.ldap.exception.LdapException
public void add(String upId, org.apache.directory.shared.ldap.schema.AttributeType attributeType, byte[]... values) throws org.apache.directory.shared.ldap.exception.LdapException
add
in interface org.apache.directory.shared.ldap.entry.ServerEntry
org.apache.directory.shared.ldap.exception.LdapException
public void add(String upId, org.apache.directory.shared.ldap.schema.AttributeType attributeType, String... values) throws org.apache.directory.shared.ldap.exception.LdapException
add
in interface org.apache.directory.shared.ldap.entry.ServerEntry
org.apache.directory.shared.ldap.exception.LdapException
public void add(String upId, org.apache.directory.shared.ldap.schema.AttributeType attributeType, org.apache.directory.shared.ldap.entry.Value<?>... values) throws org.apache.directory.shared.ldap.exception.LdapException
add
in interface org.apache.directory.shared.ldap.entry.ServerEntry
org.apache.directory.shared.ldap.exception.LdapException
public boolean contains(org.apache.directory.shared.ldap.schema.AttributeType attributeType, byte[]... values)
contains
in interface org.apache.directory.shared.ldap.entry.ServerEntry
public boolean contains(org.apache.directory.shared.ldap.schema.AttributeType attributeType, String... values)
contains
in interface org.apache.directory.shared.ldap.entry.ServerEntry
public boolean contains(org.apache.directory.shared.ldap.schema.AttributeType attributeType, org.apache.directory.shared.ldap.entry.Value<?>... values)
contains
in interface org.apache.directory.shared.ldap.entry.ServerEntry
public boolean containsAttribute(org.apache.directory.shared.ldap.schema.AttributeType attributeType)
containsAttribute
in interface org.apache.directory.shared.ldap.entry.ServerEntry
public org.apache.directory.shared.ldap.entry.EntryAttribute get(org.apache.directory.shared.ldap.schema.AttributeType attributeType)
get
in interface org.apache.directory.shared.ldap.entry.ServerEntry
public Set<org.apache.directory.shared.ldap.schema.AttributeType> getAttributeTypes()
getAttributeTypes
in interface org.apache.directory.shared.ldap.entry.ServerEntry
public boolean hasObjectClass(org.apache.directory.shared.ldap.entry.EntryAttribute objectClass)
hasObjectClass
in interface org.apache.directory.shared.ldap.entry.ServerEntry
public boolean isValid()
isValid
in interface org.apache.directory.shared.ldap.entry.ServerEntry
public boolean isValid(String objectClass)
isValid
in interface org.apache.directory.shared.ldap.entry.ServerEntry
public boolean isValid(org.apache.directory.shared.ldap.entry.EntryAttribute objectClass)
isValid
in interface org.apache.directory.shared.ldap.entry.ServerEntry
public org.apache.directory.shared.ldap.entry.EntryAttribute put(org.apache.directory.shared.ldap.schema.AttributeType attributeType, byte[]... values) throws org.apache.directory.shared.ldap.exception.LdapException
put
in interface org.apache.directory.shared.ldap.entry.ServerEntry
org.apache.directory.shared.ldap.exception.LdapException
public org.apache.directory.shared.ldap.entry.EntryAttribute put(org.apache.directory.shared.ldap.schema.AttributeType attributeType, String... values) throws org.apache.directory.shared.ldap.exception.LdapException
put
in interface org.apache.directory.shared.ldap.entry.ServerEntry
org.apache.directory.shared.ldap.exception.LdapException
public org.apache.directory.shared.ldap.entry.EntryAttribute put(org.apache.directory.shared.ldap.schema.AttributeType attributeType, org.apache.directory.shared.ldap.entry.Value<?>... values) throws org.apache.directory.shared.ldap.exception.LdapException
put
in interface org.apache.directory.shared.ldap.entry.ServerEntry
org.apache.directory.shared.ldap.exception.LdapException
public org.apache.directory.shared.ldap.entry.EntryAttribute put(String upId, org.apache.directory.shared.ldap.schema.AttributeType attributeType, byte[]... values) throws org.apache.directory.shared.ldap.exception.LdapException
put
in interface org.apache.directory.shared.ldap.entry.ServerEntry
org.apache.directory.shared.ldap.exception.LdapException
public org.apache.directory.shared.ldap.entry.EntryAttribute put(String upId, org.apache.directory.shared.ldap.schema.AttributeType attributeType, String... values) throws org.apache.directory.shared.ldap.exception.LdapException
put
in interface org.apache.directory.shared.ldap.entry.ServerEntry
org.apache.directory.shared.ldap.exception.LdapException
public org.apache.directory.shared.ldap.entry.EntryAttribute put(String upId, org.apache.directory.shared.ldap.schema.AttributeType attributeType, org.apache.directory.shared.ldap.entry.Value<?>... values) throws org.apache.directory.shared.ldap.exception.LdapException
put
in interface org.apache.directory.shared.ldap.entry.ServerEntry
org.apache.directory.shared.ldap.exception.LdapException
public boolean remove(org.apache.directory.shared.ldap.schema.AttributeType attributeType, byte[]... values) throws org.apache.directory.shared.ldap.exception.LdapException
remove
in interface org.apache.directory.shared.ldap.entry.ServerEntry
org.apache.directory.shared.ldap.exception.LdapException
public boolean remove(org.apache.directory.shared.ldap.schema.AttributeType attributeType, String... values) throws org.apache.directory.shared.ldap.exception.LdapException
remove
in interface org.apache.directory.shared.ldap.entry.ServerEntry
org.apache.directory.shared.ldap.exception.LdapException
public boolean remove(org.apache.directory.shared.ldap.schema.AttributeType attributeType, org.apache.directory.shared.ldap.entry.Value<?>... values) throws org.apache.directory.shared.ldap.exception.LdapException
remove
in interface org.apache.directory.shared.ldap.entry.ServerEntry
org.apache.directory.shared.ldap.exception.LdapException
public List<org.apache.directory.shared.ldap.entry.EntryAttribute> remove(org.apache.directory.shared.ldap.entry.EntryAttribute... attributes) throws org.apache.directory.shared.ldap.exception.LdapException
remove
in interface org.apache.directory.shared.ldap.entry.Entry
remove
in interface org.apache.directory.shared.ldap.entry.ServerEntry
org.apache.directory.shared.ldap.exception.LdapException
public List<org.apache.directory.shared.ldap.entry.EntryAttribute> removeAttributes(org.apache.directory.shared.ldap.schema.AttributeType... attributes)
removeAttributes
in interface org.apache.directory.shared.ldap.entry.ServerEntry
public List<org.apache.directory.shared.ldap.entry.EntryAttribute> set(org.apache.directory.shared.ldap.schema.AttributeType... attributeTypes)
set
in interface org.apache.directory.shared.ldap.entry.ServerEntry
public void add(org.apache.directory.shared.ldap.entry.EntryAttribute... attributes) throws org.apache.directory.shared.ldap.exception.LdapException
add
in interface org.apache.directory.shared.ldap.entry.Entry
org.apache.directory.shared.ldap.exception.LdapException
public void add(String upId, String... values) throws org.apache.directory.shared.ldap.exception.LdapException
add
in interface org.apache.directory.shared.ldap.entry.Entry
org.apache.directory.shared.ldap.exception.LdapException
public void add(String upId, byte[]... values) throws org.apache.directory.shared.ldap.exception.LdapException
add
in interface org.apache.directory.shared.ldap.entry.Entry
org.apache.directory.shared.ldap.exception.LdapException
public void add(String upId, org.apache.directory.shared.ldap.entry.Value<?>... values) throws org.apache.directory.shared.ldap.exception.LdapException
add
in interface org.apache.directory.shared.ldap.entry.Entry
org.apache.directory.shared.ldap.exception.LdapException
public void clear()
clear
in interface org.apache.directory.shared.ldap.entry.Entry
public boolean contains(org.apache.directory.shared.ldap.entry.EntryAttribute... attributes) throws org.apache.directory.shared.ldap.exception.LdapException
contains
in interface org.apache.directory.shared.ldap.entry.Entry
org.apache.directory.shared.ldap.exception.LdapException
public boolean contains(String upId, byte[]... values)
contains
in interface org.apache.directory.shared.ldap.entry.Entry
public boolean contains(String upId, String... values)
contains
in interface org.apache.directory.shared.ldap.entry.Entry
public boolean contains(String upId, org.apache.directory.shared.ldap.entry.Value<?>... values)
contains
in interface org.apache.directory.shared.ldap.entry.Entry
public boolean containsAttribute(String... attributes)
containsAttribute
in interface org.apache.directory.shared.ldap.entry.Entry
public org.apache.directory.shared.ldap.entry.EntryAttribute get(String alias)
get
in interface org.apache.directory.shared.ldap.entry.Entry
public org.apache.directory.shared.ldap.name.DN getDn()
getDn
in interface org.apache.directory.shared.ldap.entry.Entry
public boolean hasObjectClass(String objectClass)
hasObjectClass
in interface org.apache.directory.shared.ldap.entry.Entry
public Iterator<org.apache.directory.shared.ldap.entry.EntryAttribute> iterator()
public List<org.apache.directory.shared.ldap.entry.EntryAttribute> put(org.apache.directory.shared.ldap.entry.EntryAttribute... attributes) throws org.apache.directory.shared.ldap.exception.LdapException
put
in interface org.apache.directory.shared.ldap.entry.Entry
org.apache.directory.shared.ldap.exception.LdapException
public org.apache.directory.shared.ldap.entry.EntryAttribute put(String upId, byte[]... values)
put
in interface org.apache.directory.shared.ldap.entry.Entry
public org.apache.directory.shared.ldap.entry.EntryAttribute put(String upId, String... values)
put
in interface org.apache.directory.shared.ldap.entry.Entry
public org.apache.directory.shared.ldap.entry.EntryAttribute put(String upId, org.apache.directory.shared.ldap.entry.Value<?>... values)
put
in interface org.apache.directory.shared.ldap.entry.Entry
public boolean remove(String upId, byte[]... values) throws org.apache.directory.shared.ldap.exception.LdapException
remove
in interface org.apache.directory.shared.ldap.entry.Entry
org.apache.directory.shared.ldap.exception.LdapException
public boolean remove(String upId, String... values) throws org.apache.directory.shared.ldap.exception.LdapException
remove
in interface org.apache.directory.shared.ldap.entry.Entry
org.apache.directory.shared.ldap.exception.LdapException
public boolean remove(String upId, org.apache.directory.shared.ldap.entry.Value<?>... values) throws org.apache.directory.shared.ldap.exception.LdapException
remove
in interface org.apache.directory.shared.ldap.entry.Entry
org.apache.directory.shared.ldap.exception.LdapException
public List<org.apache.directory.shared.ldap.entry.EntryAttribute> removeAttributes(String... attributes)
removeAttributes
in interface org.apache.directory.shared.ldap.entry.Entry
public List<org.apache.directory.shared.ldap.entry.EntryAttribute> set(String... upIds)
set
in interface org.apache.directory.shared.ldap.entry.Entry
public void setDn(org.apache.directory.shared.ldap.name.DN dn)
setDn
in interface org.apache.directory.shared.ldap.entry.Entry
public int size()
size
in interface org.apache.directory.shared.ldap.entry.Entry
public org.apache.directory.shared.ldap.entry.Entry toClientEntry() throws org.apache.directory.shared.ldap.exception.LdapException
toClientEntry
in interface org.apache.directory.shared.ldap.entry.ServerEntry
org.apache.directory.shared.ldap.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.shared.ldap.entry.ServerEntry clone()
public boolean equals(Object obj)
equals
in class Object
Object.equals(Object);
Copyright © 2003–2013 The Apache Software Foundation. All rights reserved.