![]() |
FOSSology
4.6.0-rc1
Open Source License Compliance by Open Source Software
|

Public Member Functions | |
| __construct (DbManager $dbManager, UploadDao $uploadDao) | |
| uploads2Jobs ($upload_pks, $page=0) | |
| Find all the jobs for a given set of uploads. More... | |
| getJobName ($uploadId) | |
| Return job name. Used for deleted jobs. More... | |
| myJobs ($allusers, $page=0) | |
| Find all of my jobs submitted within the last n hours. More... | |
| getJobInfo ($job_pks) | |
| Get job queue data from db. More... | |
| getNumItemsPerSec ($itemsprocessed, $numSecs) | |
| Returns Number of files/items processed per sec. More... | |
| getEstimatedTime ($job_pk, $jq_Type='', $filesPerSec=0, $uploadId=0, $timeInSec=0) | |
| Returns Estimated time using jobid. More... | |
| getDataForASingleJob ($jq_pk) | |
| Return total Job data with time elapsed. More... | |
| getJobStatus ($jqPk) | |
| getItemsProcessedForDecider ($jqType, $jobId) | |
| getJobsForAll () | |
| isJobIdPresentInReportGen ($jobId) | |
Private Attributes | |
| $dbManager | |
| $uploadDao | |
| $logger | |
| $maxJobsPerPage = 10 | |
| $nhours = 672 | |
Definition at line 15 of file ShowJobsDao.php.
| Fossology\Lib\Dao\ShowJobsDao::getDataForASingleJob | ( | $jq_pk | ) |
Return total Job data with time elapsed.
| $jq_pk |
Definition at line 319 of file ShowJobsDao.php.
| Fossology\Lib\Dao\ShowJobsDao::getEstimatedTime | ( | $job_pk, | |
$jq_Type = '', |
|||
$filesPerSec = 0, |
|||
$uploadId = 0, |
|||
$timeInSec = 0 |
|||
| ) |
Returns Estimated time using jobid.
| int | $job_pk | |
| string | $jq_Type | |
| float | $filesPerSec | |
| int | $uploadId |
Definition at line 254 of file ShowJobsDao.php.
| Fossology\Lib\Dao\ShowJobsDao::getItemsProcessedForDecider | ( | $jqType, | |
| $jobId | |||
| ) |
| Fossology\Lib\Dao\ShowJobsDao::getJobInfo | ( | $job_pks | ) |
Get job queue data from db.
| array | $job_pks | Array of $job_pk's to display. |
Definition at line 164 of file ShowJobsDao.php.
| Fossology\Lib\Dao\ShowJobsDao::getJobName | ( | $uploadId | ) |
Return job name. Used for deleted jobs.
| upload_pk |
Definition at line 83 of file ShowJobsDao.php.
| Fossology\Lib\Dao\ShowJobsDao::getJobsForAll | ( | ) |
Get the status of all recent pending or running jobs.
Definition at line 373 of file ShowJobsDao.php.
| Fossology\Lib\Dao\ShowJobsDao::getJobStatus | ( | $jqPk | ) |
| Fossology\Lib\Dao\ShowJobsDao::getNumItemsPerSec | ( | $itemsprocessed, | |
| $numSecs | |||
| ) |
Returns Number of files/items processed per sec.
| int | $itemsprocessed | |
| int | $numSecs |
Definition at line 241 of file ShowJobsDao.php.
| Fossology\Lib\Dao\ShowJobsDao::isJobIdPresentInReportGen | ( | $jobId | ) |
| Fossology\Lib\Dao\ShowJobsDao::myJobs | ( | $allusers, | |
$page = 0 |
|||
| ) |
Find all of my jobs submitted within the last n hours.
| int | $allusers | Get data of all users if set to 1. |
| int | $page | Get data for this display page. Starts with zero. |
Definition at line 103 of file ShowJobsDao.php.
| Fossology\Lib\Dao\ShowJobsDao::uploads2Jobs | ( | $upload_pks, | |
$page = 0 |
|||
| ) |
Find all the jobs for a given set of uploads.
| array | $upload_pks | Array of upload_pk's |
| int | $page | Get data for this display page. Starts with zero. |
Definition at line 43 of file ShowJobsDao.php.