Searched refs:oldValue (Results 1 - 25 of 130) sorted by relevance

123456

/forgerock/openidm-v4/openidm-zip/src/main/resources/bin/defaults/script/roles/
H A DonSync-assignments.js27 * @param oldValue old state of the assignment
33 function (resourceName, oldValue, newValue, ignoredProperties) {
37 if (shouldSyncUsers(oldValue, newValue, ignoredProperties)) {
62 * Returns true if the oldValue and newValue fully match, or if the only changes are in fields other than any of the
64 * @param oldValue old state of the resource
67 * @returns {boolean} true if the oldValue and newValue fully match, or if the only changes are in fields other than
70 function shouldSyncUsers(oldValue, newValue, ignoredProperties) {
74 if (_.isEqual(oldValue, newValue)) {
78 oldCopy = _.omit(oldValue == null ? {} : oldValue, ignoredPropertie
[all...]
H A DonSync-roles.js27 * @param oldValue old state of the role
33 function (resourceName, oldValue, newValue, ignoredProperties) {
36 if (shouldSyncUsers(oldValue, newValue, ignoredProperties)) {
51 * Returns true if the oldValue and newValue fully match, or if the only changes are in fields other than any of the
53 * @param oldValue old state of the resource
56 * @returns {boolean} true if the oldValue and newValue fully match, or if the only changes are in fields other than
59 function shouldSyncUsers(oldValue, newValue, ignoredProperties) {
63 if (_.isEqual(oldValue, newValue)) {
67 oldCopy = _.omit(oldValue == null ? {} : oldValue, ignoredPropertie
[all...]
/forgerock/openidm-v4/openidm-zip/src/main/resources/samples/multiplepasswords/script/
H A DonUpdate-user-custom.js20 var matchHashed, newValue, oldValue, field = historyFields[index], history;
32 oldValue = openidm.isEncrypted(oldObject[field])
37 matchHashed = openidm.isHashed(oldValue) && !openidm.isHashed(newValue);
40 if ((matchHashed && !openidm.matches(newValue, oldValue))
41 || (!matchHashed && JSON.stringify(newValue) !== JSON.stringify(oldValue))) {
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/spi/
H A DUpdateFunction.java39 * @param oldValue
45 ByteSequence computeNewValue(ByteSequence oldValue); argument
/forgerock/opendj-v3/opendj-server/src/main/java/org/forgerock/opendj/server/core/
H A DAttachment.java100 final T oldValue = get0(attachmentHolder);
102 return oldValue;
/forgerock/openam-v13/openam-shared/src/main/java/com/sun/identity/common/
H A DPeriodicGroupMap.java151 Object oldValue = null;
153 oldValue = map.put(key, value);
154 if (oldValue != null) {
159 return oldValue;
/forgerock/openidm-v4/openidm-core/src/main/java/org/forgerock/openidm/managed/
H A DManagedObjectSyncService.java22 * @param oldValue the previous object value before the change (if applicable, or null if not)
27 final SynchronizationService.SyncServiceAction action, final JsonValue oldValue, final JsonValue newValue)
26 performSyncAction(final Context context, final Request request, final String resourceId, final SynchronizationService.SyncServiceAction action, final JsonValue oldValue, final JsonValue newValue) argument
/forgerock/openam/openam-shared/src/main/java/com/sun/identity/common/
H A DPeriodicGroupMap.java151 Object oldValue = null;
153 oldValue = map.put(key, value);
154 if (oldValue != null) {
159 return oldValue;
/forgerock/openam-v13/openam-scripting/src/test/java/org/forgerock/openam/scripting/
H A DChainedBindingsTest.java113 String oldValue = "old value";
114 parentScope.put(varName, oldValue);
115 currentScope.put(varName, oldValue);
/forgerock/openam/openam-scripting/src/test/java/org/forgerock/openam/scripting/
H A DChainedBindingsTest.java113 String oldValue = "old value";
114 parentScope.put(varName, oldValue);
115 currentScope.put(varName, oldValue);
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/
H A DState.java128 public ByteSequence computeNewValue(ByteSequence oldValue)
130 final EnumSet<IndexFlag> currentFlags = decodeFlagsOrGetDefault(oldValue);
177 public ByteSequence computeNewValue(ByteSequence oldValue)
179 final EnumSet<IndexFlag> currentFlags = decodeFlagsOrGetDefault(oldValue);
H A DDN2URI.java143 private Collection<String> decodeUrisOnly(ByteSequence oldValue) argument
145 return decode0(oldValue, false).getValue();
206 public ByteSequence computeNewValue(ByteSequence oldValue)
208 if (oldValue != null)
210 final Collection<String> newUris = decodeUrisOnly(oldValue);
215 return oldValue;
261 public ByteSequence computeNewValue(ByteSequence oldValue)
263 if (oldValue != null)
265 final Collection<String> oldUris = decodeUrisOnly(oldValue);
271 return oldValue;
[all...]
H A DDefaultIndex.java179 public ByteSequence computeNewValue(final ByteSequence oldValue)
181 if (oldValue != null)
183 EntryIDSet entryIDSet = computeEntryIDSet(key, oldValue.toByteString(), deletedIDs, addedIDs);
H A DShardedCounter.java101 public ByteSequence computeNewValue(ByteSequence oldValue)
103 final long currentValue = oldValue == null ? 0 : decodeValue(oldValue.toByteString());
/forgerock/openam-v13/openam-console/src/test/java/com/sun/identity/console/base/
H A DAMPropertySheetTest.java63 String oldValue = "555123456789";
65 Map<String, Set<String>> oldValues = Collections.singletonMap(key, Collections.singleton(oldValue));
/forgerock/openam/openam-console/src/test/java/com/sun/identity/console/base/
H A DAMPropertySheetTest.java63 String oldValue = "555123456789";
65 Map<String, Set<String>> oldValues = Collections.singletonMap(key, Collections.singleton(oldValue));
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/sm/
H A DServiceInstance.java268 * @param oldValue
277 public void replaceAttributeValue(String attrName, String oldValue, argument
281 SMSUtils.replaceAttributeValue(e, attrName, oldValue, newValue,
H A DPluginConfig.java242 * @param oldValue
248 public void replaceAttributeValue(String attrName, String oldValue, argument
258 newVals.remove(oldValue);
266 SMSUtils.replaceAttributeValue(e, attrName, oldValue, newValue, ps
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/types/
H A DSmallMap.java104 V oldValue = firstValue;
106 return oldValue;
/forgerock/openam/openam-core/src/main/java/com/sun/identity/sm/
H A DServiceInstance.java268 * @param oldValue
277 public void replaceAttributeValue(String attrName, String oldValue, argument
281 SMSUtils.replaceAttributeValue(e, attrName, oldValue, newValue,
H A DPluginConfig.java242 * @param oldValue
248 public void replaceAttributeValue(String attrName, String oldValue, argument
258 newVals.remove(oldValue);
266 SMSUtils.replaceAttributeValue(e, attrName, oldValue, newValue, ps
/forgerock/openidm-v4/openidm-util/src/main/java/org/forgerock/openidm/util/
H A DResourceUtil.java193 * @param oldValue old json to compare.
194 * @param newValue new json to compare against oldValue.
198 public static boolean isEqual(JsonValue oldValue, JsonValue newValue) { argument
199 JsonValue tmpOldValue = null == oldValue ? json(object()) : oldValue.copy();
/forgerock/opendj2/src/quicksetup/org/opends/quicksetup/installer/ui/
H A DRemoteReplicationPortsPanel.java292 String oldValue = hmOldValues.get(server.getId());
293 if (oldValue != null)
295 field.setText(oldValue);
/forgerock/opendj-b2.6/src/quicksetup/org/opends/quicksetup/installer/ui/
H A DRemoteReplicationPortsPanel.java293 String oldValue = hmOldValues.get(server.getId());
294 if (oldValue != null)
296 field.setText(oldValue);
/forgerock/opendj2.6.2/src/quicksetup/org/opends/quicksetup/installer/ui/
H A DRemoteReplicationPortsPanel.java293 String oldValue = hmOldValues.get(server.getId());
294 if (oldValue != null)
296 field.setText(oldValue);

Completed in 86 milliseconds

123456