This interface represent a LDAP entry. An LDAP entry contains :
The available methods on this object are described in this interface.
This interface is used by the serverEntry and clientEntry interfaces.
31923193319431953196319731983199320032013202
*/ public boolean exists( Dn dn ) throws LdapException { try { Entry entry = lookup( dn, SchemaConstants.NO_ATTRIBUTE_ARRAY ); return entry != null; } catch ( LdapNoPermissionException lnpe ) {
32583259326032613262326332643265326632673268
/** * {@inheritDoc} */ public Entry lookup( Dn dn, Control[] controls, String... attributes ) throws LdapException { Entry entry = null; try { SearchRequest searchRequest = new SearchRequestImpl();
655656657658659660661662663664665
if ( schemaObject instanceof AttributeType ) { AttributeType attributeType = ( AttributeType ) schemaObject; Entry attributeTypeEntry = factory.convert( attributeType, schema, null ); attributeTypeEntries.add( attributeTypeEntry ); } } }
689690691692693694695696697698699
SchemaObject schemaObject = schemaObjectWrapper.get(); if ( schemaObject instanceof LdapComparatorDescription ) { LdapComparatorDescription ldapComparatorDescription = ( LdapComparatorDescription ) schemaObject; Entry lcEntry = getEntry( ldapComparatorDescription ); comparatorEntries.add( lcEntry ); } } }
726727728729730731732733734735736
if ( schemaObject instanceof DitContentRule ) { DitContentRule ditContentRule = ( DitContentRule ) schemaObject; Entry ditContentRuleEntry = factory.convert( ditContentRule, schema, null ); ditContentRuleEntries.add( ditContentRuleEntry ); } } }
763764765766767768769770771772773
if ( schemaObject instanceof DitStructureRule ) { DitStructureRule ditStructureRule = ( DitStructureRule ) schemaObject; Entry ditStructureRuleEntry = factory.convert( ditStructureRule, schema, null ); ditStructureRuleEntries.add( ditStructureRuleEntry ); } } }
800801802803804805806807808809810
if ( schemaObject instanceof MatchingRuleUse ) { MatchingRuleUse matchingRuleUse = ( MatchingRuleUse ) schemaObject; Entry matchingRuleUseEntry = factory.convert( matchingRuleUse, schema, null ); matchingRuleUseEntries.add( matchingRuleUseEntry ); } } }
837838839840841842843844845846847
if ( schemaObject instanceof MatchingRule ) { MatchingRule matchingRule = ( MatchingRule ) schemaObject; Entry matchingRuleEntry = factory.convert( matchingRule, schema, null ); matchingRuleEntries.add( matchingRuleEntry ); } } }
874875876877878879880881882883884
if ( schemaObject instanceof NameForm ) { NameForm nameForm = ( NameForm ) schemaObject; Entry nameFormEntry = factory.convert( nameForm, schema, null ); nameFormEntries.add( nameFormEntry ); } } }
908909910911912913914915916917918
SchemaObject schemaObject = schemaObjectWrapper.get(); if ( schemaObject instanceof NormalizerDescription ) { NormalizerDescription normalizerDescription = ( NormalizerDescription ) schemaObject; Entry normalizerEntry = getEntry( normalizerDescription ); normalizerEntries.add( normalizerEntry ); } } }