KIE Internal 6.2.0.Final

org.kie.internal.runtime.manager.audit.query
Interface RequestInfoLogDeleteBuilder

All Superinterfaces:
AuditDeleteBuilder<RequestInfoLogDeleteBuilder>

public interface RequestInfoLogDeleteBuilder
extends AuditDeleteBuilder<RequestInfoLogDeleteBuilder>


Method Summary
 ParametrizedUpdate build()
          Create the ParametrizedUpdate instance that can be used to execute update/delete of AuditTask instances.
 RequestInfoLogDeleteBuilder date(Date... date)
          Specify one or more dates as criteria in the query
 RequestInfoLogDeleteBuilder dateRangeEnd(Date rangeStart)
          Specify the end of a date range to be used as a criteria on the date field.
 RequestInfoLogDeleteBuilder dateRangeStart(Date rangeStart)
          Specify the begin of a date range to be used as a criteria on the date field.
 RequestInfoLogDeleteBuilder deploymentId(String... deploymentId)
          Specify one or more deployment ids to use as a criteria.
 RequestInfoLogDeleteBuilder status(STATUS... status)
          Specify one more statuses (in the form of an int) as criteria.
 
Methods inherited from interface org.kie.internal.runtime.manager.audit.query.AuditDeleteBuilder
processId, processInstanceId
 

Method Detail

date

RequestInfoLogDeleteBuilder date(Date... date)
Specify one or more dates as criteria in the query

Parameters:
date - one or more dates
Returns:
The current query builder instance

dateRangeStart

RequestInfoLogDeleteBuilder dateRangeStart(Date rangeStart)
Specify the begin of a date range to be used as a criteria on the date field. The date range includes the date specified.

Parameters:
date - the start (early end) of the date range
Returns:
The current query builder instance

dateRangeEnd

RequestInfoLogDeleteBuilder dateRangeEnd(Date rangeStart)
Specify the end of a date range to be used as a criteria on the date field. The date range includes this date.

Parameters:
date - the end (later end) of the date range
Returns:
The current query builder instance

deploymentId

RequestInfoLogDeleteBuilder deploymentId(String... deploymentId)
Specify one or more deployment ids to use as a criteria.

Parameters:
deploymentId - one or more string deployment ids
Returns:
The current query builder instance

status

RequestInfoLogDeleteBuilder status(STATUS... status)
Specify one more statuses (in the form of an int) as criteria.

Parameters:
status - one or more int statuses
Returns:
The current instance of this query builder

build

ParametrizedUpdate build()
Create the ParametrizedUpdate instance that can be used to execute update/delete of AuditTask instances.

Further modifications to the ProcessInstanceLogDeleteBuilder instance will not affect the query criteria used in the ParametrizedUpdate produced by this method.

Returns:
The results of the update/delete

KIE Internal 6.2.0.Final

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.