From the doc
public void applyViewCriteria(ViewCriteria criteria)
Description copied from interface: ViewObject
Applies the view criteria to this view object. Invoking this method will erase all the previously applied view criteria on the view object.
However there is another method which allows you to append a view criteria.this yo can later remove.