Project

General

Profile

« Previous | Next » 

Revision 6fa5c755

Added by Katja Luther over 5 years ago

ref #7793: add possibility to disable sec and do not show sec details

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/NameDetailsConfigurator.java
35 35
    private boolean isHybridActivated = true;
36 36

  
37 37
	private boolean isNameApprobiationActivated = true;
38
	private boolean isSecEnabled = true;
39
	private boolean isSecDetailsActivated = true;
38 40

  
39 41
    public NameDetailsConfigurator(boolean isSimpleDetailsViewActivated){
40 42
        this.isSimpleDetailsViewActivated = isSimpleDetailsViewActivated;
......
172 174
        result.append(":");
173 175
        result.append(this.isTaxonSectionActivated);
174 176
        result.append(";");
177
        result.append("taxon.SecEnabled");
178
        result.append(":");
179
        result.append(this.isSecEnabled);
180
        result.append(";");
181
        result.append("taxon.SecDetails");
182
        result.append(":");
183
        result.append(this.isSecDetailsActivated);
184
        result.append(";");
175 185

  
176 186
        result.append("lsid");
177 187
        result.append(":");
......
269 279
        this.isAllowOverride = isAllowOverride;
270 280
    }
271 281

  
282
    public boolean isSecEnabled() {
283
        return isSecEnabled;
284
    }
285

  
286
    public void setSecEnabled(boolean isSecEnabled) {
287
        this.isSecEnabled = isSecEnabled;
288
    }
289

  
290
    public boolean isSecDetailsActivated() {
291
        return isSecDetailsActivated;
292
    }
293

  
294
    public void setSecDetailsActivated(boolean isSecDetailsActivated) {
295
        this.isSecDetailsActivated = isSecDetailsActivated;
296
    }
297

  
272 298
}

Also available in: Unified diff