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