Boolean includePolicyIds = getBooleanParameter(request, PARAM_POLICY_IDS);
Boolean includeAcl = getBooleanParameter(request, PARAM_ACL);
BigInteger maxItems = getBigIntegerParameter(request, Constants.PARAM_MAX_ITEMS);
Holder<String> changeLogTokenHolder = new Holder<String>(changeLogToken);
ObjectList changes = service.getContentChanges(repositoryId, changeLogTokenHolder, includeProperties, filter,
includePolicyIds, includeAcl, maxItems, null);
JSONObject jsonChanges = new JSONObject();
jsonChanges.put("changeLogToken", changeLogTokenHolder.getValue());