|
@@ 445-447 (lines=3) @@
|
| 442 |
|
) |
| 443 |
|
); |
| 444 |
|
|
| 445 |
|
if ($changeToken !== null && !$this->getSession()->get(SessionParameter::OMIT_CHANGE_TOKENS, false)) { |
| 446 |
|
$url->getQuery()->modify(array(Constants::PARAM_CHANGE_TOKEN => $changeToken)); |
| 447 |
|
} |
| 448 |
|
|
| 449 |
|
$responseData = $this->post($url)->json(); |
| 450 |
|
$newObject = $this->getJsonConverter()->convertObject($responseData); |
|
@@ 871-873 (lines=3) @@
|
| 868 |
|
) |
| 869 |
|
); |
| 870 |
|
|
| 871 |
|
if ($changeToken !== null && !$this->getSession()->get(SessionParameter::OMIT_CHANGE_TOKENS, false)) { |
| 872 |
|
$url->getQuery()->modify(array(Constants::PARAM_CHANGE_TOKEN => $changeToken)); |
| 873 |
|
} |
| 874 |
|
|
| 875 |
|
$responseData = $this->post( |
| 876 |
|
$url, |
|
@@ 919-921 (lines=3) @@
|
| 916 |
|
|
| 917 |
|
$url = $this->getObjectUrl($repositoryId, $objectId); |
| 918 |
|
|
| 919 |
|
if ($changeToken !== null && !$this->getSession()->get(SessionParameter::OMIT_CHANGE_TOKENS, false)) { |
| 920 |
|
$url->getQuery()->modify(array(Constants::PARAM_CHANGE_TOKEN => $changeToken)); |
| 921 |
|
} |
| 922 |
|
|
| 923 |
|
$queryArray = $this->convertPropertiesToQueryArray($properties); |
| 924 |
|
$queryArray[Constants::CONTROL_CMISACTION] = Constants::CMISACTION_UPDATE_PROPERTIES; |