@Source(type = SourceType.APP) public interface QueryCacheConfig extends Config { @Property("cuba.queryCache.enabled") @DefaultBoolean(true) boolean getQueryCacheEnabled(); @Property("cuba.queryCache.maxSize") @DefaultInt(100) int getQueryCacheMaxSize(); }
@Source(type = SourceType.APP) public interface BpmConfig extends Config { @Property("bpm.modeler.url") @Default("/modeler/modeler.html") String getModelerUrl(); @Property("bpm.formsConfig") @Default("com/haulmont/bpm/forms.xml") String getFormsConfig(); }
@Source(type = SourceType.DATABASE) public interface DbUpdateWizardConfiguration extends Config { @Property("db-update-wizard.executed") @Default("false") Boolean getExecuted(); void setExecuted(Boolean executed); }
/** * Configuration parameters for the dynamic columns component. */ @Source(type = SourceType.APP) public interface DynamicColumnsConfig extends Config { @Property("nxdcol.editActionShortcut") @DefaultString("CTRL-ALT-D") String getEditActionShortcut(); }
/** * Defines which screen should be opened after login. This setting will be applied to all users. */ @Property("cuba.web.defaultScreenId") @Source(type = SourceType.DATABASE) String getDefaultScreenId(); void setDefaultScreenId(String screenId);
/** * DEPRECATED as obsolete. * @return REST API connection URL */ @Deprecated @Property("cuba.restApiUrl") @Source(type = SourceType.DATABASE) @DefaultString("http://localhost:8080/app-portal/api") String getRestApiUrl();
/** * @return Allows to apply a filter to previously selected rows */ @Property("cuba.allowQueryFromSelected") @Source(type = SourceType.DATABASE) @DefaultBoolean(true) boolean getAllowQueryFromSelected();
/** * If set to true and query loading values is affected by security constraints, an exception is thrown */ @Property("cuba.disableLoadValuesIfConstraints") @Source(type = SourceType.DATABASE) @DefaultBoolean(false) boolean getDisableLoadValuesIfConstraints();
/** * @return batch size for loading related entities from different data stores */ @Property("cuba.crossDataStoreReferenceLoadingBatchSize") @Source(type = SourceType.DATABASE) @DefaultInt(50) int getCrossDataStoreReferenceLoadingBatchSize();
/** * @return use read-only transactions in {@code DataManager} load operations and do not commit them */ @Property("cuba.useReadOnlyTransactionForLoad") @Source(type = SourceType.DATABASE) @DefaultBoolean(true) boolean getUseReadOnlyTransactionForLoad();
/** * @return Whether to enable password policy. If true, all new passwords will be checked for the compliance with * {@code cuba.passwordPolicyRegExp} */ @Property("cuba.passwordPolicyEnabled") @Source(type = SourceType.DATABASE) @DefaultBoolean(false) boolean getPasswordPolicyEnabled();
/** * @return The regular expression which is used by password policy (see also {@code cuba.passwordPolicyEnabled}). */ @Property("cuba.passwordPolicyRegExp") @Source(type = SourceType.DATABASE) @DefaultString("((?=.*\\d)(?=.*\\p{javaLowerCase})(?=.*\\p{javaUpperCase}).{6,20})") String getPasswordPolicyRegExp();
/** * @return System ID. Use for identification (support emails). */ @Property("cuba.systemId") @DefaultString("CUBA") @Source(type = SourceType.DATABASE) String getSystemID();
/** * Maximum depth of entity model that is used in report wizard and report dataset view editor. */ @Property("reporting.entityTreeModelMaxDepth") @Source(type = SourceType.DATABASE) @DefaultInteger(3) Integer getEntityTreeModelMaxDeep();
/** * Defines whether default screen can be closed or not when TABBED work area mode is used. */ @Property("cuba.web.defaultScreenCanBeClosed") @Source(type = SourceType.DATABASE) @DefaultBoolean(true) boolean getDefaultScreenCanBeClosed(); void setDefaultScreenCanBeClosed(boolean value);
/** * Enables to configure whether web resources should be cached or not. * <p> * Zero cache time disables caching at all. * * @return web resources cache time in seconds */ @Property("cuba.web.resourcesCacheTime") @Source(type = SourceType.APP) @DefaultLong(60 * 60) long getWebResourcesCacheTime();
/** * @return Scheduled tasks execution control. */ @Property("cuba.schedulingActive") @Source(type = SourceType.DATABASE) @DefaultBoolean(false) boolean getSchedulingActive(); void setSchedulingActive(boolean value);
/** * Returns a comma-separated list of values that are used as options for "Show rows" lookup field * of generic filter component. Add NULL option to the list if the lookup field should contain an empty value. */ @Property("cuba.gui.genericFilterMaxResultsOptions") @Source(type = SourceType.DATABASE) @Default("NULL, 20, 50, 100, 500, 1000, 5000") String getGenericFilterMaxResultsOptions();
/** * Entity properties that will not to be excluded by {@code reporting.wizardPropertiesBlackList} setting * @see com.haulmont.reports.ReportingConfig#getWizardPropertiesBlackList() */ @Property("reporting.wizardPropertiesExcludedBlackList") @Source(type = SourceType.DATABASE) @DefaultString("") @Factory(factory = CommaSeparatedStringListTypeFactory.class) List<String> getWizardPropertiesExcludedBlackList();
/** * Disable ESCAPE in queries with LIKE for specified data stores. */ @Property("cuba.disableEscapingLikeForDataStores") @Source(type = SourceType.DATABASE) @Factory(factory = CommaSeparatedStringListTypeFactory.class) @Stringify(stringify = CommaSeparatedStringListStringify.class) List<String> getDisableEscapingLikeForDataStores(); }