- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {LocalDateTime l =
new LocalDateTime()
LocalDateTime.now()
DateTimeFormatter formatter;String text;formatter.parseLocalDateTime(text)
- Smart code suggestions by Codota
}
public void checkReadDecisionDefinition(DecisionDefinitionEntity decisionDefinition) { getAuthorizationManager().checkAuthorization(READ, DECISION_DEFINITION, decisionDefinition.getKey()); }
public void checkUpdateDecisionDefinition(DecisionDefinitionEntity decisionDefinition) { getAuthorizationManager().checkAuthorization(UPDATE, DECISION_DEFINITION, decisionDefinition.getKey()); }
public void checkReadDecisionDefinition(DecisionDefinitionEntity decisionDefinition) { getAuthorizationManager().checkAuthorization(READ, DECISION_DEFINITION, decisionDefinition.getKey()); }
public void checkUpdateDecisionDefinition(DecisionDefinitionEntity decisionDefinition) { getAuthorizationManager().checkAuthorization(UPDATE, DECISION_DEFINITION, decisionDefinition.getKey()); }
@Override public Object execute(CommandContext commandContext) { ensureNotNull("decisionDefinitionId", decisionDefinitionId); DecisionDefinitionEntity decisionDefinition = commandContext .getDecisionDefinitionManager() .findDecisionDefinitionById(decisionDefinitionId); ensureNotNull("No decision definition found with id: " + decisionDefinitionId, "decisionDefinition", decisionDefinition); for(CommandChecker checker : commandContext.getProcessEngineConfiguration().getCommandCheckers()) { checker.checkDeleteHistoricDecisionInstance(decisionDefinition.getKey()); } commandContext .getHistoricDecisionInstanceManager() .deleteHistoricDecisionInstancesByDecisionDefinitionId(decisionDefinitionId); return null; }
@Override public Object execute(CommandContext commandContext) { ensureNotNull("decisionDefinitionId", decisionDefinitionId); DecisionDefinitionEntity decisionDefinition = commandContext .getDecisionDefinitionManager() .findDecisionDefinitionById(decisionDefinitionId); ensureNotNull("No decision definition found with id: " + decisionDefinitionId, "decisionDefinition", decisionDefinition); for(CommandChecker checker : commandContext.getProcessEngineConfiguration().getCommandCheckers()) { checker.checkDeleteHistoricDecisionInstance(decisionDefinition.getKey()); } commandContext .getHistoricDecisionInstanceManager() .deleteHistoricDecisionInstancesByDecisionDefinitionId(decisionDefinitionId); return null; }
public void checkUpdateDecisionDefinition(DecisionDefinitionEntity decisionDefinition) { getAuthorizationManager().checkAuthorization(UPDATE, DECISION_DEFINITION, decisionDefinition.getKey()); }
public void checkReadDecisionDefinition(DecisionDefinitionEntity decisionDefinition) { getAuthorizationManager().checkAuthorization(READ, DECISION_DEFINITION, decisionDefinition.getKey()); }
@Override public Object execute(CommandContext commandContext) { ensureNotNull("decisionDefinitionId", decisionDefinitionId); DecisionDefinitionEntity decisionDefinition = commandContext .getDecisionDefinitionManager() .findDecisionDefinitionById(decisionDefinitionId); ensureNotNull("No decision definition found with id: " + decisionDefinitionId, "decisionDefinition", decisionDefinition); for(CommandChecker checker : commandContext.getProcessEngineConfiguration().getCommandCheckers()) { checker.checkDeleteHistoricDecisionInstance(decisionDefinition.getKey()); } commandContext .getHistoricDecisionInstanceManager() .deleteHistoricDecisionInstancesByDecisionDefinitionId(decisionDefinitionId); return null; }