Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / almanac / xaction / AlmanacDeviceSetPropertyTransaction.php
blob5170ec8ed98d2854f482071847fcdcbc477a4ce9
1 <?php
3 final class AlmanacDeviceSetPropertyTransaction
4 extends AlmanacDeviceTransactionType {
6 const TRANSACTIONTYPE = 'almanac:property:update';
8 public function generateOldValue($object) {
9 return $this->getAlmanacPropertyOldValue($object);
12 public function applyExternalEffects($object, $value) {
13 return $this->setAlmanacProperty($object, $value);
16 public function getTitle() {
17 return $this->getAlmanacSetPropertyTitle();
20 public function validateTransactions($object, array $xactions) {
21 return $this->validateAlmanacSetPropertyTransactions($object, $xactions);