Page MenuHomePhabricator
Diviner Phabricator Tech Docs PhabricatorApplicationTransaction

abstract class PhabricatorApplicationTransaction
Phabricator Technical Documentation (Transactions)

This class is not documented.

Tasks

Configuring Storage

Other Methods

Methods

public static function pushStorageNamespace($namespace)
Inherited

This method is not documented.
Parameters
$namespace
Return
wild

public static function popStorageNamespace()
Inherited

This method is not documented.
Return
wild

public static function getDefaultStorageNamespace()
Inherited

This method is not documented.
Return
wild

public static function getStorageNamespace()
Inherited

This method is not documented.
Return
wild

public function setForcedStorageNamespace($namespace)
Inherited

This method is not documented.
Parameters
$namespace
Return
wild

protected function establishLiveConnection($mode)
Inherited

This method is not documented.
Parameters
$mode
Return
wild

private function newClusterConnection($application, $database, $mode)
Inherited

This method is not documented.
Parameters
$application
$database
$mode
Return
wild

private function raiseImproperWrite($database)
Inherited

This method is not documented.
Parameters
$database
Return
wild

private function raiseImpossibleWrite($database)
Inherited

This method is not documented.
Parameters
$database
Return
wild

private function raiseUnconfigured($database)
Inherited

This method is not documented.
Parameters
$database
Return
wild

private function raiseUnreachable($database, $proxy)
Inherited

This method is not documented.
Parameters
$database
Exception$proxy
Return
wild

public function getTableName()
Inherited

This method is not documented.
Return
wild

abstract public function getApplicationName()
Inherited

This method is not documented.
Return
wild

protected function getDatabaseName()
Inherited

This method is not documented.
Return
wild

public static function chunkSQL($fragments, $limit)
Inherited

PhabricatorLiskDAO

Break a list of escaped SQL statement fragments (e.g., VALUES lists for INSERT, previously built with qsprintf()) into chunks which will fit under the MySQL 'max_allowed_packet' limit.

If a statement is too large to fit within the limit, it is broken into its own chunk (but might fail when the query executes).

Parameters
array$fragments
$limit
Return
wild

protected function assertAttached($property)
Inherited

This method is not documented.
Parameters
$property
Return
wild

protected function assertAttachedKey($value, $key)
Inherited

This method is not documented.
Parameters
$value
$key
Return
wild

protected function detectEncodingForStorage($string)
Inherited

This method is not documented.
Parameters
$string
Return
wild

protected function getUTF8StringFromStorage($string, $encoding)
Inherited

This method is not documented.
Parameters
$string
$encoding
Return
wild

protected function willReadData(&$data)
Inherited

This method is not documented.
Parameters
array&$data
Return
wild

protected function willWriteData(&$data)
Inherited

This method is not documented.
Parameters
array&$data
Return
wild

public function setIgnoreOnNoEffect($ignore)

Flag this transaction as a pure side-effect which should be ignored when applying transactions if it has no effect, even if transaction application would normally fail. This both provides users with better error messages and allows transactions to perform optional side effects.

Parameters
$ignore
Return
wild

public function getIgnoreOnNoEffect()

This method is not documented.
Return
wild

public function shouldGenerateOldValue()

This method is not documented.
Return
wild

abstract public function getApplicationTransactionType()

This method is not documented.
Return
wild

private function getApplicationObjectTypeName()

This method is not documented.
Return
wild
This method is not documented.
Return
wild

public function getMetadataValue($key, $default)

This method is not documented.
Parameters
$key
$default
Return
wild

public function setMetadataValue($key, $value)

This method is not documented.
Parameters
$key
$value
Return
wild

public function generatePHID()

This method is not documented.
Return
wild

protected function getConfiguration()

This method is not documented.
Return
wild

public function setContentSource($content_source)

This method is not documented.
Parameters
PhabricatorContentSource$content_source
Return
wild

public function getContentSource()

This method is not documented.
Return
wild

public function hasComment()

This method is not documented.
Return
wild

public function getComment()

This method is not documented.
Return
wild

public function setIsCreateTransaction($create)

This method is not documented.
Parameters
$create
Return
wild

public function getIsCreateTransaction()

This method is not documented.
Return
wild

public function setIsDefaultTransaction($default)

This method is not documented.
Parameters
$default
Return
wild

public function getIsDefaultTransaction()

This method is not documented.
Return
wild

public function setIsSilentTransaction($silent)

This method is not documented.
Parameters
$silent
Return
wild

public function getIsSilentTransaction()

This method is not documented.
Return
wild

public function setIsMFATransaction($mfa)

This method is not documented.
Parameters
$mfa
Return
wild

public function getIsMFATransaction()

This method is not documented.
Return
wild

public function setIsLockOverrideTransaction($override)

This method is not documented.
Parameters
$override
Return
wild
This method is not documented.
Return
wild

public function setTransactionGroupID($group_id)

This method is not documented.
Parameters
$group_id
Return
wild

public function getTransactionGroupID()

This method is not documented.
Return
wild

public function attachComment($comment)

This method is not documented.
Parameters
PhabricatorApplicationTransactionComment$comment
Return
wild

public function setCommentNotLoaded($not_loaded)

This method is not documented.
Parameters
$not_loaded
Return
wild

public function attachObject($object)

This method is not documented.
Parameters
$object
Return
wild

public function getObject()

This method is not documented.
Return
wild

public function getRemarkupChanges()

This method is not documented.
Return
wild

protected function newRemarkupChanges()

This method is not documented.
Return
wild

protected function newRemarkupChange()

This method is not documented.
Return
wild

public function getRemarkupBlocks()

This method is not documented.
Return
wild

public function setOldValue($value)

This method is not documented.
Parameters
$value
Return
wild

