|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.core.entry.ClonedServerEntry
public class ClonedServerEntry
A ServerEntry refers to the original entry before being modified by EntryFilters or operations.
Constructor Summary | |
---|---|
ClonedServerEntry(ServerEntry originalEntry)
Creates a new instance of ClonedServerEntry. |
Method Summary | |
---|---|
void |
add(org.apache.directory.shared.ldap.schema.AttributeType attributeType,
byte[]... values)
Add an attribute (represented by its AttributeType and some binary values) into an entry. |
void |
add(org.apache.directory.shared.ldap.schema.AttributeType attributeType,
java.lang.String... values)
Add an attribute (represented by its AttributeType and some String values) into an entry. |
void |
add(org.apache.directory.shared.ldap.schema.AttributeType attributeType,
org.apache.directory.shared.ldap.entry.Value<?>... values)
Add an attribute (represented by its AttributeType and some values) into an entry. |
void |
add(org.apache.directory.shared.ldap.entry.EntryAttribute... attributes)
|
void |
add(java.lang.String upId,
org.apache.directory.shared.ldap.schema.AttributeType attributeType,
byte[]... values)
Add an attribute (represented by its AttributeType and some binary values) into an entry. |
void |
add(java.lang.String upId,
org.apache.directory.shared.ldap.schema.AttributeType attributeType,
java.lang.String... values)
Add an attribute (represented by its AttributeType and some String values) into an entry. |
void |
add(java.lang.String upId,
org.apache.directory.shared.ldap.schema.AttributeType attributeType,
org.apache.directory.shared.ldap.entry.Value<?>... values)
Add an attribute (represented by its AttributeType and some values) into an entry. |
void |
add(java.lang.String upId,
byte[]... values)
|
void |
add(java.lang.String upId,
java.lang.String... values)
|
void |
add(java.lang.String upId,
org.apache.directory.shared.ldap.entry.Value<?>... values)
|
void |
clear()
|
ServerEntry |
clone()
A clone method to produce a clone of the current object |
boolean |
contains(org.apache.directory.shared.ldap.schema.AttributeType attributeType,
byte[]... values)
Checks if an entry contains an attribute with some given binary values. |
boolean |
contains(org.apache.directory.shared.ldap.schema.AttributeType attributeType,
java.lang.String... values)
Checks if an entry contains an attribute with some given String values. |
boolean |
contains(org.apache.directory.shared.ldap.schema.AttributeType attributeType,
org.apache.directory.shared.ldap.entry.Value<?>... values)
Checks if an entry contains an attribute with some given binary values. |
boolean |
contains(org.apache.directory.shared.ldap.entry.EntryAttribute... attributes)
|
boolean |
contains(java.lang.String upId,
byte[]... values)
|
boolean |
contains(java.lang.String upId,
java.lang.String... values)
|
boolean |
contains(java.lang.String upId,
org.apache.directory.shared.ldap.entry.Value<?>... values)
|
boolean |
containsAttribute(org.apache.directory.shared.ldap.schema.AttributeType attributeType)
Checks if an entry contains a specific AttributeType. |
boolean |
containsAttribute(java.lang.String... attributes)
|
org.apache.directory.shared.ldap.entry.EntryAttribute |
get(org.apache.directory.shared.ldap.schema.AttributeType attributeType)
Returns the attribute associated with an AttributeType |
org.apache.directory.shared.ldap.entry.EntryAttribute |
get(java.lang.String alias)
|
java.util.Set<org.apache.directory.shared.ldap.schema.AttributeType> |
getAttributeTypes()
Gets all the attributes type |
org.apache.directory.shared.ldap.entry.Entry |
getClonedEntry()
|
org.apache.directory.shared.ldap.name.LdapDN |
getDn()
|
ServerEntry |
getOriginalEntry()
|
boolean |
hasObjectClass(org.apache.directory.shared.ldap.entry.EntryAttribute objectClass)
Tells if an entry has a specific ObjectClass Attribute |
boolean |
hasObjectClass(java.lang.String objectClass)
|
boolean |
isValid()
Fail fast check performed to determine entry consistency according to schema characteristics. |
boolean |
isValid(org.apache.directory.shared.ldap.entry.EntryAttribute objectClass)
Check performed to determine entry consistency according to the schema requirements of a particular objectClass. |
boolean |
isValid(java.lang.String objectClass)
Check performed to determine entry consistency according to the schema requirements of a particular objectClass. |
java.util.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)
Places a new attribute with the supplied AttributeType and binary values into the attribute collection. |
org.apache.directory.shared.ldap.entry.EntryAttribute |
put(org.apache.directory.shared.ldap.schema.AttributeType attributeType,
java.lang.String... values)
Places a new attribute with the supplied AttributeType and String values into the attribute collection. |
org.apache.directory.shared.ldap.entry.EntryAttribute |
put(org.apache.directory.shared.ldap.schema.AttributeType attributeType,
org.apache.directory.shared.ldap.entry.Value<?>... values)
Places a new attribute with the supplied AttributeType and some values into the attribute collection. |
java.util.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(java.lang.String upId,
org.apache.directory.shared.ldap.schema.AttributeType attributeType,
byte[]... values)
Places a new attribute with the supplied AttributeType and some binary values into the attribute collection. |
org.apache.directory.shared.ldap.entry.EntryAttribute |
put(java.lang.String upId,
org.apache.directory.shared.ldap.schema.AttributeType attributeType,
java.lang.String... values)
Places a new attribute with the supplied AttributeType and some String values into the attribute collection. |
org.apache.directory.shared.ldap.entry.EntryAttribute |
put(java.lang.String upId,
org.apache.directory.shared.ldap.schema.AttributeType attributeType,
org.apache.directory.shared.ldap.entry.Value<?>... values)
Places a new attribute with the supplied AttributeType and some values into the attribute collection. |
org.apache.directory.shared.ldap.entry.EntryAttribute |
put(java.lang.String upId,
byte[]... values)
|
org.apache.directory.shared.ldap.entry.EntryAttribute |
put(java.lang.String upId,
java.lang.String... values)
|
org.apache.directory.shared.ldap.entry.EntryAttribute |
put(java.lang.String upId,
org.apache.directory.shared.ldap.entry.Value<?>... values)
|
void |
readExternal(java.io.ObjectInput in)
|
boolean |
remove(org.apache.directory.shared.ldap.schema.AttributeType attributeType,
byte[]... values)
Removes the specified binary values from an attribute. |
boolean |
remove(org.apache.directory.shared.ldap.schema.AttributeType attributeType,
java.lang.String... values)
Removes the specified String values from an attribute. |
boolean |
remove(org.apache.directory.shared.ldap.schema.AttributeType attributeType,
org.apache.directory.shared.ldap.entry.Value<?>... values)
Removes the specified values from an attribute. |
java.util.List<org.apache.directory.shared.ldap.entry.EntryAttribute> |
remove(org.apache.directory.shared.ldap.entry.EntryAttribute... attributes)
Removes the specified attributes. |
boolean |
remove(java.lang.String upId,
byte[]... values)
|
boolean |
remove(java.lang.String upId,
java.lang.String... values)
|
boolean |
remove(java.lang.String upId,
org.apache.directory.shared.ldap.entry.Value<?>... values)
|
java.util.List<org.apache.directory.shared.ldap.entry.EntryAttribute> |
removeAttributes(org.apache.directory.shared.ldap.schema.AttributeType... attributes)
Removes the attribute with the specified AttributeTypes. |
java.util.List<org.apache.directory.shared.ldap.entry.EntryAttribute> |
removeAttributes(java.lang.String... attributes)
|
java.util.List<org.apache.directory.shared.ldap.entry.EntryAttribute> |
set(org.apache.directory.shared.ldap.schema.AttributeType... attributeTypes)
Put some new attributes using the attributeTypes. |
java.util.List<org.apache.directory.shared.ldap.entry.EntryAttribute> |
set(java.lang.String... upIds)
|
void |
setDn(org.apache.directory.shared.ldap.name.LdapDN dn)
|
int |
size()
|
org.apache.directory.shared.ldap.entry.Entry |
toClientEntry()
Convert the ServerEntry to a ClientEntry |
java.lang.String |
toString()
|
void |
writeExternal(java.io.ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ClonedServerEntry(ServerEntry originalEntry)
originalEntry
- The original entryMethod Detail |
---|
public 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 javax.naming.NamingException
ServerEntry
Add an attribute (represented by its AttributeType and some binary values) into an entry.
If we already have an attribute with the same values, the duplicated values are not added (duplicated values are not allowed)
If the value cannot be added, or if the AttributeType is null or invalid, a NamingException is thrown.
add
in interface ServerEntry
attributeType
- The attribute Type.values
- The list of binary values to inject. It can be empty.
javax.naming.NamingException
- If the attribute does not existpublic void add(org.apache.directory.shared.ldap.schema.AttributeType attributeType, java.lang.String... values) throws javax.naming.NamingException
ServerEntry
Add an attribute (represented by its AttributeType and some String values) into an entry.
If we already have an attribute with the same values, the duplicated values are not added (duplicated values are not allowed)
If the value cannot be added, or if the AttributeType is null or invalid, a NamingException is thrown.
add
in interface ServerEntry
attributeType
- The attribute Typevalues
- The list of binary values to inject. It can be empty
javax.naming.NamingException
- If the attribute does not existpublic void add(org.apache.directory.shared.ldap.schema.AttributeType attributeType, org.apache.directory.shared.ldap.entry.Value<?>... values) throws javax.naming.NamingException
ServerEntry
Add an attribute (represented by its AttributeType and some values) into an entry.
If we already have an attribute with the same values, the duplicated values are not added (duplicated values are not allowed)
If the value cannot be added, or if the AttributeType is null or invalid, a NamingException is thrown.
add
in interface ServerEntry
attributeType
- The attribute Typevalues
- The list of binary values to inject. It can be empty
javax.naming.NamingException
- If the attribute does not existpublic void add(java.lang.String upId, org.apache.directory.shared.ldap.schema.AttributeType attributeType, byte[]... values) throws javax.naming.NamingException
ServerEntry
Add an attribute (represented by its AttributeType and some binary values) into an entry. Set the User Provider ID at the same time
If we already have an attribute with the same values, the duplicated values are not added (duplicated values are not allowed)
If the value cannot be added, or if the AttributeType is null or invalid, a NamingException is thrown.
add
in interface ServerEntry
upId
- The user provided ID for the added AttributeTypeattributeType
- The attribute Type.values
- The list of binary values to add. It can be empty.
javax.naming.NamingException
- If the attribute does not existpublic void add(java.lang.String upId, org.apache.directory.shared.ldap.schema.AttributeType attributeType, java.lang.String... values) throws javax.naming.NamingException
ServerEntry
Add an attribute (represented by its AttributeType and some String values) into an entry. Set the User Provider ID at the same time
If we already have an attribute with the same values, the duplicated values are not added (duplicated values are not allowed)
If the value cannot be added, or if the AttributeType is null or invalid, a NamingException is thrown.
add
in interface ServerEntry
upId
- The user provided ID for the added AttributeTypeattributeType
- The attribute Type.values
- The list of binary values to add. It can be empty.
javax.naming.NamingException
- If the attribute does not existpublic void add(java.lang.String upId, org.apache.directory.shared.ldap.schema.AttributeType attributeType, org.apache.directory.shared.ldap.entry.Value<?>... values) throws javax.naming.NamingException
ServerEntry
Add an attribute (represented by its AttributeType and some values) into an entry. Set the User Provider ID at the same time
If we already have an attribute with the same values, nothing is done (duplicated values are not allowed)
If the value cannot be added, or if the AttributeType is null or invalid, a NamingException is thrown.
add
in interface ServerEntry
upId
- The user provided ID for the added AttributeTypeattributeType
- The attribute Type.values
- The list of values to add. It can be empty.
javax.naming.NamingException
- If the attribute does not existpublic boolean contains(org.apache.directory.shared.ldap.schema.AttributeType attributeType, byte[]... values)
ServerEntry
contains
in interface ServerEntry
attributeType
- The Attribute we are looking for.values
- The searched values.
true
if all the values are found within the attribute,
false
otherwise, or if the attributes does not exist.public boolean contains(org.apache.directory.shared.ldap.schema.AttributeType attributeType, java.lang.String... values)
ServerEntry
contains
in interface ServerEntry
attributeType
- The Attribute we are looking for.values
- The searched values.
true
if all the values are found within the attribute,
false
otherwise, or if the attributes does not exist.public boolean contains(org.apache.directory.shared.ldap.schema.AttributeType attributeType, org.apache.directory.shared.ldap.entry.Value<?>... values)
ServerEntry
contains
in interface ServerEntry
attributeType
- The Attribute we are looking for.values
- The searched values.
true
if all the values are found within the attribute,
false
otherwise, or if the attributes does not exist.public boolean containsAttribute(org.apache.directory.shared.ldap.schema.AttributeType attributeType)
ServerEntry
containsAttribute
in interface ServerEntry
attributeType
- The AttributeType to look for.
true
if the attribute is found within the entry.public org.apache.directory.shared.ldap.entry.EntryAttribute get(org.apache.directory.shared.ldap.schema.AttributeType attributeType)
ServerEntry
get
in interface ServerEntry
public java.util.Set<org.apache.directory.shared.ldap.schema.AttributeType> getAttributeTypes()
ServerEntry
getAttributeTypes
in interface ServerEntry
public boolean hasObjectClass(org.apache.directory.shared.ldap.entry.EntryAttribute objectClass)
ServerEntry
hasObjectClass
in interface ServerEntry
objectClass
- The ObjectClass we want to check
true
if the ObjectClass value is present
in the ObjectClass attributepublic boolean isValid()
ServerEntry
isValid
in interface ServerEntry
public boolean isValid(java.lang.String objectClass)
ServerEntry
isValid
in interface ServerEntry
objectClass
- the objectClass to use while checking for validity
public boolean isValid(org.apache.directory.shared.ldap.entry.EntryAttribute objectClass)
ServerEntry
isValid
in interface ServerEntry
objectClass
- the objectClass to use while checking for validity
public org.apache.directory.shared.ldap.entry.EntryAttribute put(org.apache.directory.shared.ldap.schema.AttributeType attributeType, byte[]... values) throws javax.naming.NamingException
ServerEntry
Places a new attribute with the supplied AttributeType and binary values into the attribute collection.
If there is already an attribute with the same AttributeType, the old one is removed from the collection and is returned by this method.
This method provides a mechanism to put an attribute with a
null
value: the value may be null
.
put
in interface ServerEntry
attributeType
- the type of the new attribute to be putvalues
- the binary values of the new attribute to be put
null
javax.naming.NamingException
- if there are failurespublic org.apache.directory.shared.ldap.entry.EntryAttribute put(org.apache.directory.shared.ldap.schema.AttributeType attributeType, java.lang.String... values) throws javax.naming.NamingException
ServerEntry
Places a new attribute with the supplied AttributeType and String values into the attribute collection.
If there is already an attribute with the same AttributeType, the old one is removed from the collection and is returned by this method.
This method provides a mechanism to put an attribute with a
null
value: the value may be null
.
put
in interface ServerEntry
attributeType
- the type of the new attribute to be putvalues
- the String values of the new attribute to be put
null
javax.naming.NamingException
- if there are failurespublic 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 javax.naming.NamingException
ServerEntry
Places a new attribute with the supplied AttributeType and some values into the attribute collection.
If there is already an attribute with the same AttributeType, the old one is removed from the collection and is returned by this method.
This method provides a mechanism to put an attribute with a
null
value: the value may be null
.
put
in interface ServerEntry
attributeType
- the type of the new attribute to be putvalues
- the values of the new attribute to be put
null
javax.naming.NamingException
- if there are failurespublic org.apache.directory.shared.ldap.entry.EntryAttribute put(java.lang.String upId, org.apache.directory.shared.ldap.schema.AttributeType attributeType, byte[]... values) throws javax.naming.NamingException
ServerEntry
Places a new attribute with the supplied AttributeType and some binary values into the attribute collection.
The given User provided ID will be used for this new AttributeEntry.
If there is already an attribute with the same AttributeType, the old one is removed from the collection and is returned by this method.
This method provides a mechanism to put an attribute with a
null
value: the value may be null
.
put
in interface ServerEntry
upId
- The User Provided ID to be stored into the AttributeEntryvalues
- the binary values of the new attribute to be put
null
javax.naming.NamingException
- if there are failures.public org.apache.directory.shared.ldap.entry.EntryAttribute put(java.lang.String upId, org.apache.directory.shared.ldap.schema.AttributeType attributeType, java.lang.String... values) throws javax.naming.NamingException
ServerEntry
Places a new attribute with the supplied AttributeType and some String values into the attribute collection.
The given User provided ID will be used for this new AttributeEntry.
If there is already an attribute with the same AttributeType, the old one is removed from the collection and is returned by this method.
This method provides a mechanism to put an attribute with a
null
value: the value may be null
.
put
in interface ServerEntry
upId
- The User Provided ID to be stored into the AttributeEntryattributeType
- the type of the new attribute to be putvalues
- the String values of the new attribute to be put
null
javax.naming.NamingException
- if there are failures.public org.apache.directory.shared.ldap.entry.EntryAttribute put(java.lang.String upId, org.apache.directory.shared.ldap.schema.AttributeType attributeType, org.apache.directory.shared.ldap.entry.Value<?>... values) throws javax.naming.NamingException
ServerEntry
Places a new attribute with the supplied AttributeType and some values into the attribute collection.
The given User provided ID will be used for this new AttributeEntry.
If there is already an attribute with the same AttributeType, the old one is removed from the collection and is returned by this method.
This method provides a mechanism to put an attribute with a
null
value: the value may be null
.
put
in interface ServerEntry
upId
- The User Provided ID to be stored into the AttributeEntryattributeType
- the type of the new attribute to be putvalues
- the values of the new attribute to be put
null
javax.naming.NamingException
- if there are failures.public boolean remove(org.apache.directory.shared.ldap.schema.AttributeType attributeType, byte[]... values) throws javax.naming.NamingException
ServerEntry
Removes the specified binary values from an attribute.
If at least one value is removed, this method returns true
.
If there is no more value after having removed the values, the attribute will be removed too.
If the attribute does not exist, nothing is done and the method returns
false
remove
in interface ServerEntry
attributeType
- The attribute typevalues
- the values to be removed
true
if at least a value is removed, false
if not all the values have been removed or if the attribute does not exist.
javax.naming.NamingException
public boolean remove(org.apache.directory.shared.ldap.schema.AttributeType attributeType, java.lang.String... values) throws javax.naming.NamingException
ServerEntry
Removes the specified String values from an attribute.
If at least one value is removed, this method returns true
.
If there is no more value after having removed the values, the attribute will be removed too.
If the attribute does not exist, nothing is done and the method returns
false
remove
in interface ServerEntry
attributeType
- The attribute typevalues
- the values to be removed
true
if at least a value is removed, false
if not all the values have been removed or if the attribute does not exist.
javax.naming.NamingException
public boolean remove(org.apache.directory.shared.ldap.schema.AttributeType attributeType, org.apache.directory.shared.ldap.entry.Value<?>... values) throws javax.naming.NamingException
ServerEntry
Removes the specified values from an attribute.
If at least one value is removed, this method returns true
.
If there is no more value after having removed the values, the attribute will be removed too.
If the attribute does not exist, nothing is done and the method returns
false
remove
in interface ServerEntry
attributeType
- The attribute typevalues
- the values to be removed
true
if at least a value is removed, false
if not all the values have been removed or if the attribute does not exist.
javax.naming.NamingException
public java.util.List<org.apache.directory.shared.ldap.entry.EntryAttribute> remove(org.apache.directory.shared.ldap.entry.EntryAttribute... attributes) throws javax.naming.NamingException
ServerEntry
null
.
remove
in interface ServerEntry
remove
in interface org.apache.directory.shared.ldap.entry.Entry
attributes
- the attributes to be removed
null
javax.naming.NamingException
public java.util.List<org.apache.directory.shared.ldap.entry.EntryAttribute> removeAttributes(org.apache.directory.shared.ldap.schema.AttributeType... attributes)
ServerEntry
Removes the attribute with the specified AttributeTypes.
The removed attribute are returned by this method.
If there is no attribute with the specified AttributeTypes,
the return value is null
.
removeAttributes
in interface ServerEntry
attributes
- the AttributeTypes to be removed
null
public java.util.List<org.apache.directory.shared.ldap.entry.EntryAttribute> set(org.apache.directory.shared.ldap.schema.AttributeType... attributeTypes)
ServerEntry
Put some new attributes using the attributeTypes. No value is inserted.
If an existing Attribute is found, it will be replaced by an empty attribute, and returned to the caller.
set
in interface ServerEntry
attributeTypes
- The AttributeTypes to add.
null
if no attribute are removed.public void add(org.apache.directory.shared.ldap.entry.EntryAttribute... attributes) throws javax.naming.NamingException
add
in interface org.apache.directory.shared.ldap.entry.Entry
javax.naming.NamingException
public void add(java.lang.String upId, java.lang.String... values) throws javax.naming.NamingException
add
in interface org.apache.directory.shared.ldap.entry.Entry
javax.naming.NamingException
public void add(java.lang.String upId, byte[]... values) throws javax.naming.NamingException
add
in interface org.apache.directory.shared.ldap.entry.Entry
javax.naming.NamingException
public void add(java.lang.String upId, org.apache.directory.shared.ldap.entry.Value<?>... values) throws javax.naming.NamingException
add
in interface org.apache.directory.shared.ldap.entry.Entry
javax.naming.NamingException
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 javax.naming.NamingException
contains
in interface org.apache.directory.shared.ldap.entry.Entry
javax.naming.NamingException
public boolean contains(java.lang.String upId, byte[]... values)
contains
in interface org.apache.directory.shared.ldap.entry.Entry
public boolean contains(java.lang.String upId, java.lang.String... values)
contains
in interface org.apache.directory.shared.ldap.entry.Entry
public boolean contains(java.lang.String upId, org.apache.directory.shared.ldap.entry.Value<?>... values)
contains
in interface org.apache.directory.shared.ldap.entry.Entry
public boolean containsAttribute(java.lang.String... attributes)
containsAttribute
in interface org.apache.directory.shared.ldap.entry.Entry
public org.apache.directory.shared.ldap.entry.EntryAttribute get(java.lang.String alias)
get
in interface org.apache.directory.shared.ldap.entry.Entry
public org.apache.directory.shared.ldap.name.LdapDN getDn()
getDn
in interface org.apache.directory.shared.ldap.entry.Entry
public boolean hasObjectClass(java.lang.String objectClass)
hasObjectClass
in interface org.apache.directory.shared.ldap.entry.Entry
public java.util.Iterator<org.apache.directory.shared.ldap.entry.EntryAttribute> iterator()
iterator
in interface java.lang.Iterable<org.apache.directory.shared.ldap.entry.EntryAttribute>
iterator
in interface org.apache.directory.shared.ldap.entry.Entry
public java.util.List<org.apache.directory.shared.ldap.entry.EntryAttribute> put(org.apache.directory.shared.ldap.entry.EntryAttribute... attributes) throws javax.naming.NamingException
put
in interface org.apache.directory.shared.ldap.entry.Entry
javax.naming.NamingException
public org.apache.directory.shared.ldap.entry.EntryAttribute put(java.lang.String upId, byte[]... values)
put
in interface org.apache.directory.shared.ldap.entry.Entry
public org.apache.directory.shared.ldap.entry.EntryAttribute put(java.lang.String upId, java.lang.String... values)
put
in interface org.apache.directory.shared.ldap.entry.Entry
public org.apache.directory.shared.ldap.entry.EntryAttribute put(java.lang.String upId, org.apache.directory.shared.ldap.entry.Value<?>... values)
put
in interface org.apache.directory.shared.ldap.entry.Entry
public boolean remove(java.lang.String upId, byte[]... values) throws javax.naming.NamingException
remove
in interface org.apache.directory.shared.ldap.entry.Entry
javax.naming.NamingException
public boolean remove(java.lang.String upId, java.lang.String... values) throws javax.naming.NamingException
remove
in interface org.apache.directory.shared.ldap.entry.Entry
javax.naming.NamingException
public boolean remove(java.lang.String upId, org.apache.directory.shared.ldap.entry.Value<?>... values) throws javax.naming.NamingException
remove
in interface org.apache.directory.shared.ldap.entry.Entry
javax.naming.NamingException
public java.util.List<org.apache.directory.shared.ldap.entry.EntryAttribute> removeAttributes(java.lang.String... attributes)
removeAttributes
in interface org.apache.directory.shared.ldap.entry.Entry
public java.util.List<org.apache.directory.shared.ldap.entry.EntryAttribute> set(java.lang.String... upIds)
set
in interface org.apache.directory.shared.ldap.entry.Entry
public void setDn(org.apache.directory.shared.ldap.name.LdapDN 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 javax.naming.NamingException
ServerEntry
toClientEntry
in interface ServerEntry
javax.naming.NamingException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
We can't use this method for a ServerEntry
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
We can't use this method for a ServerEntry
public ServerEntry clone()
ServerEntry
clone
in interface ServerEntry
clone
in interface org.apache.directory.shared.ldap.entry.Entry
clone
in class java.lang.Object
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 |