Changeset View
Changeset View
Standalone View
Standalone View
src/applications/nuance/query/NuanceImportCursorDataQuery.php
Show All 20 Lines | public function withSourcePHIDs(array $source_phids) { | ||||
$this->sourcePHIDs = $source_phids; | $this->sourcePHIDs = $source_phids; | ||||
return $this; | return $this; | ||||
} | } | ||||
public function newResultObject() { | public function newResultObject() { | ||||
return new NuanceImportCursorData(); | return new NuanceImportCursorData(); | ||||
} | } | ||||
protected function loadPage() { | |||||
return $this->loadStandardPage($this->newResultObject()); | |||||
} | |||||
protected function buildWhereClauseParts(AphrontDatabaseConnection $conn) { | protected function buildWhereClauseParts(AphrontDatabaseConnection $conn) { | ||||
$where = parent::buildWhereClauseParts($conn); | $where = parent::buildWhereClauseParts($conn); | ||||
if ($this->sourcePHIDs !== null) { | if ($this->sourcePHIDs !== null) { | ||||
$where[] = qsprintf( | $where[] = qsprintf( | ||||
$conn, | $conn, | ||||
'sourcePHID IN (%Ls)', | 'sourcePHID IN (%Ls)', | ||||
$this->sourcePHIDs); | $this->sourcePHIDs); | ||||
Show All 20 Lines |