Page MenuHomePhabricator
Diviner Phabricator Tech Docs DifferentialDiffEditor

final class DifferentialDiffEditor
Phabricator Technical Documentation (Differential)

This class is not documented.

Methods

public function setLookupRepository($bool)

This method is not documented.
Parameters
$bool
Return
wild

public function getEditorApplicationClass()

This method is not documented.
Return
wild

public function getEditorObjectsDescription()

This method is not documented.
Return
wild

public function getTransactionTypes()

This method is not documented.
Return
wild

protected function getCustomTransactionOldValue($object, $xaction)

This method is not documented.
Parameters
PhabricatorLiskDAO$object
PhabricatorApplicationTransaction$xaction
Return
wild

protected function getCustomTransactionNewValue($object, $xaction)

This method is not documented.
Parameters
PhabricatorLiskDAO$object
PhabricatorApplicationTransaction$xaction
Return
wild

protected function applyCustomInternalTransaction($object, $xaction)

This method is not documented.
Parameters
PhabricatorLiskDAO$object
PhabricatorApplicationTransaction$xaction
Return
wild

protected function applyCustomExternalTransaction($object, $xaction)

This method is not documented.
Parameters
PhabricatorLiskDAO$object
PhabricatorApplicationTransaction$xaction
Return
wild

protected function applyFinalEffects($object, $xactions)

This method is not documented.
Parameters
PhabricatorLiskDAO$object
array$xactions
Return
wild

protected function validateTransaction($object, $type, $xactions)

We run Herald as part of transaction validation because Herald can block diff creation for Differential diffs. Its important to do this separately so no Herald logs are saved; these logs could expose information the Herald rules are intended to block.

Parameters
PhabricatorLiskDAO$object
$type
array$xactions
Return
wild

protected function shouldPublishFeedStory($object, $xactions)

This method is not documented.
Parameters
PhabricatorLiskDAO$object
array$xactions
Return
wild

protected function shouldSendMail($object, $xactions)

This method is not documented.
Parameters
PhabricatorLiskDAO$object
array$xactions
Return
wild

protected function supportsSearch()

This method is not documented.
Return
wild

protected function shouldApplyHeraldRules($object, $xactions)

See validateTransaction(). The only Herald action is to block the creation of Diffs. We thus have to be careful not to save any data and do this validation very early.

Parameters
PhabricatorLiskDAO$object
array$xactions
Return
wild

protected function buildHeraldAdapter($object, $xactions)

This method is not documented.
Parameters
PhabricatorLiskDAO$object
array$xactions
Return
wild

private function updateDiffFromDict($diff, $dict)

This method is not documented.
Parameters
DifferentialDiff$diff
$dict
Return
wild