org.apache.ode.bpel.dao
Interface FilteredInstanceDeletable

All Known Implementing Classes:
BpelDAOConnectionImpl

public interface FilteredInstanceDeletable

An implementation of this interface provides a way to delete runtime process instances through the InstanceFilter.


Method Summary
 int deleteInstances(InstanceFilter filter, java.util.Set<ProcessConf.CLEANUP_CATEGORY> categories)
          Deletes instance filter by the given instance filter and clean up categories.
 

Method Detail

deleteInstances

int deleteInstances(InstanceFilter filter,
                    java.util.Set<ProcessConf.CLEANUP_CATEGORY> categories)
Deletes instance filter by the given instance filter and clean up categories.

Parameters:
filter - instance filter
categories - clean up categories
Returns:
returns the number of instances that are deleted