public function hasOldValue()

This method is not documented.
Return
wild

public function newChronologicalSortVector()

This method is not documented.
Return
wild

public function setRenderingTarget($rendering_target)

This method is not documented.
Parameters
$rendering_target
Return
wild

public function getRenderingTarget()

This method is not documented.
Return
wild

public function attachViewer($viewer)

This method is not documented.
Parameters
PhabricatorUser$viewer
Return
wild

public function getViewer()

This method is not documented.
Return
wild

public function getRequiredHandlePHIDs()

This method is not documented.
Return
wild

public function setHandles($handles)

This method is not documented.
Parameters
array$handles
Return
wild

public function getHandle($phid)

This method is not documented.
Parameters
$phid
Return
wild

public function getHandleIfExists($phid)

This method is not documented.
Parameters
$phid
Return
wild

public function getHandles()

This method is not documented.
Return
wild

public function renderHandleLink($phid)

This method is not documented.
Parameters
$phid
Return
wild

public function renderHandleList($phids)

This method is not documented.
Parameters
array$phids
Return
wild

private function renderSubscriberList($phids, $change_type)

This method is not documented.
Parameters
array$phids
$change_type
Return
wild

protected function renderPolicyName($phid, $state)

This method is not documented.
Parameters
$phid
$state
Return
wild

public function getIcon()

This method is not documented.
Return
wild

public function getToken()

This method is not documented.
Return
wild

public function getColor()

This method is not documented.
Return
wild

protected function getTransactionCustomField()

This method is not documented.
Return
wild

public function shouldHide()

This method is not documented.
Return
wild

public function shouldHideForMail($xactions)

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

public function shouldHideForFeed()

This method is not documented.
Return
wild

public function shouldHideForNotifications()

This method is not documented.
Return
wild

private function getTitleForMailWithRenderingTarget($new_target)

This method is not documented.
Parameters
$new_target
Return
wild

public function getTitleForMail()

This method is not documented.
Return
wild

public function getTitleForTextMail()

This method is not documented.
Return
wild

public function getTitleForHTMLMail()

This method is not documented.
Return
wild

public function getChangeDetailsURI()

This method is not documented.
Return
wild

public function getBodyForMail()

This method is not documented.
Return
wild

public function getNoEffectDescription()

This method is not documented.
Return
wild

public function getTitle()

This method is not documented.
Return
wild

public function getTitleForFeed()

This method is not documented.
Return
wild

public function getMarkupFieldsForFeed($story)

This method is not documented.
Parameters
PhabricatorFeedStory$story
Return
wild

public function getMarkupTextForFeed($story, $field)

This method is not documented.
Parameters
PhabricatorFeedStory$story
$field
Return
wild

public function getBodyForFeed($story)

This method is not documented.
Parameters
PhabricatorFeedStory$story
Return
wild

public function getRemarkupBodyForFeed($story)

This method is not documented.
Parameters
PhabricatorFeedStory$story
Return
wild

public function getActionStrength()

This method is not documented.
Return
wild

public function isCommentTransaction()

This method is not documented.
Return
wild

public function isInlineCommentTransaction()

This method is not documented.
Return
wild

public function getActionName()

This method is not documented.
Return
wild

public function getMailTags()

This method is not documented.
Return
wild

public function hasChangeDetails()

This method is not documented.
Return
wild

public function hasChangeDetailsForMail()

This method is not documented.
Return
wild

public function renderChangeDetailsForMail($viewer)

This method is not documented.
Parameters
PhabricatorUser$viewer
Return
wild

public function renderChangeDetails($viewer)

This method is not documented.
Parameters
PhabricatorUser$viewer
Return
wild

public function renderTextCorpusChangeDetails($viewer, $old, $new)

This method is not documented.
Parameters
PhabricatorUser$viewer
$old
$new
Return
wild

public function attachTransactionGroup($group)

This method is not documented.
Parameters
array$group
Return
wild

public function getTransactionGroup()

This method is not documented.
Return
wild

public function shouldDisplayGroupWith($group)

Should this transaction be visually grouped with an existing transaction group?

Parameters
list<PhabricatorApplicationTransaction>$groupList of transactions.
Return
boolTrue to display in a group with the other transactions.

public function renderExtraInformationLink()

This method is not documented.
Return
wild

public function renderAsTextForDoorkeeper($publisher, $story, $xactions)

This method is not documented.
Parameters
DoorkeeperFeedStoryPublisher$publisher
PhabricatorFeedStory$story
array$xactions
Return
wild

private function isSelfSubscription()

Test if this transaction is just a user subscribing or unsubscribing themselves.

Return
wild

private function isApplicationAuthor()

This method is not documented.
Return
wild

private function getInterestingMoves($moves)

This method is not documented.
Parameters
array$moves
Return
wild
This method is not documented.
Return
wild

public function newGlobalSortVector()

This method is not documented.
Return
wild

public function newActionStrengthSortVector()

This method is not documented.
Return
wild

public function getCapabilities()

This method is not documented.
Return
wild

public function getPolicy($capability)

This method is not documented.
Parameters
$capability
Return
wild

public function hasAutomaticCapability($capability, $viewer)

This method is not documented.
Parameters
$capability
PhabricatorUser$viewer
Return
wild

public function describeAutomaticCapability($capability)

This method is not documented.
Parameters
$capability
Return
wild

public function getModularType()

This method is not documented.
Return
wild

public function setForceNotifyPHIDs($phids)

This method is not documented.
Parameters
array$phids
Return
wild

public function getForceNotifyPHIDs()

This method is not documented.
Return
wild

public function destroyObjectPermanently($engine)

This method is not documented.
Parameters
PhabricatorDestructionEngine$engine
Return
wild