示例#1
0
 protected internal virtual bool hasRemovalTime(SetRemovalTimeToHistoricBatchesBuilderImpl.Mode mode)
 {
     return(builder.getMode() == SetRemovalTimeToHistoricBatchesBuilderImpl.Mode.ABSOLUTE_REMOVAL_TIME || builder.getMode() == SetRemovalTimeToHistoricBatchesBuilderImpl.Mode.CLEARED_REMOVAL_TIME);
 }
示例#2
0
        protected internal virtual void writeUserOperationLog(CommandContext commandContext, int numInstances, SetRemovalTimeToHistoricBatchesBuilderImpl.Mode mode, DateTime removalTime, 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("nrOfInstances", null, numInstances));
            propertyChanges.Add(new PropertyChange("async", null, async));

            commandContext.OperationLogManager.logBatchOperation(org.camunda.bpm.engine.history.UserOperationLogEntry_Fields.OPERATION_TYPE_SET_REMOVAL_TIME, propertyChanges);
        }