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.ServerEntryorg.apache.directory.shared.ldap.exception.LdapExceptionpublic 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.ServerEntryorg.apache.directory.shared.ldap.exception.LdapExceptionpublic 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.ServerEntryorg.apache.directory.shared.ldap.exception.LdapExceptionpublic 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.ServerEntryorg.apache.directory.shared.ldap.exception.LdapExceptionpublic 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.ServerEntryorg.apache.directory.shared.ldap.exception.LdapExceptionpublic 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.ServerEntryorg.apache.directory.shared.ldap.exception.LdapExceptionpublic boolean contains(org.apache.directory.shared.ldap.schema.AttributeType attributeType,
byte[]... values)
contains in interface org.apache.directory.shared.ldap.entry.ServerEntrypublic boolean contains(org.apache.directory.shared.ldap.schema.AttributeType attributeType,
String... values)
contains in interface org.apache.directory.shared.ldap.entry.ServerEntrypublic 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.ServerEntrypublic boolean containsAttribute(org.apache.directory.shared.ldap.schema.AttributeType attributeType)
containsAttribute in interface org.apache.directory.shared.ldap.entry.ServerEntrypublic 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.ServerEntrypublic Set<org.apache.directory.shared.ldap.schema.AttributeType> getAttributeTypes()
getAttributeTypes in interface org.apache.directory.shared.ldap.entry.ServerEntrypublic boolean hasObjectClass(org.apache.directory.shared.ldap.entry.EntryAttribute objectClass)
hasObjectClass in interface org.apache.directory.shared.ldap.entry.ServerEntrypublic boolean isValid()
isValid in interface org.apache.directory.shared.ldap.entry.ServerEntrypublic boolean isValid(String objectClass)
isValid in interface org.apache.directory.shared.ldap.entry.ServerEntrypublic boolean isValid(org.apache.directory.shared.ldap.entry.EntryAttribute objectClass)
isValid in interface org.apache.directory.shared.ldap.entry.ServerEntrypublic 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.ServerEntryorg.apache.directory.shared.ldap.exception.LdapExceptionpublic 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.ServerEntryorg.apache.directory.shared.ldap.exception.LdapExceptionpublic 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.ServerEntryorg.apache.directory.shared.ldap.exception.LdapExceptionpublic 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.ServerEntryorg.apache.directory.shared.ldap.exception.LdapExceptionpublic 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.ServerEntryorg.apache.directory.shared.ldap.exception.LdapExceptionpublic 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.ServerEntryorg.apache.directory.shared.ldap.exception.LdapExceptionpublic 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.ServerEntryorg.apache.directory.shared.ldap.exception.LdapExceptionpublic 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.ServerEntryorg.apache.directory.shared.ldap.exception.LdapExceptionpublic 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.ServerEntryorg.apache.directory.shared.ldap.exception.LdapExceptionpublic 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.Entryremove in interface org.apache.directory.shared.ldap.entry.ServerEntryorg.apache.directory.shared.ldap.exception.LdapExceptionpublic 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.ServerEntrypublic 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.ServerEntrypublic 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.Entryorg.apache.directory.shared.ldap.exception.LdapExceptionpublic void add(String upId, String... values) throws org.apache.directory.shared.ldap.exception.LdapException
add in interface org.apache.directory.shared.ldap.entry.Entryorg.apache.directory.shared.ldap.exception.LdapExceptionpublic void add(String upId, byte[]... values) throws org.apache.directory.shared.ldap.exception.LdapException
add in interface org.apache.directory.shared.ldap.entry.Entryorg.apache.directory.shared.ldap.exception.LdapExceptionpublic 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.Entryorg.apache.directory.shared.ldap.exception.LdapExceptionpublic void clear()
clear in interface org.apache.directory.shared.ldap.entry.Entrypublic 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.Entryorg.apache.directory.shared.ldap.exception.LdapExceptionpublic boolean contains(String upId, byte[]... values)
contains in interface org.apache.directory.shared.ldap.entry.Entrypublic boolean contains(String upId, String... values)
contains in interface org.apache.directory.shared.ldap.entry.Entrypublic boolean contains(String upId, org.apache.directory.shared.ldap.entry.Value<?>... values)
contains in interface org.apache.directory.shared.ldap.entry.Entrypublic boolean containsAttribute(String... attributes)
containsAttribute in interface org.apache.directory.shared.ldap.entry.Entrypublic org.apache.directory.shared.ldap.entry.EntryAttribute get(String alias)
get in interface org.apache.directory.shared.ldap.entry.Entrypublic org.apache.directory.shared.ldap.name.DN getDn()
getDn in interface org.apache.directory.shared.ldap.entry.Entrypublic boolean hasObjectClass(String objectClass)
hasObjectClass in interface org.apache.directory.shared.ldap.entry.Entrypublic 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.Entryorg.apache.directory.shared.ldap.exception.LdapExceptionpublic org.apache.directory.shared.ldap.entry.EntryAttribute put(String upId, byte[]... values)
put in interface org.apache.directory.shared.ldap.entry.Entrypublic org.apache.directory.shared.ldap.entry.EntryAttribute put(String upId, String... values)
put in interface org.apache.directory.shared.ldap.entry.Entrypublic 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.Entrypublic boolean remove(String upId, byte[]... values) throws org.apache.directory.shared.ldap.exception.LdapException
remove in interface org.apache.directory.shared.ldap.entry.Entryorg.apache.directory.shared.ldap.exception.LdapExceptionpublic boolean remove(String upId, String... values) throws org.apache.directory.shared.ldap.exception.LdapException
remove in interface org.apache.directory.shared.ldap.entry.Entryorg.apache.directory.shared.ldap.exception.LdapExceptionpublic 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.Entryorg.apache.directory.shared.ldap.exception.LdapExceptionpublic List<org.apache.directory.shared.ldap.entry.EntryAttribute> removeAttributes(String... attributes)
removeAttributes in interface org.apache.directory.shared.ldap.entry.Entrypublic List<org.apache.directory.shared.ldap.entry.EntryAttribute> set(String... upIds)
set in interface org.apache.directory.shared.ldap.entry.Entrypublic void setDn(org.apache.directory.shared.ldap.name.DN dn)
setDn in interface org.apache.directory.shared.ldap.entry.Entrypublic int size()
size in interface org.apache.directory.shared.ldap.entry.Entrypublic 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.ServerEntryorg.apache.directory.shared.ldap.exception.LdapExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionWe can't use this method for a ServerEntrypublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionWe can't use this method for a ServerEntrypublic org.apache.directory.shared.ldap.entry.ServerEntry clone()
public boolean equals(Object obj)
equals in class ObjectObject.equals(Object);Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.