@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(); }
@Source(type = SourceType.APP) public interface ImapEncryptionConfig extends Config { @Property("imap.encryption.key") String getEncryptionKey(); @Property("imap.encryption.iv") String getEncryptionIv(); }
/** * Configuration interface for the old REST API v1 */ @Source(type = SourceType.APP) public interface RestConfig extends Config { @Property("cuba.rest.productionMode") @DefaultBoolean(false) boolean getProductionMode(); @Property("cuba.rest.apiVersion") @DefaultInt(2) int getRestApiVersion(); }
@Source(type = SourceType.DATABASE) public interface BIConfig extends Config { @Property("cubabi.pentahoServerUrl") @DefaultString("http://localhost:8081/pentaho") String getPentahoServerUrl(); void setPentahoServerUrl(String serverUrl); }
@Source(type = SourceType.DATABASE) public interface AttachableConfiguration extends Config { @Property("attachable.updateAttachmentCounterOnSelect") @Default("true") Boolean getUpdateAttachmentCounterOnSelect(); }
@Source(type = SourceType.DATABASE) public interface AmazonS3Config extends Config { @Property("cuba.amazonS3.accessKey") String getAccessKey(); @Property("cuba.amazonS3.secretAccessKey") String getSecretAccessKey(); @Property("cuba.amazonS3.region") String getRegionName(); @Property("cuba.amazonS3.bucket") String getBucket(); @Property("cuba.amazonS3.chunkSize") @DefaultInt(8192) int getChunkSize(); }
/** * {@link com.haulmont.cuba.security.app.EntityLog} configuration parameters * */ @Source(type = SourceType.DATABASE) public interface EntityLogConfig extends Config { /** * @return Whether the EntityLog is enabled */ @Property("cuba.entityLog.enabled") @DefaultBoolean(true) boolean getEnabled(); void setEnabled(boolean value); }
/** * 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);
/** * Support e-mail. Exception report emails are sent to this address. */ @Property("cuba.supportEmail") @Source(type = SourceType.DATABASE) String getSupportEmail();
@Source(type = SourceType.APP) @Property("ldap.contextSourceUrl") String getContextSourceUrl();
@Source(type = SourceType.APP) @Property("ldap.contextSourceBase") String getContextSourceBase();
@Source(type = SourceType.APP) @Property("ldap.cubaGroupForSynchronizationInverse") Boolean getCubaGroupForSynchronizationInverse();
@Source(type = SourceType.APP) @Property("ldap.contextSourceUserName") String getContextSourceUserName();
/** * 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();