Version 1.8 - Updated on 06/16/2017

public class SearchTemplate

Helper class for searching for items using the getSearch(SearchTemplate, SortTemplate, Integer, Integer API.

1) To search for all items whose name starts with ‘file’:

SearchTemplate st = new SearchTemplate.Builder().name("file*").build()

2) To search for items by a range of modification dates:

SearchTemplate st = new SearchTemplate.Builder().versionCreated(date1, date2).build();

3) Multiple seach templates can be OR’d together:

SearchTemplate searchTemplate1 = new SearchTemplate.Builder(); SearchTemplate searchTemplate2 = new SearchTemplate.Builder(); SearchTemplate st = new SearchTemplate.Builder().or(searchTemplate1, searchTemplate2).build();

Copyright © 2015-2017, Verizon and/or its Licensors. All rights reserved.