| | |
| | | // The change number that has been assigned to this operation. |
| | | private long changeNumber; |
| | | |
| | | |
| | | // The flag indicates if an LDAP error was reported. |
| | | private boolean ldapError; |
| | | /** |
| | | * Creates a new add operation with the provided information. |
| | | * |
| | |
| | | */ |
| | | private final void computeObjectClassesAndAttributes() |
| | | { |
| | | if ((objectClasses == null) || (userAttributes == null) || |
| | | (operationalAttributes == null)) |
| | | if (((objectClasses == null) || (userAttributes == null) || |
| | | (operationalAttributes == null)) && !ldapError) |
| | | { |
| | | objectClasses = new HashMap<ObjectClass,String>(); |
| | | userAttributes = new HashMap<AttributeType,List<Attribute>>(); |
| | |
| | | objectClasses = null; |
| | | userAttributes = null; |
| | | operationalAttributes = null; |
| | | ldapError = true; |
| | | return; |
| | | } |
| | | } |
| | |
| | | objectClasses = null; |
| | | userAttributes = null; |
| | | operationalAttributes = null; |
| | | ldapError = true; |
| | | } |
| | | } |
| | | } |