@@ -81,7 +81,7 @@ public CliOperationStatus setSettingsEditor(String editorName, String editorPath
81
81
CliOperationStatus cliOperationStatus = new CliOperationStatus ();
82
82
83
83
DqoUserPrincipal userPrincipal = this .principalProvider .getLocalUserPrincipal ();
84
- UserHomeContext userHomeContext = this .userHomeContextFactory .openLocalUserHome (userPrincipal .getDataDomainIdentity ());
84
+ UserHomeContext userHomeContext = this .userHomeContextFactory .openLocalUserHome (userPrincipal .getDataDomainIdentity (), false );
85
85
UserHome userHome = userHomeContext .getUserHome ();
86
86
LocalSettingsSpec settings ;
87
87
if (userHome .getSettings () == null || userHome .getSettings ().getSpec () == null ) {
@@ -110,7 +110,7 @@ public CliOperationStatus removeSettingsEditor() {
110
110
CliOperationStatus cliOperationStatus = new CliOperationStatus ();
111
111
112
112
DqoUserPrincipal userPrincipal = this .principalProvider .getLocalUserPrincipal ();
113
- UserHomeContext userHomeContext = this .userHomeContextFactory .openLocalUserHome (userPrincipal .getDataDomainIdentity ());
113
+ UserHomeContext userHomeContext = this .userHomeContextFactory .openLocalUserHome (userPrincipal .getDataDomainIdentity (), false );
114
114
UserHome userHome = userHomeContext .getUserHome ();
115
115
LocalSettingsSpec settings ;
116
116
if (userHome .getSettings () == null || userHome .getSettings ().getSpec () == null ) {
@@ -142,7 +142,7 @@ public CliOperationStatus showSettingsEditor() {
142
142
CliOperationStatus cliOperationStatus = new CliOperationStatus ();
143
143
144
144
DqoUserPrincipal userPrincipal = this .principalProvider .getLocalUserPrincipal ();
145
- UserHomeContext userHomeContext = this .userHomeContextFactory .openLocalUserHome (userPrincipal .getDataDomainIdentity ());
145
+ UserHomeContext userHomeContext = this .userHomeContextFactory .openLocalUserHome (userPrincipal .getDataDomainIdentity (), true );
146
146
UserHome userHome = userHomeContext .getUserHome ();
147
147
LocalSettingsSpec settings ;
148
148
if (userHome .getSettings () == null || userHome .getSettings ().getSpec () == null ) {
@@ -173,7 +173,7 @@ public CliOperationStatus showSettingsEditor() {
173
173
public CliOperationStatus initSettings (String editorName , String editorPath ) {
174
174
CliOperationStatus cliOperationStatus = new CliOperationStatus ();
175
175
DqoUserPrincipal userPrincipal = this .principalProvider .getLocalUserPrincipal ();
176
- UserHomeContext userHomeContext = userHomeContextFactory .openLocalUserHome (userPrincipal .getDataDomainIdentity ());
176
+ UserHomeContext userHomeContext = userHomeContextFactory .openLocalUserHome (userPrincipal .getDataDomainIdentity (), false );
177
177
178
178
LocalSettingsSpec localSettingsSpec = new LocalSettingsSpec ();
179
179
localSettingsSpec .setEditorName (editorName );
@@ -199,7 +199,7 @@ public CliOperationStatus initSettings(String editorName, String editorPath) {
199
199
public CliOperationStatus removeSettings () {
200
200
CliOperationStatus cliOperationStatus = new CliOperationStatus ();
201
201
DqoUserPrincipal userPrincipal = this .principalProvider .getLocalUserPrincipal ();
202
- UserHomeContext userHomeContext = userHomeContextFactory .openLocalUserHome (userPrincipal .getDataDomainIdentity ());
202
+ UserHomeContext userHomeContext = userHomeContextFactory .openLocalUserHome (userPrincipal .getDataDomainIdentity (), false );
203
203
204
204
SettingsWrapper settings = userHomeContext .getUserHome ().getSettings ();
205
205
if (settings == null || settings .getSpec () == null ) {
@@ -223,7 +223,7 @@ public CliOperationStatus setApiKey(String key) {
223
223
CliOperationStatus cliOperationStatus = new CliOperationStatus ();
224
224
225
225
DqoUserPrincipal userPrincipal = this .principalProvider .getLocalUserPrincipal ();
226
- UserHomeContext userHomeContext = this .userHomeContextFactory .openLocalUserHome (userPrincipal .getDataDomainIdentity ());
226
+ UserHomeContext userHomeContext = this .userHomeContextFactory .openLocalUserHome (userPrincipal .getDataDomainIdentity (), false );
227
227
UserHome userHome = userHomeContext .getUserHome ();
228
228
LocalSettingsSpec settings ;
229
229
if (userHome .getSettings () == null || userHome .getSettings ().getSpec () == null ) {
@@ -251,7 +251,7 @@ public CliOperationStatus removeApiKey() {
251
251
CliOperationStatus cliOperationStatus = new CliOperationStatus ();
252
252
253
253
DqoUserPrincipal userPrincipal = this .principalProvider .getLocalUserPrincipal ();
254
- UserHomeContext userHomeContext = this .userHomeContextFactory .openLocalUserHome (userPrincipal .getDataDomainIdentity ());
254
+ UserHomeContext userHomeContext = this .userHomeContextFactory .openLocalUserHome (userPrincipal .getDataDomainIdentity (), false );
255
255
UserHome userHome = userHomeContext .getUserHome ();
256
256
LocalSettingsSpec settings ;
257
257
if (userHome .getSettings () == null || userHome .getSettings ().getSpec () == null ) {
@@ -285,7 +285,7 @@ public CliOperationStatus showApiKey() {
285
285
CliOperationStatus cliOperationStatus = new CliOperationStatus ();
286
286
287
287
DqoUserPrincipal userPrincipal = this .principalProvider .getLocalUserPrincipal ();
288
- UserHomeContext userHomeContext = this .userHomeContextFactory .openLocalUserHome (userPrincipal .getDataDomainIdentity ());
288
+ UserHomeContext userHomeContext = this .userHomeContextFactory .openLocalUserHome (userPrincipal .getDataDomainIdentity (), true );
289
289
UserHome userHome = userHomeContext .getUserHome ();
290
290
LocalSettingsSpec settings ;
291
291
if (userHome .getSettings () == null || userHome .getSettings ().getSpec () == null ) {
@@ -364,7 +364,7 @@ public CliOperationStatus setTimeZone(String timeZone) {
364
364
}
365
365
366
366
DqoUserPrincipal userPrincipal = this .principalProvider .getLocalUserPrincipal ();
367
- UserHomeContext userHomeContext = this .userHomeContextFactory .openLocalUserHome (userPrincipal .getDataDomainIdentity ());
367
+ UserHomeContext userHomeContext = this .userHomeContextFactory .openLocalUserHome (userPrincipal .getDataDomainIdentity (), false );
368
368
UserHome userHome = userHomeContext .getUserHome ();
369
369
LocalSettingsSpec settings ;
370
370
if (userHome .getSettings () == null || userHome .getSettings ().getSpec () == null ) {
@@ -392,7 +392,7 @@ public CliOperationStatus removeTimeZone() {
392
392
CliOperationStatus cliOperationStatus = new CliOperationStatus ();
393
393
394
394
DqoUserPrincipal userPrincipal = this .principalProvider .getLocalUserPrincipal ();
395
- UserHomeContext userHomeContext = this .userHomeContextFactory .openLocalUserHome (userPrincipal .getDataDomainIdentity ());
395
+ UserHomeContext userHomeContext = this .userHomeContextFactory .openLocalUserHome (userPrincipal .getDataDomainIdentity (), false );
396
396
UserHome userHome = userHomeContext .getUserHome ();
397
397
LocalSettingsSpec settings ;
398
398
if (userHome .getSettings () == null || userHome .getSettings ().getSpec () == null ) {
@@ -426,7 +426,7 @@ public CliOperationStatus showTimeZone() {
426
426
CliOperationStatus cliOperationStatus = new CliOperationStatus ();
427
427
428
428
DqoUserPrincipal userPrincipal = this .principalProvider .getLocalUserPrincipal ();
429
- UserHomeContext userHomeContext = this .userHomeContextFactory .openLocalUserHome (userPrincipal .getDataDomainIdentity ());
429
+ UserHomeContext userHomeContext = this .userHomeContextFactory .openLocalUserHome (userPrincipal .getDataDomainIdentity (), true );
430
430
UserHome userHome = userHomeContext .getUserHome ();
431
431
LocalSettingsSpec settings ;
432
432
if (userHome .getSettings () == null || userHome .getSettings ().getSpec () == null ) {
0 commit comments