/** * Tells if an attribute is present in the list of attribute to return * * @param schemaManager The SchemaManager instance * @param attribute The attribute we are looking for * @return true if the attribute is present */ public boolean contains( SchemaManager schemaManager, String attribute ) { if ( isNoAttributes() ) { return false; } try { AttributeType attributeType = schemaManager.lookupAttributeTypeRegistry( attribute ); return contains( schemaManager, attributeType ); } catch ( LdapException le ) { return false; } }
if ( !opContext.isAllUserAttributes() && !opContext.contains( schemaManager, attributeType ) )
if ( !operationContext.contains( schemaManager, attributeType ) ) if ( !operationContext.contains( schemaManager, entryDnType ) ) if ( !operationContext.contains( schemaManager, attributeType ) ) if ( !operationContext.contains( schemaManager, entryDnType ) ) if ( !operationContext.contains( schemaManager, attributeType ) ) if ( !operationContext.contains( schemaManager, entryDnType ) )