congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
org.camunda.bpm.engine.impl.db
Code IndexAdd Tabnine to your IDE (free)

How to use org.camunda.bpm.engine.impl.db

Best Java code snippets using org.camunda.bpm.engine.impl.db (Showing top 20 results out of 315)

origin: camunda/camunda-bpm-platform

public CompositePermissionCheck build() {
 validate();
 CompositePermissionCheck permissionCheck = new CompositePermissionCheck(disjunctive);
 permissionCheck.setAtomicChecks(atomicChecks);
 permissionCheck.setCompositeChecks(compositeChecks);
 return permissionCheck;
}

origin: camunda/camunda-bpm-platform

public void databaseFlushSummary(Collection<DbOperation> operations) {
 if(isDebugEnabled()) {
  logDebug("008", "Flush Summary: {}", buildStringFromList(operations));
 }
}
origin: camunda/camunda-bpm-platform

@Override
public int getMaxResults() {
 if (maxResults > DEFAULT_LIMIT_SELECT_INTERVAL) {
  return DEFAULT_LIMIT_SELECT_INTERVAL;
 }
 return super.getMaxResults();
}
origin: camunda/camunda-bpm-platform

public void configureQueryHistoricFinishedInstanceReport(ListQueryParameterObject query, Resource resource) {
 configureQuery(query);
 CompositePermissionCheck compositePermissionCheck = new PermissionCheckBuilder()
  .conjunctive()
   .atomicCheck(resource, "RES.KEY_", READ)
   .atomicCheck(resource, "RES.KEY_", READ_HISTORY)
  .build();
 query.getAuthCheck().setPermissionChecks(compositePermissionCheck);
}
origin: camunda/camunda-bpm-platform

public void setGroupId(String groupId) {
 if(groupId != null && authorizationType == AUTH_TYPE_GLOBAL) {
  throw LOG.notUsableGroupIdForGlobalAuthorizationException();
 }
 this.groupId = groupId;
}

origin: camunda/camunda-bpm-platform

public void performingDatabaseOperation(String operation, String component, String resourceName) {
 logInfo(
  "016",
  "Performing database operation '{}' on component '{}' with resource '{}'",
  operation,
  component,
  resourceName);
}
origin: camunda/camunda-bpm-platform

@Override
public List<HistoricDecisionInputInstance> getInputs() {
 if(inputs != null) {
  return inputs;
 } else {
  throw LOG.historicDecisionInputInstancesNotFetchedException();
 }
}
origin: camunda/camunda-bpm-platform

@Override
public List<HistoricDecisionOutputInstance> getOutputs() {
 if(outputs != null) {
  return outputs;
 } else {
  throw LOG.historicDecisionOutputInstancesNotFetchedException();
 }
}
origin: camunda/camunda-bpm-platform

 protected void fireEntityLoaded(Object result) {
  if(result != null && result instanceof DbEntity) {
   DbEntity entity = (DbEntity) result;
   for (EntityLoadListener entityLoadListener : listeners) {
    entityLoadListener.onEntityLoaded(entity);
   }
  }
 }
}
origin: camunda/camunda-bpm-platform

@Override
public String getFormKey() {
 if(!isFormKeyInitialized) {
  throw LOG.uninitializedFormKeyException();
 }
 return formKey;
}
origin: camunda/camunda-bpm-platform

public void logUpdateUnrelatedProcessDefinitionEntity(String thisKey, String thatKey, String thisDeploymentId, String thatDeploymentId) {
 logDebug(
   "044",
   "Cannot update entity from an unrelated process definition: this key '{}', that key '{}', this deploymentId '{}', that deploymentId '{}'",
   thisKey,
   thatKey,
   thisDeploymentId,
   thatDeploymentId);
}
origin: camunda/camunda-bpm-platform

public AuthorizationCheck(String authUserId, List<String> authGroupIds, List<PermissionCheck> permissionChecks, boolean isRevokeAuthorizationCheckEnabled) {
 this.authUserId = authUserId;
 this.authGroupIds = authGroupIds;
 this.permissionChecks.setAtomicChecks(permissionChecks);
 this.isRevokeAuthorizationCheckEnabled = isRevokeAuthorizationCheckEnabled;    
}

origin: camunda/camunda-bpm-platform

public boolean isEveryPermissionRevoked() {
 if (authorizationType == AUTH_TYPE_GRANT) {
  throw LOG.permissionStateException("isEveryPermissionRevoked", "GRANT");
 }
 return permissions == 0;
}
origin: camunda/camunda-bpm-platform

public void configureQueryHistoricFinishedInstanceReport(ListQueryParameterObject query, Resource resource) {
 configureQuery(query);
 CompositePermissionCheck compositePermissionCheck = new PermissionCheckBuilder()
  .conjunctive()
   .atomicCheck(resource, "RES.KEY_", READ)
   .atomicCheck(resource, "RES.KEY_", READ_HISTORY)
  .build();
 query.getAuthCheck().setPermissionChecks(compositePermissionCheck);
}
origin: camunda/camunda-bpm-platform

public void databaseFlushSummary(Collection<DbOperation> operations) {
 if(isDebugEnabled()) {
  logDebug("008", "Flush Summary: {}", buildStringFromList(operations));
 }
}
origin: camunda/camunda-bpm-platform

public CompositePermissionCheck build() {
 validate();
 CompositePermissionCheck permissionCheck = new CompositePermissionCheck(disjunctive);
 permissionCheck.setAtomicChecks(atomicChecks);
 permissionCheck.setCompositeChecks(compositeChecks);
 return permissionCheck;
}

origin: camunda/camunda-bpm-platform

public void setGroupId(String groupId) {
 if(groupId != null && authorizationType == AUTH_TYPE_GLOBAL) {
  throw LOG.notUsableGroupIdForGlobalAuthorizationException();
 }
 this.groupId = groupId;
}

origin: camunda/camunda-bpm-platform

public void creatingHistoryLevelPropertyInDatabase(HistoryLevel historyLevel) {
 logInfo(
   "065",
   "Creating historyLevel property in database for level: {}", historyLevel);
}
origin: camunda/camunda-bpm-platform

public void executingDDL(List<String> logLines) {
 if(isDebugEnabled()) {
  logDebug(
    "062",
    "Executing Schmema DDL {}",
    buildStringFromList(logLines));
 }
}
origin: camunda/camunda-bpm-platform

public void flushedCacheState(List<CachedDbEntity> cachedEntities) {
 if(isDebugEnabled()) {
  logDebug("006", "Cache state after flush: {}", buildStringFromList(cachedEntities));
 }
}
org.camunda.bpm.engine.impl.db

Most used classes

  • DbSqlSession
  • ListQueryParameterObject
  • DbEntityManager
  • DbEntityOperation
    An operation on a single DbEntity
  • DbSqlSessionFactory
  • AuthorizationCheck,
  • DbEntity,
  • HasDbRevision,
  • PersistenceSession,
  • DbEntityManagerFactory,
  • CachedDbEntity,
  • DbEntityCache,
  • DbBulkOperation,
  • DbOperationManager,
  • CompositePermissionCheck,
  • DbEntityLifecycleAware,
  • DbIdGenerator,
  • EnginePersistenceLogger,
  • EntityLoadListener
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now