FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
Public Member Functions | |
__construct (DbManager $dbManager, UploadDao $uploadDao) | |
getClearedLicenses (ItemTreeBounds $itemTreeBounds, $groupId) | |
getFileClearings (ItemTreeBounds $itemTreeBounds, $groupId, $onlyCurrent=true, $forClearingHistory=false) | |
getFileClearingsFolder (ItemTreeBounds $itemTreeBounds, $groupId, $includeSubFolders=true, $onlyCurrent=true) | |
getRelevantClearingDecision (ItemTreeBounds $itemTreeBounds, $groupId) | |
removeWipClearingDecision ($uploadTreeId, $groupId) | |
createDecisionFromEvents ($uploadTreeId, $userId, $groupId, $decType, $scope, $eventIds) | |
getRelevantClearingEvents ($itemTreeBounds, $groupId, $includeSubFolders=true) | |
updateClearingEvent ($uploadTreeId, $userId, $groupId, $licenseId, $what, $changeTo) | |
copyEventIdTo ($eventId, $itemId, $userId, $groupId) | |
insertClearingEvent ($uploadTreeId, $userId, $groupId, $licenseId, $isRemoved, $type=ClearingEventTypes::USER, $reportInfo='', $comment='', $acknowledgement='', $jobId=0) | |
getEventIdsOfJob ($jobId) | |
markDecisionAsWip ($uploadTreeId, $userId, $groupId) | |
isDecisionCheck ($uploadTreeId, $groupId, $decisionType) | |
getBulkHistory (ItemTreeBounds $itemTreeBound, $groupId, $onlyTried=true) | |
getBulkMatches ($bulkId, $groupId) | |
getClearedLicenseIdAndMultiplicities (ItemTreeBounds $itemTreeBounds, $groupId) | |
getDecisionType ($decisionType) | |
markDirectoryAsDecisionType (ItemTreeBounds $itemTreeBounds, $groupId, $userId, $decisionMark) | |
deleteDecisionTypeFromDirectory (ItemTreeBounds $itemTreeBounds, $groupId, $userId, $decisionMark) | |
getMainLicenseIds ($uploadId, $groupId) | |
makeMainLicense ($uploadId, $groupId, $licenseId) | |
removeMainLicense ($uploadId, $groupId, $licenseId) | |
getFilesForDecisionTypeFolderLevel (ItemTreeBounds $itemTreeBounds, $groupId, $onlyCurrent=true, $decisionMark="") | |
getPreviousBulkIds ($uploadId, $groupId, $userId, $onlyCount=0) | |
getCandidateLicenseCountForCurrentDecisions ($uploadTreeId, $uploadId=0) | |
marklocalDecisionsAsGlobal ($uploadId) | |
Protected Member Functions | |
buildClearingEvent ($eventId, $userId, $groupId, $licenseRef, $licenseIsRemoved, $type, $reportInfo, $comment, $acknowledgement) | |
Private Member Functions | |
getRelevantDecisionsCte (ItemTreeBounds $itemTreeBounds, $groupId, $onlyCurrent, &$statementName, &$params, $condition="") | |
getDecisionsFromCte ($decisionsCte, $statementName, $params, $forClearingHistory=false) | |
Private Attributes | |
$dbManager | |
$logger | |
$uploadDao | |
$copyrightDao | |
$licenseRefCache | |
Definition at line 26 of file ClearingDao.php.
DbManager | $dbManager | |
UploadDao | $uploadDao |
Definition at line 43 of file ClearingDao.php.
|
protected |
int | $eventId | |
int | $userId | |
int | $groupId | |
LicenseRef | $licenseRef | |
$licenseIsRemoved | ||
$type | ||
$reportInfo | ||
string | $comment | |
$acknowledgement |
Definition at line 581 of file ClearingDao.php.
Fossology\Lib\Dao\ClearingDao::createDecisionFromEvents | ( | $uploadTreeId, | |
$userId, | |||
$groupId, | |||
$decType, | |||
$scope, | |||
$eventIds | |||
) |
int | $uploadTreeId | |
int | $userId | |
int | $groupId | |
int | $decType | |
int | $scope |
Definition at line 341 of file ClearingDao.php.
Fossology\Lib\Dao\ClearingDao::deleteDecisionTypeFromDirectory | ( | ItemTreeBounds | $itemTreeBounds, |
$groupId, | |||
$userId, | |||
$decisionMark | |||
) |
ItemTreeBounds | $itemTreeBounds | |
int | $groupId | |
int | $userId | |
$decisionMark |
Definition at line 807 of file ClearingDao.php.
Fossology\Lib\Dao\ClearingDao::getBulkHistory | ( | ItemTreeBounds | $itemTreeBound, |
$groupId, | |||
$onlyTried = true |
|||
) |
ItemTreeBounds | $itemTreeBound | |
int | $groupId | |
boolean | $onlyTried |
Definition at line 651 of file ClearingDao.php.
Fossology\Lib\Dao\ClearingDao::getCandidateLicenseCountForCurrentDecisions | ( | $uploadTreeId, | |
$uploadId = 0 |
|||
) |
Fossology\Lib\Dao\ClearingDao::getClearedLicenseIdAndMultiplicities | ( | ItemTreeBounds | $itemTreeBounds, |
$groupId | |||
) |
ItemTreeBounds | $itemTreeBounds | |
int | $groupId |
Definition at line 739 of file ClearingDao.php.
Fossology\Lib\Dao\ClearingDao::getClearedLicenses | ( | ItemTreeBounds | $itemTreeBounds, |
$groupId | |||
) |
ItemTreeBounds | $itemTreeBounds | |
int | $groupId |
Definition at line 115 of file ClearingDao.php.
|
private |
string | $decisionsCte | |
string | $statementName | |
array | $params |
Add the last match
Definition at line 211 of file ClearingDao.php.
Fossology\Lib\Dao\ClearingDao::getDecisionType | ( | $decisionType | ) |
int | $decisionType |
Definition at line 778 of file ClearingDao.php.
Fossology\Lib\Dao\ClearingDao::getEventIdsOfJob | ( | $jobId | ) |
int | $jobId |
Definition at line 546 of file ClearingDao.php.
Fossology\Lib\Dao\ClearingDao::getFileClearings | ( | ItemTreeBounds | $itemTreeBounds, |
$groupId, | |||
$onlyCurrent = true , |
|||
$forClearingHistory = false |
|||
) |
ItemTreeBounds | $itemTreeBounds | |
int | $groupId | |
bool | $onlyCurrent | |
bool | $forClearingHistory |
Definition at line 159 of file ClearingDao.php.
Fossology\Lib\Dao\ClearingDao::getFileClearingsFolder | ( | ItemTreeBounds | $itemTreeBounds, |
$groupId, | |||
$includeSubFolders = true , |
|||
$onlyCurrent = true |
|||
) |
ItemTreeBounds | $itemTreeBounds | |
int | $groupId | |
bool | $includeSubFolders | |
bool | $onlyCurrent |
Definition at line 183 of file ClearingDao.php.
Fossology\Lib\Dao\ClearingDao::getFilesForDecisionTypeFolderLevel | ( | ItemTreeBounds | $itemTreeBounds, |
$groupId, | |||
$onlyCurrent = true , |
|||
$decisionMark = "" |
|||
) |
ItemTreeBounds | $itemTreeBounds | |
int | $groupId | |
bool | $onlyCurrent | |
string | $decisionMark |
Definition at line 930 of file ClearingDao.php.
Fossology\Lib\Dao\ClearingDao::getMainLicenseIds | ( | $uploadId, | |
$groupId | |||
) |
int | $uploadId | |
int | $groupId |
Definition at line 887 of file ClearingDao.php.
Fossology\Lib\Dao\ClearingDao::getPreviousBulkIds | ( | $uploadId, | |
$groupId, | |||
$userId, | |||
$onlyCount = 0 |
|||
) |
int | $uploadId | |
int | $groupId | |
int | $userId |
Definition at line 960 of file ClearingDao.php.
Fossology\Lib\Dao\ClearingDao::getRelevantClearingDecision | ( | ItemTreeBounds | $itemTreeBounds, |
$groupId | |||
) |
ItemTreeBounds | $itemTreeBounds | |
int | $groupId |
Definition at line 314 of file ClearingDao.php.
Fossology\Lib\Dao\ClearingDao::getRelevantClearingEvents | ( | $itemTreeBounds, | |
$groupId, | |||
$includeSubFolders = true |
|||
) |
ItemTreeBounds | $itemTreeBounds | |
int | $groupId |
Definition at line 404 of file ClearingDao.php.
Fossology\Lib\Dao\ClearingDao::insertClearingEvent | ( | $uploadTreeId, | |
$userId, | |||
$groupId, | |||
$licenseId, | |||
$isRemoved, | |||
$type = ClearingEventTypes::USER , |
|||
$reportInfo = '' , |
|||
$comment = '' , |
|||
$acknowledgement = '' , |
|||
$jobId = 0 |
|||
) |
int | $uploadTreeId | |
int | $userId | |
int | $groupId | |
int | $licenseId | |
bool | $isRemoved | |
int | $type | ClearingEventTypes |
string | $reportInfo | |
string | $comment | |
int | $jobId |
Definition at line 511 of file ClearingDao.php.
Fossology\Lib\Dao\ClearingDao::isDecisionCheck | ( | $uploadTreeId, | |
$groupId, | |||
$decisionType | |||
) |
int | $uploadTreeId | |
int | $groupId | |
int | $decisionType |
Definition at line 620 of file ClearingDao.php.
Fossology\Lib\Dao\ClearingDao::makeMainLicense | ( | $uploadId, | |
$groupId, | |||
$licenseId | |||
) |
$uploadId | ||
int | $groupId | |
int | $licenseId |
Definition at line 906 of file ClearingDao.php.
Fossology\Lib\Dao\ClearingDao::markDecisionAsWip | ( | $uploadTreeId, | |
$userId, | |||
$groupId | |||
) |
int | $uploadTreeId | |
int | $userId | |
int | $groupId |
Definition at line 603 of file ClearingDao.php.
Fossology\Lib\Dao\ClearingDao::markDirectoryAsDecisionType | ( | ItemTreeBounds | $itemTreeBounds, |
$groupId, | |||
$userId, | |||
$decisionMark | |||
) |
ItemTreeBounds | $itemTreeBounds | |
int | $groupId | |
int | $userId | |
$decisionMark |
Definition at line 795 of file ClearingDao.php.
Fossology\Lib\Dao\ClearingDao::marklocalDecisionsAsGlobal | ( | $uploadId | ) |
Fossology\Lib\Dao\ClearingDao::removeMainLicense | ( | $uploadId, | |
$groupId, | |||
$licenseId | |||
) |
int | $uploadId | |
int | $groupId | |
int | $licenseId |
Definition at line 917 of file ClearingDao.php.
Fossology\Lib\Dao\ClearingDao::removeWipClearingDecision | ( | $uploadTreeId, | |
$groupId | |||
) |
int | $uploadTreeId | |
int | $groupId |
Definition at line 327 of file ClearingDao.php.
Fossology\Lib\Dao\ClearingDao::updateClearingEvent | ( | $uploadTreeId, | |
$userId, | |||
$groupId, | |||
$licenseId, | |||
$what, | |||
$changeTo | |||
) |
int | $uploadTreeId | |
int | $userId | |
int | $groupId | |
int | $licenseId | |
string | $what | |
string | $changeTo |
Definition at line 451 of file ClearingDao.php.