final String folderLevel,
final ListState list, String nextPage ) {
final String listName = list.getPrimaryKey();
final String viewName = "";
final GetListItemChangesSinceTokenQuery query =
new GetListItemChangesSinceTokenQuery();
final GetListItemChangesSinceTokenViewFields viewFields =
new GetListItemChangesSinceTokenViewFields();
final GetListItemChangesSinceTokenQueryOptions queryOptions =
new GetListItemChangesSinceTokenQueryOptions();
final String token = null;
final GetListItemChangesSinceTokenContains contains = null;
try {
if (folderLevel == null) {
query.set_any(ListsUtil.createQuery1("0"));
} else {
query.set_any(ListsUtil.createQuerySubFolders(folderLevel));
}
viewFields.set_any(ListsUtil.createViewFields());
queryOptions.set_any(ListsUtil.createQueryOptions(true, nextPage));
LOGGER.config("Making web service request with the following "
+ "parameters: query [ " + query.get_any()[0]
+ " ], queryoptions [ " + queryOptions.get_any()[0]
+ " ], viewFields [ " + viewFields.get_any()[0] + "] ");
} catch (Exception e) {
LOGGER.log(Level.WARNING, "Unable to get folder hierarchy at folderLevel [ "
+ folderLevel + " ], list [ " + list.getListURL() + " ].", e);