|
@@ 425-427 (lines=3) @@
|
| 422 |
|
) |
| 423 |
|
); |
| 424 |
|
|
| 425 |
|
if ($changeToken !== null && !$this->getSession()->get(SessionParameter::OMIT_CHANGE_TOKENS, false)) { |
| 426 |
|
$url->getQuery()->modify(array(Constants::PARAM_CHANGE_TOKEN => $changeToken)); |
| 427 |
|
} |
| 428 |
|
|
| 429 |
|
$responseData = $this->post($url)->json(); |
| 430 |
|
$newObject = $this->getJsonConverter()->convertObject($responseData); |
|
@@ 851-853 (lines=3) @@
|
| 848 |
|
) |
| 849 |
|
); |
| 850 |
|
|
| 851 |
|
if ($changeToken !== null && !$this->getSession()->get(SessionParameter::OMIT_CHANGE_TOKENS, false)) { |
| 852 |
|
$url->getQuery()->modify(array(Constants::PARAM_CHANGE_TOKEN => $changeToken)); |
| 853 |
|
} |
| 854 |
|
|
| 855 |
|
$responseData = $this->post( |
| 856 |
|
$url, |
|
@@ 899-901 (lines=3) @@
|
| 896 |
|
|
| 897 |
|
$url = $this->getObjectUrl($repositoryId, $objectId); |
| 898 |
|
|
| 899 |
|
if ($changeToken !== null && !$this->getSession()->get(SessionParameter::OMIT_CHANGE_TOKENS, false)) { |
| 900 |
|
$url->getQuery()->modify(array(Constants::PARAM_CHANGE_TOKEN => $changeToken)); |
| 901 |
|
} |
| 902 |
|
|
| 903 |
|
$queryArray = $this->convertPropertiesToQueryArray($properties); |
| 904 |
|
$queryArray[Constants::CONTROL_CMISACTION] = Constants::CMISACTION_UPDATE_PROPERTIES; |