code
stringlengths
23
201k
docstring
stringlengths
17
96.2k
func_name
stringlengths
0
235
language
stringclasses
1 value
repo
stringlengths
8
72
path
stringlengths
11
317
url
stringlengths
57
377
license
stringclasses
7 values
public Set<String> getVariableNames() { return getVariableNamesLocal(); }
Wraps a variable scope as if it has no parent such that it is reduced to its local variables. For example {@link #getVariable(String)} simply delegates to {@link #getVariableLocal(String)}. @author Thorben Lindhauer
getVariableNames
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableScopeLocalAdapter.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableScopeLocalAdapter.java
Apache-2.0
public Set<String> getVariableNamesLocal() { return wrappedScope.getVariableNamesLocal(); }
Wraps a variable scope as if it has no parent such that it is reduced to its local variables. For example {@link #getVariable(String)} simply delegates to {@link #getVariableLocal(String)}. @author Thorben Lindhauer
getVariableNamesLocal
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableScopeLocalAdapter.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableScopeLocalAdapter.java
Apache-2.0
public void setVariable(String variableName, Object value) { setVariableLocal(variableName, value); }
Wraps a variable scope as if it has no parent such that it is reduced to its local variables. For example {@link #getVariable(String)} simply delegates to {@link #getVariableLocal(String)}. @author Thorben Lindhauer
setVariable
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableScopeLocalAdapter.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableScopeLocalAdapter.java
Apache-2.0
public void setVariableLocal(String variableName, Object value) { wrappedScope.setVariableLocal(variableName, value); }
Wraps a variable scope as if it has no parent such that it is reduced to its local variables. For example {@link #getVariable(String)} simply delegates to {@link #getVariableLocal(String)}. @author Thorben Lindhauer
setVariableLocal
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableScopeLocalAdapter.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableScopeLocalAdapter.java
Apache-2.0
public boolean hasVariables() { return hasVariablesLocal(); }
Wraps a variable scope as if it has no parent such that it is reduced to its local variables. For example {@link #getVariable(String)} simply delegates to {@link #getVariableLocal(String)}. @author Thorben Lindhauer
hasVariables
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableScopeLocalAdapter.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableScopeLocalAdapter.java
Apache-2.0
public boolean hasVariablesLocal() { return wrappedScope.hasVariablesLocal(); }
Wraps a variable scope as if it has no parent such that it is reduced to its local variables. For example {@link #getVariable(String)} simply delegates to {@link #getVariableLocal(String)}. @author Thorben Lindhauer
hasVariablesLocal
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableScopeLocalAdapter.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableScopeLocalAdapter.java
Apache-2.0
public boolean hasVariable(String variableName) { return hasVariableLocal(variableName); }
Wraps a variable scope as if it has no parent such that it is reduced to its local variables. For example {@link #getVariable(String)} simply delegates to {@link #getVariableLocal(String)}. @author Thorben Lindhauer
hasVariable
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableScopeLocalAdapter.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableScopeLocalAdapter.java
Apache-2.0
public boolean hasVariableLocal(String variableName) { return wrappedScope.hasVariableLocal(variableName); }
Wraps a variable scope as if it has no parent such that it is reduced to its local variables. For example {@link #getVariable(String)} simply delegates to {@link #getVariableLocal(String)}. @author Thorben Lindhauer
hasVariableLocal
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableScopeLocalAdapter.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableScopeLocalAdapter.java
Apache-2.0
public void setVariablesProvider(VariablesProvider<T> variablesProvider) { if (variables != null) { // already initialized return; } else { this.variablesProvider = variablesProvider; } }
The variables provider can be exchanged as long as the variables are not yet initialized
setVariablesProvider
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableStore.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableStore.java
Apache-2.0
protected Map<String, T> getVariablesMap() { forceInitialization(); return variables; }
The variables provider can be exchanged as long as the variables are not yet initialized
getVariablesMap
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableStore.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableStore.java
Apache-2.0
protected Map<String, T> getVariablesMap(Collection<String> variableNames) { if (variableNames == null) { return getVariablesMap(); } Map<String, T> result = new HashMap<>(); if (isInitialized()) { for (String variableName : variableNames) { if (variables.containsKey(variableName))...
The variables provider can be exchanged as long as the variables are not yet initialized
getVariablesMap
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableStore.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableStore.java
Apache-2.0
public T getRemovedVariable(String name) { return removedVariables.get(name); }
The variables provider can be exchanged as long as the variables are not yet initialized
getRemovedVariable
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableStore.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableStore.java
Apache-2.0
public T getVariable(String name) { return getVariablesMap().get(name); }
The variables provider can be exchanged as long as the variables are not yet initialized
getVariable
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableStore.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableStore.java
Apache-2.0
public List<T> getVariables() { return new ArrayList<>(getVariablesMap().values()); }
The variables provider can be exchanged as long as the variables are not yet initialized
getVariables
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableStore.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableStore.java
Apache-2.0
public List<T> getVariables(Collection<String> variableNames) { return new ArrayList<>(getVariablesMap(variableNames).values()); }
The variables provider can be exchanged as long as the variables are not yet initialized
getVariables
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableStore.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableStore.java
Apache-2.0
public void addVariable(T value) { if (containsKey(value.getName())) { throw ProcessEngineLogger.CORE_LOGGER.duplicateVariableInstanceException(value); } getVariablesMap().put(value.getName(), value); for (VariableStoreObserver<T> listener : observers) { listener.onAdd(value); } ...
The variables provider can be exchanged as long as the variables are not yet initialized
addVariable
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableStore.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableStore.java
Apache-2.0
public void updateVariable(T value) { if (!containsKey(value.getName())) { throw ProcessEngineLogger.CORE_LOGGER.duplicateVariableInstanceException(value); } }
The variables provider can be exchanged as long as the variables are not yet initialized
updateVariable
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableStore.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableStore.java
Apache-2.0
public boolean isEmpty() { return getVariablesMap().isEmpty(); }
The variables provider can be exchanged as long as the variables are not yet initialized
isEmpty
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableStore.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableStore.java
Apache-2.0
public boolean containsValue(T value) { return getVariablesMap().containsValue(value); }
The variables provider can be exchanged as long as the variables are not yet initialized
containsValue
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableStore.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableStore.java
Apache-2.0
public boolean containsKey(String key) { return getVariablesMap().containsKey(key); }
The variables provider can be exchanged as long as the variables are not yet initialized
containsKey
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableStore.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableStore.java
Apache-2.0
public Set<String> getKeys() { return new HashSet<>(getVariablesMap().keySet()); }
The variables provider can be exchanged as long as the variables are not yet initialized
getKeys
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableStore.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableStore.java
Apache-2.0
public boolean isInitialized() { return variables != null; }
The variables provider can be exchanged as long as the variables are not yet initialized
isInitialized
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableStore.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableStore.java
Apache-2.0
public void forceInitialization() { if (!isInitialized()) { variables = new HashMap<>(); for (T variable : variablesProvider.provideVariables()) { variables.put(variable.getName(), variable); } } }
The variables provider can be exchanged as long as the variables are not yet initialized
forceInitialization
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableStore.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableStore.java
Apache-2.0
public T removeVariable(String variableName) { if (!getVariablesMap().containsKey(variableName)) { return null; } T value = getVariablesMap().remove(variableName); for (VariableStoreObserver<T> observer : observers) { observer.onRemove(value); } removedVariables.put(variableName,...
The variables provider can be exchanged as long as the variables are not yet initialized
removeVariable
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableStore.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableStore.java
Apache-2.0
public void removeVariables() { Iterator<T> valuesIt = getVariablesMap().values().iterator(); removedVariables.putAll(variables); while (valuesIt.hasNext()) { T nextVariable = valuesIt.next(); valuesIt.remove(); for (VariableStoreObserver<T> observer : observers) { observer.onRe...
The variables provider can be exchanged as long as the variables are not yet initialized
removeVariables
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableStore.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableStore.java
Apache-2.0
public boolean isRemoved(String variableName) { return removedVariables.containsKey(variableName); }
The variables provider can be exchanged as long as the variables are not yet initialized
isRemoved
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableStore.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/core/variable/scope/VariableStore.java
Apache-2.0
public boolean isAuthorizationCheckEnabled() { return isAuthorizationCheckEnabled; }
the default permissions to use if no matching authorization can be found.
isAuthorizationCheckEnabled
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/AuthorizationCheck.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/AuthorizationCheck.java
Apache-2.0
public boolean getIsAuthorizationCheckEnabled() { return isAuthorizationCheckEnabled; }
the default permissions to use if no matching authorization can be found.
getIsAuthorizationCheckEnabled
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/AuthorizationCheck.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/AuthorizationCheck.java
Apache-2.0
public void setAuthorizationCheckEnabled(boolean isAuthorizationCheckPerformed) { this.isAuthorizationCheckEnabled = isAuthorizationCheckPerformed; }
the default permissions to use if no matching authorization can be found.
setAuthorizationCheckEnabled
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/AuthorizationCheck.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/AuthorizationCheck.java
Apache-2.0
public boolean shouldPerformAuthorizatioCheck() { return shouldPerformAuthorizatioCheck; }
the default permissions to use if no matching authorization can be found.
shouldPerformAuthorizatioCheck
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/AuthorizationCheck.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/AuthorizationCheck.java
Apache-2.0
public void reset() { nextId = 0; lastId = -1; }
Reset inner state so that the generator fetches a new block of IDs from the database when the next ID generation request is received.
reset
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/DbIdGenerator.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/DbIdGenerator.java
Apache-2.0
public List<DbOperation> getFailedOperations() { return failedOperations; }
@return the operation that could not be performed
getFailedOperations
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/FlushResult.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/FlushResult.java
Apache-2.0
public List<DbOperation> getRemainingOperations() { return remainingOperations; }
@return operations that were not applied, because a preceding operation failed
getRemainingOperations
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/FlushResult.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/FlushResult.java
Apache-2.0
public boolean hasFailures() { return !failedOperations.isEmpty(); }
@return operations that were not applied, because a preceding operation failed
hasFailures
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/FlushResult.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/FlushResult.java
Apache-2.0
public boolean hasRemainingOperations() { return !remainingOperations.isEmpty(); }
@return operations that were not applied, because a preceding operation failed
hasRemainingOperations
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/FlushResult.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/FlushResult.java
Apache-2.0
public static FlushResult allApplied() { return new FlushResult(Collections.<DbOperation>emptyList(), Collections.<DbOperation>emptyList()); }
@return operations that were not applied, because a preceding operation failed
allApplied
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/FlushResult.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/FlushResult.java
Apache-2.0
public static FlushResult withFailures(List<DbOperation> failedOperations) { return new FlushResult(failedOperations, Collections.<DbOperation>emptyList()); }
@return operations that were not applied, because a preceding operation failed
withFailures
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/FlushResult.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/FlushResult.java
Apache-2.0
public static FlushResult withFailuresAndRemaining(List<DbOperation> failedOperations, List<DbOperation> remainingOperations) { return new FlushResult(failedOperations, remainingOperations); }
@return operations that were not applied, because a preceding operation failed
withFailuresAndRemaining
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/FlushResult.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/FlushResult.java
Apache-2.0
public Permission getPermission() { return permission; }
query parameter for resource Id. Is injected as RAW parameter into the query
getPermission
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/PermissionCheck.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/PermissionCheck.java
Apache-2.0
public void setPermission(Permission permission) { this.permission = permission; if (permission != null) { perms = permission.getValue(); } }
query parameter for resource Id. Is injected as RAW parameter into the query
setPermission
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/PermissionCheck.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/PermissionCheck.java
Apache-2.0
public int getPerms() { return perms; }
query parameter for resource Id. Is injected as RAW parameter into the query
getPerms
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/PermissionCheck.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/PermissionCheck.java
Apache-2.0
public Resource getResource() { return resource; }
query parameter for resource Id. Is injected as RAW parameter into the query
getResource
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/PermissionCheck.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/PermissionCheck.java
Apache-2.0
public void setResource(Resource resource) { this.resource = resource; if (resource != null) { resourceType = resource.resourceType(); } }
query parameter for resource Id. Is injected as RAW parameter into the query
setResource
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/PermissionCheck.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/PermissionCheck.java
Apache-2.0
public int getResourceType() { return resourceType; }
query parameter for resource Id. Is injected as RAW parameter into the query
getResourceType
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/PermissionCheck.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/PermissionCheck.java
Apache-2.0
public String getResourceId() { return resourceId; }
query parameter for resource Id. Is injected as RAW parameter into the query
getResourceId
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/PermissionCheck.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/PermissionCheck.java
Apache-2.0
public void setResourceId(String resourceId) { this.resourceId = resourceId; }
query parameter for resource Id. Is injected as RAW parameter into the query
setResourceId
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/PermissionCheck.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/PermissionCheck.java
Apache-2.0
public String getResourceIdQueryParam() { return resourceIdQueryParam; }
query parameter for resource Id. Is injected as RAW parameter into the query
getResourceIdQueryParam
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/PermissionCheck.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/PermissionCheck.java
Apache-2.0
public void setResourceIdQueryParam(String resourceIdQueryParam) { this.resourceIdQueryParam = resourceIdQueryParam; }
query parameter for resource Id. Is injected as RAW parameter into the query
setResourceIdQueryParam
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/PermissionCheck.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/PermissionCheck.java
Apache-2.0
public Long getAuthorizationNotFoundReturnValue() { return authorizationNotFoundReturnValue; }
query parameter for resource Id. Is injected as RAW parameter into the query
getAuthorizationNotFoundReturnValue
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/PermissionCheck.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/PermissionCheck.java
Apache-2.0
public void setAuthorizationNotFoundReturnValue(Long authorizationNotFoundReturnValue) { this.authorizationNotFoundReturnValue = authorizationNotFoundReturnValue; }
query parameter for resource Id. Is injected as RAW parameter into the query
setAuthorizationNotFoundReturnValue
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/PermissionCheck.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/PermissionCheck.java
Apache-2.0
public boolean isTenantCheckEnabled() { return isTenantCheckEnabled; }
the ids of the authenticated tenants
isTenantCheckEnabled
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/TenantCheck.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/TenantCheck.java
Apache-2.0
protected DbEntity cacheFilter(DbEntity persistentObject) { DbEntity cachedPersistentObject = dbEntityCache.get(persistentObject.getClass(), persistentObject.getId()); if (cachedPersistentObject!=null) { return cachedPersistentObject; } else { return persistentObject; } }
returns the object in the cache. if this object was loaded before, then the original object is returned.
cacheFilter
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
@Override public void onEntityLoaded(DbEntity entity) { // we get a callback when the persistence session loads an object from the database DbEntity cachedPersistentObject = dbEntityCache.get(entity.getClass(), entity.getId()); if(cachedPersistentObject == null) { // only put into the cache if not a...
returns the object in the cache. if this object was loaded before, then the original object is returned.
onEntityLoaded
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
public void lock(String statement) { lock(statement, null); }
returns the object in the cache. if this object was loaded before, then the original object is returned.
lock
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
public void lock(String statement, Object parameter) { persistenceSession.lock(statement, parameter); }
returns the object in the cache. if this object was loaded before, then the original object is returned.
lock
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
public boolean isDirty(DbEntity dbEntity) { CachedDbEntity cachedEntity = dbEntityCache.getCachedEntity(dbEntity); if(cachedEntity == null) { return false; } else { return cachedEntity.isDirty() || cachedEntity.getEntityState() == DbEntityState.MERGED; } }
returns the object in the cache. if this object was loaded before, then the original object is returned.
isDirty
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
@Override public void flush() { // flush the entity cache which inserts operations to the db operation manager flushEntityCache(); // flush the db operation manager flushDbOperationManager(); }
returns the object in the cache. if this object was loaded before, then the original object is returned.
flush
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
public void setIgnoreForeignKeysForNextFlush(boolean ignoreForeignKeysForNextFlush) { isIgnoreForeignKeysForNextFlush = ignoreForeignKeysForNextFlush; }
returns the object in the cache. if this object was loaded before, then the original object is returned.
setIgnoreForeignKeysForNextFlush
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
protected void flushDbOperationManager() { // obtain totally ordered operation list from operation manager List<DbOperation> operationsToFlush = dbOperationManager.calculateFlush(); if (operationsToFlush == null || operationsToFlush.size() == 0) { return; } LOG.databaseFlushSummary(operation...
returns the object in the cache. if this object was loaded before, then the original object is returned.
flushDbOperationManager
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
protected void flushDbOperations(List<DbOperation> operationsToFlush, List<DbOperation> allOperations) { // execute the flush while (!operationsToFlush.isEmpty()) { FlushResult flushResult; try { flushResult = persistenceSession.executeDbOperations(operati...
returns the object in the cache. if this object was loaded before, then the original object is returned.
flushDbOperations
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
public void flushEntity(DbEntity entity) { CachedDbEntity cachedEntity = dbEntityCache.getCachedEntity(entity); if (cachedEntity != null) { flushCachedEntity(cachedEntity); } flushDbOperationManager(); }
returns the object in the cache. if this object was loaded before, then the original object is returned.
flushEntity
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
protected void handleConcurrentModification(DbOperation dbOperation) { OptimisticLockingResult handlingResult = invokeOptimisticLockingListeners(dbOperation); if (OptimisticLockingResult.THROW.equals(handlingResult) && canIgnoreHistoryModificationFailure(dbOperation)) { handlingResult = Optimis...
Decides if an operation that failed for concurrent modifications can be tolerated, or if {@link OptimisticLockingException} should be raised @param dbOperation @throws OptimisticLockingException if there is no handler for the failure
handleConcurrentModification
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
protected void handleConcurrentModificationWithRolledBackTransaction(DbOperation dbOperation) { OptimisticLockingResult handlingResult = invokeOptimisticLockingListeners(dbOperation); if (OptimisticLockingResult.IGNORE.equals(handlingResult)) { LOG.concurrentModificationFailureIgnored(dbOperation); }...
Decides if an operation that failed for concurrent modifications can be tolerated, or if {@link OptimisticLockingException} should be raised @param dbOperation @throws OptimisticLockingException if there is no handler for the failure
handleConcurrentModificationWithRolledBackTransaction
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
private OptimisticLockingResult invokeOptimisticLockingListeners(DbOperation dbOperation) { OptimisticLockingResult handlingResult = OptimisticLockingResult.THROW; if(optimisticLockingListeners != null) { for (OptimisticLockingListener optimisticLockingListener : optimisticLockingListeners) { if(...
Decides if an operation that failed for concurrent modifications can be tolerated, or if {@link OptimisticLockingException} should be raised @param dbOperation @throws OptimisticLockingException if there is no handler for the failure
invokeOptimisticLockingListeners
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
protected boolean canIgnoreHistoryModificationFailure(DbOperation dbOperation) { DbEntity dbEntity = ((DbEntityOperation) dbOperation).getEntity(); return Context.getProcessEngineConfiguration().isSkipHistoryOptimisticLockingExceptions() && (dbEntity instanceof HistoricEntity || isHistoricByteAr...
Determines if a failed database operation (OptimisticLockingException) on a Historic entity can be ignored. @param dbOperation that failed @return true if the failure can be ignored
canIgnoreHistoryModificationFailure
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
protected boolean isHistoricByteArray(DbEntity dbEntity) { if (dbEntity instanceof ByteArrayEntity) { ByteArrayEntity byteArrayEntity = (ByteArrayEntity) dbEntity; return byteArrayEntity.getType().equals(ResourceTypes.HISTORY.getValue()); } else { return false; } }
Determines if a failed database operation (OptimisticLockingException) on a Historic entity can be ignored. @param dbOperation that failed @return true if the failure can be ignored
isHistoricByteArray
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
protected void flushEntityCache() { List<CachedDbEntity> cachedEntities = dbEntityCache.getCachedEntities(); for (CachedDbEntity cachedDbEntity : cachedEntities) { flushCachedEntity(cachedDbEntity); } // log cache state after flush LOG.flushedCacheState(dbEntityCache.getCachedEntities()); }
Flushes the entity cache: Depending on the entity state, the required {@link DbOperation} is performed and the cache is updated.
flushEntityCache
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
protected void flushCachedEntity(CachedDbEntity cachedDbEntity) { if(cachedDbEntity.getEntityState() == TRANSIENT) { // latest state of references in cache is relevant when determining insertion order cachedDbEntity.determineEntityReferences(); // perform INSERT performEntityOperation(cache...
Flushes the entity cache: Depending on the entity state, the required {@link DbOperation} is performed and the cache is updated.
flushCachedEntity
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
public void insert(DbEntity dbEntity) { // generate Id if not present ensureHasId(dbEntity); validateId(dbEntity); // put into cache dbEntityCache.putTransient(dbEntity); }
Flushes the entity cache: Depending on the entity state, the required {@link DbOperation} is performed and the cache is updated.
insert
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
public void merge(DbEntity dbEntity) { if(dbEntity.getId() == null) { throw LOG.mergeDbEntityException(dbEntity); } // NOTE: a proper implementation of merge() would fetch the entity from the database // and merge the state changes. For now, we simply always perform an update. // Supposedly,...
Flushes the entity cache: Depending on the entity state, the required {@link DbOperation} is performed and the cache is updated.
merge
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
public void forceUpdate(DbEntity entity) { CachedDbEntity cachedEntity = dbEntityCache.getCachedEntity(entity); if(cachedEntity != null && cachedEntity.getEntityState() == PERSISTENT) { cachedEntity.forceSetDirty(); } }
Flushes the entity cache: Depending on the entity state, the required {@link DbOperation} is performed and the cache is updated.
forceUpdate
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
public void update(Class<? extends DbEntity> entityType, String statement, Object parameter) { performBulkOperation(entityType, statement, parameter, UPDATE_BULK); }
Flushes the entity cache: Depending on the entity state, the required {@link DbOperation} is performed and the cache is updated.
update
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
public DbOperation updatePreserveOrder(Class<? extends DbEntity> entityType, String statement, Object parameter) { return performBulkOperationPreserveOrder(entityType, statement, parameter, UPDATE_BULK); }
Several update operations added by this method will be executed preserving the order of method calls, no matter what entity type they refer to. They will though be executed after all "not-bulk" operations (e.g. {@link DbEntityManager#insert(DbEntity)} or {@link DbEntityManager#merge(DbEntity)}) and after those updates ...
updatePreserveOrder
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
public void delete(Class<? extends DbEntity> entityType, String statement, Object parameter) { performBulkOperation(entityType, statement, parameter, DELETE_BULK); }
Several update operations added by this method will be executed preserving the order of method calls, no matter what entity type they refer to. They will though be executed after all "not-bulk" operations (e.g. {@link DbEntityManager#insert(DbEntity)} or {@link DbEntityManager#merge(DbEntity)}) and after those updates ...
delete
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
public DbBulkOperation deletePreserveOrder(Class<? extends DbEntity> entityType, String statement, Object parameter) { return performBulkOperationPreserveOrder(entityType, statement, parameter, DELETE_BULK); }
Several delete operations added by this method will be executed preserving the order of method calls, no matter what entity type they refer to. They will though be executed after all "not-bulk" operations (e.g. {@link DbEntityManager#insert(DbEntity)} or {@link DbEntityManager#merge(DbEntity)}) and after those deletes ...
deletePreserveOrder
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
protected DbBulkOperation performBulkOperation(Class<? extends DbEntity> entityType, String statement, Object parameter, DbOperationType operationType) { // create operation DbBulkOperation bulkOperation = createDbBulkOperation(entityType, statement, parameter, operationType); // schedule operation dbO...
Several delete operations added by this method will be executed preserving the order of method calls, no matter what entity type they refer to. They will though be executed after all "not-bulk" operations (e.g. {@link DbEntityManager#insert(DbEntity)} or {@link DbEntityManager#merge(DbEntity)}) and after those deletes ...
performBulkOperation
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
protected DbBulkOperation performBulkOperationPreserveOrder(Class<? extends DbEntity> entityType, String statement, Object parameter, DbOperationType operationType) { DbBulkOperation bulkOperation = createDbBulkOperation(entityType, statement, parameter, operationType); // schedule operation dbOperationMan...
Several delete operations added by this method will be executed preserving the order of method calls, no matter what entity type they refer to. They will though be executed after all "not-bulk" operations (e.g. {@link DbEntityManager#insert(DbEntity)} or {@link DbEntityManager#merge(DbEntity)}) and after those deletes ...
performBulkOperationPreserveOrder
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
private DbBulkOperation createDbBulkOperation(Class<? extends DbEntity> entityType, String statement, Object parameter, DbOperationType operationType) { // create operation DbBulkOperation bulkOperation = new DbBulkOperation(); // configure operation bulkOperation.setOperationType(operationType); b...
Several delete operations added by this method will be executed preserving the order of method calls, no matter what entity type they refer to. They will though be executed after all "not-bulk" operations (e.g. {@link DbEntityManager#insert(DbEntity)} or {@link DbEntityManager#merge(DbEntity)}) and after those deletes ...
createDbBulkOperation
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
protected void performEntityOperation(CachedDbEntity cachedDbEntity, DbOperationType type) { DbEntityOperation dbOperation = new DbEntityOperation(); dbOperation.setEntity(cachedDbEntity.getEntity()); dbOperation.setFlushRelevantEntityReferences(cachedDbEntity.getFlushRelevantEntityReferences()); dbOper...
Several delete operations added by this method will be executed preserving the order of method calls, no matter what entity type they refer to. They will though be executed after all "not-bulk" operations (e.g. {@link DbEntityManager#insert(DbEntity)} or {@link DbEntityManager#merge(DbEntity)}) and after those deletes ...
performEntityOperation
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
@Override public void close() { }
Several delete operations added by this method will be executed preserving the order of method calls, no matter what entity type they refer to. They will though be executed after all "not-bulk" operations (e.g. {@link DbEntityManager#insert(DbEntity)} or {@link DbEntityManager#merge(DbEntity)}) and after those deletes ...
close
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
public boolean isDeleted(DbEntity object) { return dbEntityCache.isDeleted(object); }
Several delete operations added by this method will be executed preserving the order of method calls, no matter what entity type they refer to. They will though be executed after all "not-bulk" operations (e.g. {@link DbEntityManager#insert(DbEntity)} or {@link DbEntityManager#merge(DbEntity)}) and after those deletes ...
isDeleted
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
protected void ensureHasId(DbEntity dbEntity) { if(dbEntity.getId() == null) { String nextId = idGenerator.getNextId(); dbEntity.setId(nextId); } }
Several delete operations added by this method will be executed preserving the order of method calls, no matter what entity type they refer to. They will though be executed after all "not-bulk" operations (e.g. {@link DbEntityManager#insert(DbEntity)} or {@link DbEntityManager#merge(DbEntity)}) and after those deletes ...
ensureHasId
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
protected void validateId(DbEntity dbEntity) { EnsureUtil.ensureValidIndividualResourceId("Entity " + dbEntity + " has an invalid id", dbEntity.getId()); }
Several delete operations added by this method will be executed preserving the order of method calls, no matter what entity type they refer to. They will though be executed after all "not-bulk" operations (e.g. {@link DbEntityManager#insert(DbEntity)} or {@link DbEntityManager#merge(DbEntity)}) and after those deletes ...
validateId
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
public <T extends DbEntity> List<T> pruneDeletedEntities(List<T> listToPrune) { ArrayList<T> prunedList = new ArrayList<>(); for (T potentiallyDeleted : listToPrune) { if(!isDeleted(potentiallyDeleted)) { prunedList.add(potentiallyDeleted); } } return prunedList; }
Several delete operations added by this method will be executed preserving the order of method calls, no matter what entity type they refer to. They will though be executed after all "not-bulk" operations (e.g. {@link DbEntityManager#insert(DbEntity)} or {@link DbEntityManager#merge(DbEntity)}) and after those deletes ...
pruneDeletedEntities
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
public boolean contains(DbEntity dbEntity) { return dbEntityCache.contains(dbEntity); }
Several delete operations added by this method will be executed preserving the order of method calls, no matter what entity type they refer to. They will though be executed after all "not-bulk" operations (e.g. {@link DbEntityManager#insert(DbEntity)} or {@link DbEntityManager#merge(DbEntity)}) and after those deletes ...
contains
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
public DbOperationManager getDbOperationManager() { return dbOperationManager; }
Several delete operations added by this method will be executed preserving the order of method calls, no matter what entity type they refer to. They will though be executed after all "not-bulk" operations (e.g. {@link DbEntityManager#insert(DbEntity)} or {@link DbEntityManager#merge(DbEntity)}) and after those deletes ...
getDbOperationManager
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
public void setDbOperationManager(DbOperationManager operationManager) { this.dbOperationManager = operationManager; }
Several delete operations added by this method will be executed preserving the order of method calls, no matter what entity type they refer to. They will though be executed after all "not-bulk" operations (e.g. {@link DbEntityManager#insert(DbEntity)} or {@link DbEntityManager#merge(DbEntity)}) and after those deletes ...
setDbOperationManager
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
public DbEntityCache getDbEntityCache() { return dbEntityCache; }
Several delete operations added by this method will be executed preserving the order of method calls, no matter what entity type they refer to. They will though be executed after all "not-bulk" operations (e.g. {@link DbEntityManager#insert(DbEntity)} or {@link DbEntityManager#merge(DbEntity)}) and after those deletes ...
getDbEntityCache
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
public void setDbEntityCache(DbEntityCache dbEntityCache) { this.dbEntityCache = dbEntityCache; }
Several delete operations added by this method will be executed preserving the order of method calls, no matter what entity type they refer to. They will though be executed after all "not-bulk" operations (e.g. {@link DbEntityManager#insert(DbEntity)} or {@link DbEntityManager#merge(DbEntity)}) and after those deletes ...
setDbEntityCache
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
public DeploymentQueryImpl createDeploymentQuery() { return new DeploymentQueryImpl(); }
Several delete operations added by this method will be executed preserving the order of method calls, no matter what entity type they refer to. They will though be executed after all "not-bulk" operations (e.g. {@link DbEntityManager#insert(DbEntity)} or {@link DbEntityManager#merge(DbEntity)}) and after those deletes ...
createDeploymentQuery
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
public ProcessDefinitionQueryImpl createProcessDefinitionQuery() { return new ProcessDefinitionQueryImpl(); }
Several delete operations added by this method will be executed preserving the order of method calls, no matter what entity type they refer to. They will though be executed after all "not-bulk" operations (e.g. {@link DbEntityManager#insert(DbEntity)} or {@link DbEntityManager#merge(DbEntity)}) and after those deletes ...
createProcessDefinitionQuery
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
public CaseDefinitionQueryImpl createCaseDefinitionQuery() { return new CaseDefinitionQueryImpl(); }
Several delete operations added by this method will be executed preserving the order of method calls, no matter what entity type they refer to. They will though be executed after all "not-bulk" operations (e.g. {@link DbEntityManager#insert(DbEntity)} or {@link DbEntityManager#merge(DbEntity)}) and after those deletes ...
createCaseDefinitionQuery
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
public ProcessInstanceQueryImpl createProcessInstanceQuery() { return new ProcessInstanceQueryImpl(); }
Several delete operations added by this method will be executed preserving the order of method calls, no matter what entity type they refer to. They will though be executed after all "not-bulk" operations (e.g. {@link DbEntityManager#insert(DbEntity)} or {@link DbEntityManager#merge(DbEntity)}) and after those deletes ...
createProcessInstanceQuery
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
public ExecutionQueryImpl createExecutionQuery() { return new ExecutionQueryImpl(); }
Several delete operations added by this method will be executed preserving the order of method calls, no matter what entity type they refer to. They will though be executed after all "not-bulk" operations (e.g. {@link DbEntityManager#insert(DbEntity)} or {@link DbEntityManager#merge(DbEntity)}) and after those deletes ...
createExecutionQuery
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
public TaskQueryImpl createTaskQuery() { return new TaskQueryImpl(); }
Several delete operations added by this method will be executed preserving the order of method calls, no matter what entity type they refer to. They will though be executed after all "not-bulk" operations (e.g. {@link DbEntityManager#insert(DbEntity)} or {@link DbEntityManager#merge(DbEntity)}) and after those deletes ...
createTaskQuery
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
public JobQueryImpl createJobQuery() { return new JobQueryImpl(); }
Several delete operations added by this method will be executed preserving the order of method calls, no matter what entity type they refer to. They will though be executed after all "not-bulk" operations (e.g. {@link DbEntityManager#insert(DbEntity)} or {@link DbEntityManager#merge(DbEntity)}) and after those deletes ...
createJobQuery
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
public HistoricProcessInstanceQueryImpl createHistoricProcessInstanceQuery() { return new HistoricProcessInstanceQueryImpl(); }
Several delete operations added by this method will be executed preserving the order of method calls, no matter what entity type they refer to. They will though be executed after all "not-bulk" operations (e.g. {@link DbEntityManager#insert(DbEntity)} or {@link DbEntityManager#merge(DbEntity)}) and after those deletes ...
createHistoricProcessInstanceQuery
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
public HistoricActivityInstanceQueryImpl createHistoricActivityInstanceQuery() { return new HistoricActivityInstanceQueryImpl(); }
Several delete operations added by this method will be executed preserving the order of method calls, no matter what entity type they refer to. They will though be executed after all "not-bulk" operations (e.g. {@link DbEntityManager#insert(DbEntity)} or {@link DbEntityManager#merge(DbEntity)}) and after those deletes ...
createHistoricActivityInstanceQuery
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
public HistoricTaskInstanceQueryImpl createHistoricTaskInstanceQuery() { return new HistoricTaskInstanceQueryImpl(); }
Several delete operations added by this method will be executed preserving the order of method calls, no matter what entity type they refer to. They will though be executed after all "not-bulk" operations (e.g. {@link DbEntityManager#insert(DbEntity)} or {@link DbEntityManager#merge(DbEntity)}) and after those deletes ...
createHistoricTaskInstanceQuery
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0
public HistoricDetailQueryImpl createHistoricDetailQuery() { return new HistoricDetailQueryImpl(); }
Several delete operations added by this method will be executed preserving the order of method calls, no matter what entity type they refer to. They will though be executed after all "not-bulk" operations (e.g. {@link DbEntityManager#insert(DbEntity)} or {@link DbEntityManager#merge(DbEntity)}) and after those deletes ...
createHistoricDetailQuery
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/db/entitymanager/DbEntityManager.java
Apache-2.0