|
@@ 460-462 (lines=3) @@
|
| 457 |
|
) |
| 458 |
|
); |
| 459 |
|
|
| 460 |
|
if ($changeToken !== null && !$this->getSession()->get(SessionParameter::OMIT_CHANGE_TOKENS, false)) { |
| 461 |
|
$url->getQuery()->modify(array(Constants::PARAM_CHANGE_TOKEN => $changeToken)); |
| 462 |
|
} |
| 463 |
|
|
| 464 |
|
$responseData = $this->post($url)->json(); |
| 465 |
|
$newObject = $this->getJsonConverter()->convertObject($responseData); |
|
@@ 948-950 (lines=3) @@
|
| 945 |
|
) |
| 946 |
|
); |
| 947 |
|
|
| 948 |
|
if ($changeToken !== null && !$this->getSession()->get(SessionParameter::OMIT_CHANGE_TOKENS, false)) { |
| 949 |
|
$url->getQuery()->modify(array(Constants::PARAM_CHANGE_TOKEN => $changeToken)); |
| 950 |
|
} |
| 951 |
|
|
| 952 |
|
$responseData = $this->post( |
| 953 |
|
$url, |
|
@@ 998-1000 (lines=3) @@
|
| 995 |
|
|
| 996 |
|
$url = $this->getObjectUrl($repositoryId, $objectId); |
| 997 |
|
|
| 998 |
|
if ($changeToken !== null && !$this->getSession()->get(SessionParameter::OMIT_CHANGE_TOKENS, false)) { |
| 999 |
|
$url->getQuery()->modify(array(Constants::PARAM_CHANGE_TOKEN => $changeToken)); |
| 1000 |
|
} |
| 1001 |
|
|
| 1002 |
|
$queryArray = $this->convertPropertiesToQueryArray($properties); |
| 1003 |
|
$queryArray[Constants::CONTROL_CMISACTION] = Constants::CMISACTION_UPDATE_PROPERTIES; |