int nbUnusedBits
boolean isStreamed
byte[] bytes
int nbBytes
int nbBits
Collection<E> nestedExceptions
Collection<E> nestedExceptions
String identificationTag
int precedence
AuthenticationLevel authenticationLevel
Collection<E> userClasses
AuthenticationLevel authenticationLevel
Collection<E> protectedItems
Set<E> microOperations
boolean grant
int precedence
Collection<E> protectedItems
Collection<E> itemPermissions
Collection<E> userClasses
Collection<E> attributes
ExprNode classes
Collection<E> items
String attributeType
int maxCount
ExprNode filter
Collection<E> items
Collection<E> subtreeSpecifications
Collection<E> userClasses
Collection<E> userPermissions
Collection<E> protectedItems
int reasonCode
String reason
long timestamp
int replicaId
int operationNumber
int changeCount
public void readExternal(ObjectInput arg0) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput arg0) throws IOException
IOException
public void readExternal(ObjectInput arg0) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput arg0) throws IOException
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
IOException
Externalizable.writeExternal(ObjectOutput)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
Overload the DefaultClientAttribute.setUpId(String)
method.
As the attributeType has already been set, we have to be sure that the argument is compatible with the attributeType's name.
If the given ID is not compatible with the attributeType's possible names, the previously loaded ID will be kept.
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
public void readExternal(ObjectInput in) throws IOException
IOException
We can't use this method for a ServerModification.
public void writeExternal(ObjectOutput out) throws IOException
IOException
We can't use this method for a ServerModification.
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
IOException
Externalizable.writeExternal(ObjectOutput)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
IOException
Externalizable.writeExternal(ObjectOutput)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
Externalizable#readExternal(ObjectInput)
public void writeExternal(ObjectOutput out) throws IOException
IOException
This is the place where we serialize attributes, and all theirs
elements.
The inner structure is :
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
Externalizable#readExternal(ObjectInput)
public void writeExternal(ObjectOutput out) throws IOException
IOException
This is the place where we serialize entries, and all theirs
elements.
The structure used to store the entry is the following :
-
[DN] : If it's null, stores an empty DN
-
[attributes number] : the number of attributes.
-
[attribute]* : each attribute, if we have some
Throwable cause
ResultCodeEnum resultCode
DN resolvedDn
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
IOException
- If the stream can't be readClassNotFoundException
- If the LdifEntry can't be createdExternalizable.readExternal(ObjectInput)
public void writeExternal(ObjectOutput out) throws IOException
IOException
- If the serialization failExternalizable#readExternal(ObjectInput)
String oid
byte[] payload
InternalResultResponse response
String oid
byte[] value
InternalMessage response
CertGenerationObject certGenObj
int timeOffline
int delay
InternalReferral replicatedContexts
StoredProcedure procedure
Provider m_provider
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
IOException
An AVA is composed of a type and a value.
The data are stored following the structure :
- upName
The User provided ATAV
- start
The position of this ATAV in the DN
- length
The ATAV length
- upType
The user Provided Type
- normType
The normalized AttributeType
- isHR
- Tells if the value is a String or not
if the value is a String :
- upValue
The User Provided value.
- value
The normalized value.
if the value is binary :
- upValueLength
- upValue
The User Provided value.
- valueLength
- value
The normalized value.
boolean normalized
List<E> rdns
String upName
String normName
byte[] bytes
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
IOException
- If we can't read from the input streamClassNotFoundException
- If we can't create a new RDNWe read back the data to create a new RDB. The structure
read is exposed in the {@link RDN#writeExternal(ObjectOutput)}
method
public void writeExternal(ObjectOutput out) throws IOException
IOException
- If the stream can't be writtenA RDN is composed of on to many ATAVs (AttributeType And Value).
We should write all those ATAVs sequencially, following the
structure :
- nbAtavs
The number of ATAVs to write. Can't be 0.
- upName
The User provided RDN
- normName
The normalized RDN. It can be empty if the normalized
name equals the upName.
- atavs
For each ATAV :
- start
The position of this ATAV in the upName string
- length
The ATAV user provided length
- Call the ATAV write method
The ATAV itself
String oid
List<E> names
boolean isEnabled
boolean isReadOnly
boolean isObsolete
String description
String specification
String schemaName
SchemaObjectType objectType
Map<K,V> extensions
boolean locked
int h
String syntaxOid
LdapSyntax syntax
String equalityOid
MatchingRule equality
String substringOid
MatchingRule substring
String orderingOid
MatchingRule ordering
String superiorOid
AttributeType superior
boolean isSingleValued
boolean isCollective
boolean canUserModify
UsageEnum usage
int syntaxLength
List<E> auxObjectClassOids
List<E> auxObjectClasses
List<E> mayAttributeTypeOids
List<E> mayAttributeTypes
List<E> mustAttributeTypeOids
List<E> mustAttributeTypes
List<E> notAttributeTypeOids
List<E> notAttributeTypes
boolean isHumanReadable
SyntaxChecker syntaxChecker
LdapComparator<T> ldapComparator
Normalizer normalizer
LdapSyntax ldapSyntax
String ldapSyntaxOid
String structuralObjectClassOid
ObjectClass structuralObjectClass
List<E> mustAttributeTypeOids
List<E> mustAttributeTypes
List<E> mayAttributeTypeOids
List<E> mayAttributeTypes
ObjectClassTypeEnum objectClassType
List<E> superiorOids
List<E> superiors
List<E> mayAttributeTypeOids
List<E> mayAttributeTypes
List<E> mustAttributeTypeOids
List<E> mustAttributeTypes
String matchingRuleOid
Normalizer normalizer
SchemaManager schemaManager
NumericOidSyntaxChecker checker
SchemaManager schemaManager
SchemaManager schemaManager
AttributeTypeDescriptionSchemaParser schemaParser
DITContentRuleDescriptionSchemaParser schemaParser
DITStructureRuleDescriptionSchemaParser schemaParser
Pattern datePattern
LdapSyntaxDescriptionSchemaParser schemaParser
MatchingRuleDescriptionSchemaParser schemaParser
MatchingRuleUseDescriptionSchemaParser schemaParser
NameFormDescriptionSchemaParser schemaParser
ObjectClassDescriptionSchemaParser schemaParser
SubtreeSpecificationChecker checker
List<E> regexps
List<E> compiledREs
Pattern defaultPattern
boolean defaultMandatory
Pattern datePattern
String name
Attributes wrapped
Attribute wrapped
Throwable nestable
org.apache.commons.lang.exception.Nestable
implementation).NestableDelegate delegate
Throwable cause
NestableDelegate delegate
Throwable cause
NestableDelegate delegate
Throwable cause
private Object readResolve()
Ensure singleton.
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
IOException
- if the stream raises itClassNotFoundException
- if the stream raises itpublic void writeExternal(ObjectOutput out) throws IOException
IOException
- if the stream raises itpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
IOException
- if the stream raises itClassNotFoundException
- if the stream raises itpublic void writeExternal(ObjectOutput out) throws IOException
IOException
- if the stream raises itboolean useFieldNames
true
.boolean useClassName
true
.boolean useShortClassName
false
.boolean useIdentityHashCode
true
.String contentStart
'['
.String contentEnd
']'
.String fieldNameValueSeparator
'='
.boolean fieldSeparatorAtStart
boolean fieldSeparatorAtEnd
String fieldSeparator
','
.String arrayStart
'{'
.String arraySeparator
','
.boolean arrayContentDetail
String arrayEnd
'}'
.boolean defaultFullDetail
null
, the default
value is true
.String nullText
null
text '<null>'
.String sizeStartText
'.
String sizeEndText
'>'
.String summaryObjectStartText
'<'
.String summaryObjectEndText
'>'
.Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.