getProcessDeploymentInfos and SearchFilter

Hi there,

I want to limit the number of returned processes from getProcessDeploymentInfos(0,50,ProcessDeploymentInfoCriterion.NAME_ASC); by using a SearchFilter but can't find a method to do this.

1) is there one? 2) if not how best to get from list A1,B1,C1,C2,C3,C4,D1,D2,D3,D4,D5,E1,E2,E3,E4,E5,F1,G1 only processes C-C (very simplistic view of the processes)

If it's looping through all returned objects in getProcessDeploymentInfos then I'm doing that, I'm just looking for a better way. As I have a lot of processes to go through...