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 (folderPath == null) {
query.set_any(ListsUtil.createQuery1("0"));
} else {
query.set_any(ListsUtil.createQueryInsideFolder(folderPath));
}
viewFields.set_any(ListsUtil.createViewFields());
queryOptions.set_any(ListsUtil.createQueryOptions(
true, currentFolder.getNextPage()));
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 [ "
+ folderPath + " ], list [ " + list.getListURL() + " ].", e);