mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

coulbeck
12.20.2006 d4afbee64bb2d36941220e55bf3e21dd59dabc8a
refs
author coulbeck <coulbeck@localhost>
Thursday, October 12, 2006 18:20 +0200
committer coulbeck <coulbeck@localhost>
Thursday, October 12, 2006 18:20 +0200
commitd4afbee64bb2d36941220e55bf3e21dd59dabc8a
tree 83156e6b5b1f2daf84a565fc5f53beec9b7d50b4 tree | zip | gz
parent 34fe9bef5b17a502bb6325b6a5611300309d7b69 view | diff
Fixes for the following issues, reviewed by neil_a_wilson.

Issue 785: attribute options not returned by search of attribute types only
Issue 786: SearchOperation#returnEntry does not always make a copy of the attributes

I have added some new methods so that a common code path can be followed whether the search returns attribute values or not.

Attribute:
public Attribute duplicate(boolean omitValues)

Entry:
public List<Attribute> duplicateUserAttribute(
AttributeType attributeType,
Set<String> options,
boolean omitValues)

public List<Attribute> duplicateOperationalAttribute(
AttributeType attributeType,
Set<String> options,
boolean omitValues)
4 files modified
537 ■■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/core/SearchOperation.java 168 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/types/Attribute.java 39 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/types/Entry.java 141 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/core/SearchOperationTestCase.java 189 ●●●●● diff | view | raw | blame | history