Class AbstractAuditDeleteBuilderImpl<T>

    • Field Detail

      • statuses

        protected Integer[] statuses
      • deploymentId

        protected String deploymentId
      • recordsPerTransaction

        protected int recordsPerTransaction
      • executor

        protected final org.kie.api.runtime.CommandExecutor executor
    • Constructor Detail

      • AbstractAuditDeleteBuilderImpl

        protected AbstractAuditDeleteBuilderImpl​(JPAAuditLogService jpaService)
      • AbstractAuditDeleteBuilderImpl

        protected AbstractAuditDeleteBuilderImpl​(org.kie.api.runtime.CommandExecutor cmdExecutor)
    • Method Detail

      • date

        public T date​(Date... date)
      • dateRangeStart

        public T dateRangeStart​(Date rangeStart)
      • dateRangeEnd

        public T dateRangeEnd​(Date rangeEnd)
      • recordsPerTransaction

        public T recordsPerTransaction​(int numRecords)
        Specified by:
        recordsPerTransaction in interface org.kie.internal.runtime.manager.audit.query.AuditDeleteBuilder<T>
      • processInstanceId

        public T processInstanceId​(long... processInstanceId)
        Specified by:
        processInstanceId in interface org.kie.internal.runtime.manager.audit.query.AuditDeleteBuilder<T>
      • processId

        public T processId​(String... processId)
        Specified by:
        processId in interface org.kie.internal.runtime.manager.audit.query.AuditDeleteBuilder<T>
      • logBelongsToProcessInStatus

        public T logBelongsToProcessInStatus​(Integer... statuses)
        Specified by:
        logBelongsToProcessInStatus in interface org.kie.internal.runtime.manager.audit.query.AuditDeleteBuilder<T>
      • logBelongsToProcessInDeployment

        public T logBelongsToProcessInDeployment​(String deploymentId)
        Specified by:
        logBelongsToProcessInDeployment in interface org.kie.internal.runtime.manager.audit.query.AuditDeleteBuilder<T>
      • checkIfNull

        protected <P> boolean checkIfNull​(P... parameter)
      • ensureDateNotTimestamp

        protected Date[] ensureDateNotTimestamp​(Date... date)
      • getQueryType

        protected abstract Class<?> getQueryType()
      • getQueryTable

        protected abstract String getQueryTable()
      • isSubquerySupported

        protected boolean isSubquerySupported()
      • build

        public org.kie.internal.query.ParametrizedUpdate build()
        Specified by:
        build in interface org.kie.internal.runtime.manager.audit.query.AuditDeleteBuilder<T>