|
@@ 468-470 (lines=3) @@
|
| 465 |
|
) |
| 466 |
|
); |
| 467 |
|
|
| 468 |
|
if ($changeToken !== null && !$this->getSession()->get(SessionParameter::OMIT_CHANGE_TOKENS, false)) { |
| 469 |
|
$url->getQuery()->modify(array(Constants::PARAM_CHANGE_TOKEN => $changeToken)); |
| 470 |
|
} |
| 471 |
|
|
| 472 |
|
$responseData = $this->post($url)->json(); |
| 473 |
|
$newObject = $this->getJsonConverter()->convertObject($responseData); |
|
@@ 956-958 (lines=3) @@
|
| 953 |
|
) |
| 954 |
|
); |
| 955 |
|
|
| 956 |
|
if ($changeToken !== null && !$this->getSession()->get(SessionParameter::OMIT_CHANGE_TOKENS, false)) { |
| 957 |
|
$url->getQuery()->modify(array(Constants::PARAM_CHANGE_TOKEN => $changeToken)); |
| 958 |
|
} |
| 959 |
|
|
| 960 |
|
$responseData = $this->post( |
| 961 |
|
$url, |
|
@@ 1006-1008 (lines=3) @@
|
| 1003 |
|
|
| 1004 |
|
$url = $this->getObjectUrl($repositoryId, $objectId); |
| 1005 |
|
|
| 1006 |
|
if ($changeToken !== null && !$this->getSession()->get(SessionParameter::OMIT_CHANGE_TOKENS, false)) { |
| 1007 |
|
$url->getQuery()->modify(array(Constants::PARAM_CHANGE_TOKEN => $changeToken)); |
| 1008 |
|
} |
| 1009 |
|
|
| 1010 |
|
$queryArray = $this->convertPropertiesToQueryArray($properties); |
| 1011 |
|
$queryArray[Constants::CONTROL_CMISACTION] = Constants::CMISACTION_UPDATE_PROPERTIES; |