Add clearUpdatedFlag so the flag in associated protocol mappers can be cleared as well
Closes #11118
This commit is contained in:
parent
1f2ebf4cba
commit
d952669f69
1 changed files with 6 additions and 0 deletions
|
@ -62,6 +62,12 @@ public interface MapClientEntity extends AbstractEntity, UpdatableEntity, Entity
|
|||
|| Optional.ofNullable(getProtocolMappers()).orElseGet(Collections::emptyMap).values().stream().anyMatch(MapProtocolMapperEntity::isUpdated);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void clearUpdatedFlag() {
|
||||
this.updated = false;
|
||||
Optional.ofNullable(getProtocolMappers()).orElseGet(Collections::emptyMap).values().forEach(UpdatableEntity::clearUpdatedFlag);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Stream<String> getClientScopes(boolean defaultScope) {
|
||||
final Map<String, Boolean> clientScopes = getClientScopes();
|
||||
|
|
Loading…
Reference in a new issue