FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
Public Member Functions | |
__construct (DbManager $dbManager, Logger $logger) | |
getPfile ($sha1=null, $md5=null, $sha256=null, $size=null) | |
getScannerFindings ($pfileId) | |
getConclusions ($groupId, $pfileId) | |
getUploadForPackage ($pfileId) | |
haveConclusions ($groupId, $pfileId) | |
getCopyright ($pfileId) | |
Private Attributes | |
$dbManager | |
$logger | |
Definition at line 16 of file PfileDao.php.
Fossology\Lib\Dao\PfileDao::getConclusions | ( | $groupId, | |
$pfileId | |||
) |
Get the list of licenses councluded for given pfile
integer | $groupId | Group to filter for |
integer | $pfileId | Pfile to search for |
Definition at line 108 of file PfileDao.php.
Fossology\Lib\Dao\PfileDao::getCopyright | ( | $pfileId | ) |
Get the list of copyrights for given pfile
integer | $pfileId | Pfile to search |
Definition at line 195 of file PfileDao.php.
Fossology\Lib\Dao\PfileDao::getPfile | ( | $sha1 = null , |
|
$md5 = null , |
|||
$sha256 = null , |
|||
$size = null |
|||
) |
Get the pfile row matching given checksums
string | $sha1 | SHA1 checksum |
string | $md5 | MD5 checksum |
string | $sha256 | SHA256 checksum |
integer | $size | Size in bytes |
Definition at line 44 of file PfileDao.php.
Fossology\Lib\Dao\PfileDao::getScannerFindings | ( | $pfileId | ) |
Get the list of licenses scanned for given pfile
integer | $pfileId | Pfile to search |
Definition at line 81 of file PfileDao.php.
Fossology\Lib\Dao\PfileDao::getUploadForPackage | ( | $pfileId | ) |
Get the upload ids where pfile was uploaded as package
integer | $pfileId | Pfile to filter |
Definition at line 153 of file PfileDao.php.
Fossology\Lib\Dao\PfileDao::haveConclusions | ( | $groupId, | |
$pfileId | |||
) |
Check if pfile have at least one clearing decision
integer | $groupId | Group to filter results for |
integer | $pfileId | Pfile to check |
Definition at line 176 of file PfileDao.php.
|
private |
DbManager
Definition at line 23 of file PfileDao.php.
|
private |
Logger
Definition at line 28 of file PfileDao.php.