org.apache.ode.bpel.dao
Interface FilteredInstanceDeletable


public interface FilteredInstanceDeletable

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


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

Method Detail

deleteInstances

int deleteInstances(org.apache.ode.bpel.common.InstanceFilter filter,
                    java.util.Set<org.apache.ode.bpel.iapi.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