http://mahmoudoracle.blogspot.ca/2012/08/adf-filter-rows.html
1- Filter ViewObject
//Get ViewObjectImpl object
ViewObjectImpl vo = getDeptVO();
//Filter using specific attribute value
Row[] filteredRows = vo.getFilteredRows("AttributeName", "AttributeValue");
//Filter using RowQualifier Class
//Use RowQualifier if you have more than one condition in filtering rows
RowQualifier rowQualifier = new RowQualifier(vo);
rowQualifier.setWhereClause("AttributeName=AttributeValue");
filteredRows = vo.getFilteredRows(rowQualifier);
2- Filter RowSetIterator
//Get ViewObjectImpl object
ViewObjectImpl vo = getAllAdvisorView();
//Get RowSetIteratorImpl object
RowSetIterator rsIterator=vo.createRowSetIterator(null);
//Filter using specific attribute value
Row[] filteredRowsRSI = rsIterator.getFilteredRows("AttributeName", "AttributeValue");