Class ConfigurationManager
java.lang.Object
org.finos.fluxnova.bpm.engine.impl.persistence.AbstractManager
org.finos.fluxnova.bpm.engine.impl.persistence.entity.ConfigurationManager
- All Implemented Interfaces:
Session
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanexistsActiveConfiguration(String configKey, String tenantId) Checks whether anConfiguration.STATUS_ACTIVEentry already exists for the given scope.findConfigurationById(String configurationId) findConfigurations(String tenantId, boolean includeInactive) intfindMaxConfigurationVersion(String configKey, String tenantId) Returns the highest version stored for the given key and scope, or0if none exists.voidflushConfiguration(ConfigurationEntity configuration) Immediately writes pending changes of the given configuration to the database.voidinsertConfiguration(ConfigurationEntity configuration) Methods inherited from class org.finos.fluxnova.bpm.engine.impl.persistence.AbstractManager
checkAuthorization, close, configureQuery, delete, deleteAuthorizations, deleteAuthorizationsForGroup, deleteAuthorizationsForUser, deleteDefaultAuthorizations, flush, getAttachmentManager, getAuthorizationManager, getBatchManager, getByteArrayManager, getCaseDefinitionManager, getCaseExecutionManager, getCaseInstanceManager, getCommandContext, getCurrentAuthentication, getDbEntityManager, getDbSqlSession, getDecisionDefinitionManager, getDecisionRequirementsDefinitionManager, getDeploymentManager, getEventSubscriptionManager, getFluxnovaFormDefinitionManager, getHistoricActivityInstanceManager, getHistoricBatchManager, getHistoricCaseActivityInstanceManager, getHistoricCaseInstanceManager, getHistoricDecisionInstanceManager, getHistoricDetailManager, getHistoricExternalTaskLogManager, getHistoricIdentityLinkManager, getHistoricIncidentManager, getHistoricJobLogManager, getHistoricProcessInstanceManager, getHistoricReportManager, getHistoricTaskInstanceManager, getHistoricVariableInstanceManager, getIdentityInfoManager, getIdentityLinkManager, getJobDefinitionManager, getJobManager, getProcessDefinitionManager, getProcessInstanceManager, getResourceAuthorizationProvider, getResourceManager, getSession, getTaskManager, getTaskReportManager, getTenantManager, getUserOperationLogManager, getVariableInstanceManager, insert, isAuthorizationEnabled, saveDefaultAuthorizations
-
Constructor Details
-
ConfigurationManager
public ConfigurationManager()
-
-
Method Details
-
insertConfiguration
-
findConfigurationById
-
findConfigurations
-
flushConfiguration
Immediately writes pending changes of the given configuration to the database. Required when an entry must be deactivated before a new active entry is inserted, because the engine otherwise flushes inserts before updates. -
findMaxConfigurationVersion
Returns the highest version stored for the given key and scope, or0if none exists. Anulltenant id addresses the global scope. -
existsActiveConfiguration
Checks whether anConfiguration.STATUS_ACTIVEentry already exists for the given scope. Anulltenant id addresses the global scope.
-