Page MenuHomePhabricator

final class DiffusionCommitQuery
Phabricator Technical Documentation (Diffusion)

This class is not documented.

Methods

public function withIDs($ids)

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

public function withPHIDs($phids)

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

public function withAuthorPHIDs($phids)

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

public function withIdentifiers($identifiers)

Load commits by partial or full identifiers, e.g. "rXab82393", "rX1234", or "a9caf12". When an identifier matches multiple commits, they will all be returned; callers should be prepared to deal with more results than they queried for.

Parameters
array$identifiers
Return
wild

public function withRepository($repository)

Look up commits in a specific repository. This is a shorthand for calling withDefaultRepository() and withRepositoryIDs().

Parameters
PhabricatorRepository$repository
Return
wild

public function withRepositoryPHIDs($phids)

Look up commits in a specific repository. Prefer withRepositoryIDs(); the underlying table is keyed by ID such that this method requires a separate initial query to map PHID to ID.

Parameters
array$phids
Return
wild

public function withDefaultRepository($repository)

If a default repository is provided, ambiguous commit identifiers will be assumed to belong to the default repository.

For example, "r123" appearing in a commit message in repository X is likely to be unambiguously "rX123". Normally the reference would be considered ambiguous, but if you provide a default repository it will be correctly resolved.

Parameters
PhabricatorRepository$repository
Return
wild

public function withRepositoryIDs($repository_ids)

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

public function needCommitData($need)

This method is not documented.
Parameters
$need
Return
wild

public function needDrafts($need)

This method is not documented.
Parameters
$need
Return
wild

public function needIdentities($need)

This method is not documented.
Parameters
$need
Return
wild

public function needAuditRequests($need)

This method is not documented.
Parameters
$need
Return
wild

public function needAuditAuthority($users)

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

public function withAuditIDs($ids)

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

public function withAuditorPHIDs($auditor_phids)

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

public function withResponsiblePHIDs($responsible_phids)

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

public function withPackagePHIDs($package_phids)

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

public function withUnreachable($unreachable)

This method is not documented.
Parameters
$unreachable
Return
wild

public function withPermanent($permanent)

This method is not documented.
Parameters
$permanent
Return
wild

public function withStatuses($statuses)

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

public function withEpochRange($min, $max)

This method is not documented.
Parameters
$min
$max
Return
wild

public function withImporting($importing)

This method is not documented.
Parameters
$importing
Return
wild

public function withAncestorsOf($refs)

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

public function getIdentifierMap()

This method is not documented.
Return
wild

protected function getPrimaryTableAlias()

This method is not documented.
Return
wild

protected function willExecute()

This method is not documented.
Return
wild

public function newResultObject()

This method is not documented.
Return
wild

protected function loadPage()

This method is not documented.
Return
wild

protected function willFilterPage($commits)

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

protected function didFilterPage($commits)

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

protected function buildWhereClauseParts($conn)

This method is not documented.
Parameters
AphrontDatabaseConnection$conn
Return
wild

protected function didFilterResults($filtered)

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

private function shouldJoinAuditor()

This method is not documented.
Return
wild

private function shouldJoinOwners()

This method is not documented.
Return
wild

protected function buildJoinClauseParts($conn)

This method is not documented.
Parameters
AphrontDatabaseConnection$conn
Return
wild

protected function shouldGroupQueryResultRows()

This method is not documented.
Return
wild

public function getQueryApplicationClass()

This method is not documented.
Return
wild

public function getOrderableColumns()

This method is not documented.
Return
wild

protected function newPagingMapFromPartialObject($object)

This method is not documented.
Parameters
$object
Return
wild

public function getBuiltinOrders()

This method is not documented.
Return
wild

private function selectPossibleAuthors($phids)

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