protected internal virtual bool hasRemovalTime(SetRemovalTimeToHistoricDecisionInstancesBuilderImpl.Mode mode) { return(builder.getMode() == SetRemovalTimeToHistoricDecisionInstancesBuilderImpl.Mode.ABSOLUTE_REMOVAL_TIME || builder.getMode() == SetRemovalTimeToHistoricDecisionInstancesBuilderImpl.Mode.CLEARED_REMOVAL_TIME); }
protected internal virtual void writeUserOperationLog(CommandContext commandContext, int numInstances, SetRemovalTimeToHistoricDecisionInstancesBuilderImpl.Mode mode, DateTime removalTime, bool hierarchical, bool async) { IList <PropertyChange> propertyChanges = new List <PropertyChange>(); propertyChanges.Add(new PropertyChange("mode", null, mode)); propertyChanges.Add(new PropertyChange("removalTime", null, removalTime)); propertyChanges.Add(new PropertyChange("hierarchical", null, hierarchical)); propertyChanges.Add(new PropertyChange("nrOfInstances", null, numInstances)); propertyChanges.Add(new PropertyChange("async", null, async)); commandContext.OperationLogManager.logDecisionInstanceOperation(org.camunda.bpm.engine.history.UserOperationLogEntry_Fields.OPERATION_TYPE_SET_REMOVAL_TIME, propertyChanges); }