Searched refs:newValues (Results 1 - 25 of 102) sorted by relevance

12345

/forgerock/opendj-b2.6/tests/unit-tests-testng/src/server/org/opends/server/admin/client/spi/
H A DPropertySetTest.java283 * @param newValues to apply
287 public <T> void testGetEffectiveValues(PropertyDefinition<T> pd, Set<T> newValues, Set<T> expectedDefaults) { argument
301 ps.setPropertyValues(pd, newValues);
304 assertEquals(ev2.size(), newValues.size());
306 assertTrue(newValues.contains(v), "does not contain " + v);
314 * @param newValues set of new values to apply
318 public <T> void testGetPendingValues(PropertyDefinition<T> pd, Set<T> newValues, Set<T> ignore) { argument
324 ps.setPropertyValues(pd, newValues);
327 assertTrue(ev2.size() == newValues.size());
329 assertTrue(newValues
353 testIsEmpty(PropertyDefinition<T> pd, Set<T> newValues, Set<T> ignore) argument
369 testIsModified(PropertyDefinition<T> pd, Set<T> newValues, Set<T> ignore) argument
[all...]
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/admin/client/spi/
H A DPropertySetTest.java282 * @param newValues to apply
286 public <T> void testGetEffectiveValues(PropertyDefinition<T> pd, Set<T> newValues, Set<T> expectedDefaults) { argument
300 ps.setPropertyValues(pd, newValues);
303 assertEquals(ev2.size(), newValues.size());
305 assertTrue(newValues.contains(v), "does not contain " + v);
313 * @param newValues set of new values to apply
317 public <T> void testGetPendingValues(PropertyDefinition<T> pd, Set<T> newValues, Set<T> ignore) { argument
323 ps.setPropertyValues(pd, newValues);
326 assertTrue(ev2.size() == newValues.size());
328 assertTrue(newValues
352 testIsEmpty(PropertyDefinition<T> pd, Set<T> newValues, Set<T> ignore) argument
368 testIsModified(PropertyDefinition<T> pd, Set<T> newValues, Set<T> ignore) argument
[all...]
/forgerock/opendj2.6.2/tests/unit-tests-testng/src/server/org/opends/server/admin/client/spi/
H A DPropertySetTest.java283 * @param newValues to apply
287 public <T> void testGetEffectiveValues(PropertyDefinition<T> pd, Set<T> newValues, Set<T> expectedDefaults) { argument
301 ps.setPropertyValues(pd, newValues);
304 assertEquals(ev2.size(), newValues.size());
306 assertTrue(newValues.contains(v), "does not contain " + v);
314 * @param newValues set of new values to apply
318 public <T> void testGetPendingValues(PropertyDefinition<T> pd, Set<T> newValues, Set<T> ignore) { argument
324 ps.setPropertyValues(pd, newValues);
327 assertTrue(ev2.size() == newValues.size());
329 assertTrue(newValues
353 testIsEmpty(PropertyDefinition<T> pd, Set<T> newValues, Set<T> ignore) argument
369 testIsModified(PropertyDefinition<T> pd, Set<T> newValues, Set<T> ignore) argument
[all...]
/forgerock/opendj2-hg/tests/unit-tests-testng/src/server/org/opends/server/admin/client/spi/
H A DPropertySetTest.java282 * @param newValues to apply
286 public <T> void testGetEffectiveValues(PropertyDefinition<T> pd, Set<T> newValues, Set<T> expectedDefaults) { argument
300 ps.setPropertyValues(pd, newValues);
303 assertEquals(ev2.size(), newValues.size());
305 assertTrue(newValues.contains(v), "does not contain " + v);
313 * @param newValues set of new values to apply
317 public <T> void testGetPendingValues(PropertyDefinition<T> pd, Set<T> newValues, Set<T> ignore) { argument
323 ps.setPropertyValues(pd, newValues);
326 assertTrue(ev2.size() == newValues.size());
328 assertTrue(newValues
352 testIsEmpty(PropertyDefinition<T> pd, Set<T> newValues, Set<T> ignore) argument
368 testIsModified(PropertyDefinition<T> pd, Set<T> newValues, Set<T> ignore) argument
[all...]
/forgerock/opendj2-jel-hg/tests/unit-tests-testng/src/server/org/opends/server/admin/client/spi/
H A DPropertySetTest.java283 * @param newValues to apply
287 public <T> void testGetEffectiveValues(PropertyDefinition<T> pd, Set<T> newValues, Set<T> expectedDefaults) { argument
301 ps.setPropertyValues(pd, newValues);
304 assertEquals(ev2.size(), newValues.size());
306 assertTrue(newValues.contains(v), "does not contain " + v);
314 * @param newValues set of new values to apply
318 public <T> void testGetPendingValues(PropertyDefinition<T> pd, Set<T> newValues, Set<T> ignore) { argument
324 ps.setPropertyValues(pd, newValues);
327 assertTrue(ev2.size() == newValues.size());
329 assertTrue(newValues
353 testIsEmpty(PropertyDefinition<T> pd, Set<T> newValues, Set<T> ignore) argument
369 testIsModified(PropertyDefinition<T> pd, Set<T> newValues, Set<T> ignore) argument
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/admin/client/spi/
H A DPropertySetTest.java284 * @param newValues to apply
288 public <T> void testGetEffectiveValues(PropertyDefinition<T> pd, Set<T> newValues, Set<T> expectedDefaults) { argument
302 ps.setPropertyValues(pd, newValues);
305 assertEquals(ev2.size(), newValues.size());
307 assertTrue(newValues.contains(v), "does not contain " + v);
315 * @param newValues set of new values to apply
319 public <T> void testGetPendingValues(PropertyDefinition<T> pd, Set<T> newValues, Set<T> ignore) { argument
325 ps.setPropertyValues(pd, newValues);
328 assertEquals(ev2.size(), newValues.size());
330 assertTrue(newValues
353 testIsEmpty(PropertyDefinition<T> pd, Set<T> newValues, Set<T> ignore) argument
369 testIsModified(PropertyDefinition<T> pd, Set<T> newValues, Set<T> ignore) argument
[all...]
/forgerock/opendj-b2.6/src/server/org/opends/server/tools/dsconfig/
H A DPropertyEditorModification.java121 * @param newValues the new values for the property.
127 SortedSet<T> newValues, SortedSet<T> originalValues)
130 newValues, originalValues);
125 createSetModification( PropertyDefinition<T> propertyDefinition, SortedSet<T> newValues, SortedSet<T> originalValues) argument
/forgerock/opendj2/src/server/org/opends/server/tools/dsconfig/
H A DPropertyEditorModification.java120 * @param newValues the new values for the property.
126 SortedSet<T> newValues, SortedSet<T> originalValues)
129 newValues, originalValues);
124 createSetModification( PropertyDefinition<T> propertyDefinition, SortedSet<T> newValues, SortedSet<T> originalValues) argument
/forgerock/opendj2.6.2/src/server/org/opends/server/tools/dsconfig/
H A DPropertyEditorModification.java121 * @param newValues the new values for the property.
127 SortedSet<T> newValues, SortedSet<T> originalValues)
130 newValues, originalValues);
125 createSetModification( PropertyDefinition<T> propertyDefinition, SortedSet<T> newValues, SortedSet<T> originalValues) argument
/forgerock/opendj2-jel-hg/src/server/org/opends/server/tools/dsconfig/
H A DPropertyEditorModification.java121 * @param newValues the new values for the property.
127 SortedSet<T> newValues, SortedSet<T> originalValues)
130 newValues, originalValues);
125 createSetModification( PropertyDefinition<T> propertyDefinition, SortedSet<T> newValues, SortedSet<T> originalValues) argument
/forgerock/opendj2-hg/src/server/org/opends/server/tools/dsconfig/
H A DPropertyEditorModification.java120 * @param newValues the new values for the property.
126 SortedSet<T> newValues, SortedSet<T> originalValues)
129 newValues, originalValues);
124 createSetModification( PropertyDefinition<T> propertyDefinition, SortedSet<T> newValues, SortedSet<T> originalValues) argument
/forgerock/openam-v13/openam-console/src/main/java/com/sun/identity/console/service/model/
H A DSCModelBase.java280 Map newValues = removeAttributes(SchemaType.GLOBAL, modifiedValues);
281 if (newValues != null && !newValues.isEmpty()) {
282 setAttributeValues(SchemaType.GLOBAL, newValues);
289 newValues = removeAttributes(SchemaType.ORGANIZATION, modifiedValues);
290 if (newValues != null && !newValues.isEmpty()) {
291 setAttributeValues(SchemaType.ORGANIZATION, newValues);
/forgerock/opendj-v3/opendj-config/src/main/java/org/forgerock/opendj/config/dsconfig/
H A DPropertyEditorModification.java125 * @param newValues
132 SortedSet<T> newValues, SortedSet<T> originalValues) {
133 return new PropertyEditorModification<>(propertyDefinition, Type.SET, newValues, originalValues);
131 createSetModification(PropertyDefinition<T> propertyDefinition, SortedSet<T> newValues, SortedSet<T> originalValues) argument
/forgerock/openam/openam-console/src/main/java/com/sun/identity/console/service/model/
H A DSCModelBase.java280 Map newValues = removeAttributes(SchemaType.GLOBAL, modifiedValues);
281 if (newValues != null && !newValues.isEmpty()) {
282 setAttributeValues(SchemaType.GLOBAL, newValues);
289 newValues = removeAttributes(SchemaType.ORGANIZATION, modifiedValues);
290 if (newValues != null && !newValues.isEmpty()) {
291 setAttributeValues(SchemaType.ORGANIZATION, newValues);
/forgerock/opendj-b2.6/src/guitools/org/opends/guitools/controlpanel/task/
H A DModifyEntryTask.java515 List<AttributeValue> newValues = new ArrayList<AttributeValue>();
519 newValues.add(it.next());
589 vs.addAll(newValues);
598 createAttribute(attrName, newValues)));
601 List<AttributeValue> toDelete = getValuesToDelete(oldValues, newValues,
607 List<AttributeValue> toAdd = getValuesToAdd(oldValues, newValues,
613 if ((toDelete.size() + toAdd.size() >= newValues.size()) &&
618 createAttribute(attrName, newValues)));
727 * @param newValues the new values of the entry.
732 List<AttributeValue> newValues, AttributeTyp
731 getValuesToDelete(List<Object> oldValues, List<AttributeValue> newValues, AttributeType attrType) argument
753 getValuesToAdd(List<Object> oldValues, List<AttributeValue> newValues, AttributeType attrType) argument
[all...]
/forgerock/opendj2/src/guitools/org/opends/guitools/controlpanel/task/
H A DModifyEntryTask.java514 List<AttributeValue> newValues = new ArrayList<AttributeValue>();
518 newValues.add(it.next());
588 vs.addAll(newValues);
597 createAttribute(attrName, newValues)));
600 List<AttributeValue> toDelete = getValuesToDelete(oldValues, newValues,
606 List<AttributeValue> toAdd = getValuesToAdd(oldValues, newValues,
612 if ((toDelete.size() + toAdd.size() >= newValues.size()) &&
617 createAttribute(attrName, newValues)));
726 * @param newValues the new values of the entry.
731 List<AttributeValue> newValues, AttributeTyp
730 getValuesToDelete(List<Object> oldValues, List<AttributeValue> newValues, AttributeType attrType) argument
752 getValuesToAdd(List<Object> oldValues, List<AttributeValue> newValues, AttributeType attrType) argument
[all...]
/forgerock/opendj2.6.2/src/guitools/org/opends/guitools/controlpanel/task/
H A DModifyEntryTask.java515 List<AttributeValue> newValues = new ArrayList<AttributeValue>();
519 newValues.add(it.next());
589 vs.addAll(newValues);
598 createAttribute(attrName, newValues)));
601 List<AttributeValue> toDelete = getValuesToDelete(oldValues, newValues,
607 List<AttributeValue> toAdd = getValuesToAdd(oldValues, newValues,
613 if ((toDelete.size() + toAdd.size() >= newValues.size()) &&
618 createAttribute(attrName, newValues)));
727 * @param newValues the new values of the entry.
732 List<AttributeValue> newValues, AttributeTyp
731 getValuesToDelete(List<Object> oldValues, List<AttributeValue> newValues, AttributeType attrType) argument
753 getValuesToAdd(List<Object> oldValues, List<AttributeValue> newValues, AttributeType attrType) argument
[all...]
/forgerock/opendj2-hg/src/guitools/org/opends/guitools/controlpanel/task/
H A DModifyEntryTask.java514 List<AttributeValue> newValues = new ArrayList<AttributeValue>();
518 newValues.add(it.next());
588 vs.addAll(newValues);
597 createAttribute(attrName, newValues)));
600 List<AttributeValue> toDelete = getValuesToDelete(oldValues, newValues,
606 List<AttributeValue> toAdd = getValuesToAdd(oldValues, newValues,
612 if ((toDelete.size() + toAdd.size() >= newValues.size()) &&
617 createAttribute(attrName, newValues)));
726 * @param newValues the new values of the entry.
731 List<AttributeValue> newValues, AttributeTyp
730 getValuesToDelete(List<Object> oldValues, List<AttributeValue> newValues, AttributeType attrType) argument
752 getValuesToAdd(List<Object> oldValues, List<AttributeValue> newValues, AttributeType attrType) argument
[all...]
/forgerock/opendj2-jel-hg/src/guitools/org/opends/guitools/controlpanel/task/
H A DModifyEntryTask.java515 List<AttributeValue> newValues = new ArrayList<AttributeValue>();
519 newValues.add(it.next());
589 vs.addAll(newValues);
598 createAttribute(attrName, newValues)));
601 List<AttributeValue> toDelete = getValuesToDelete(oldValues, newValues,
607 List<AttributeValue> toAdd = getValuesToAdd(oldValues, newValues,
613 if ((toDelete.size() + toAdd.size() >= newValues.size()) &&
618 createAttribute(attrName, newValues)));
727 * @param newValues the new values of the entry.
732 List<AttributeValue> newValues, AttributeTyp
731 getValuesToDelete(List<Object> oldValues, List<AttributeValue> newValues, AttributeType attrType) argument
753 getValuesToAdd(List<Object> oldValues, List<AttributeValue> newValues, AttributeType attrType) argument
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/task/
H A DModifyEntryTask.java498 List<ByteString> newValues = new ArrayList<>();
502 newValues.add(it.next());
561 Set<ByteString> vs = new HashSet<>(newValues);
570 createAttribute(attrName, newValues)));
573 List<ByteString> toDelete = getValuesToDelete(oldValues, newValues);
578 List<ByteString> toAdd = getValuesToAdd(oldValues, newValues);
583 if (toDelete.size() + toAdd.size() >= newValues.size() &&
588 createAttribute(attrName, newValues)));
689 * @param newValues the new values of the entry.
693 List<ByteString> newValues)
692 getValuesToDelete(List<Object> oldValues, List<ByteString> newValues) argument
713 getValuesToAdd(List<Object> oldValues, List<ByteString> newValues) argument
[all...]
/forgerock/openam-v13/openam-cli/openam-cli-impl/src/main/java/com/sun/identity/cli/
H A DAuthenticatedCommand.java204 Set<String> newValues = new LinkedHashSet<String>(values.size());
206 newValues.add(CLIUtil.getFileContent(getCommandManager(), value));
208 values = newValues;
/forgerock/openam-v13/openam-cli/openam-cli-impl/src/main/java/com/sun/identity/cli/schema/
H A DAddAttributeDefaults.java97 Set newValues =
100 newValues.addAll((Set)attributeValues.get(attributeName));
101 ss.setAttributeDefaults(attributeName, newValues);
/forgerock/openam/openam-cli/openam-cli-impl/src/main/java/com/sun/identity/cli/
H A DAuthenticatedCommand.java204 Set<String> newValues = new LinkedHashSet<String>(values.size());
206 newValues.add(CLIUtil.getFileContent(getCommandManager(), value));
208 values = newValues;
/forgerock/openam/openam-cli/openam-cli-impl/src/main/java/com/sun/identity/cli/schema/
H A DAddAttributeDefaults.java97 Set newValues =
100 newValues.addAll((Set)attributeValues.get(attributeName));
101 ss.setAttributeDefaults(attributeName, newValues);
/forgerock/openidm-v4/openidm-provisioner-openicf/src/main/java/org/forgerock/openidm/provisioner/openicf/commons/
H A DAttributeInfoHelper.java406 List<T> newValues = null;
408 newValues = new ArrayList<T>(((Collection) source).size());
410 newValues.add(ConnectorUtil.coercedTypeCasting(o, clazz));
413 newValues = new ArrayList<T>(((Object[]) source).length);
415 newValues.add(ConnectorUtil.coercedTypeCasting(o, clazz));
418 newValues = new ArrayList<T>(1);
419 newValues.add(ConnectorUtil.coercedTypeCasting(source, clazz));
422 return newValues;

Completed in 123 milliseconds

12345