FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
Public Member Functions | |
__construct (DbManager $dbManager, Logger $logger, UploadPermissionDao $uploadPermissionDao) | |
getUploadEntry ($uploadTreeId, $uploadTreeTableName="uploadtree") | |
getUploadtreeIdFromPfile ($uploadFk, $pfileFk) | |
getUpload ($uploadId) | |
getActiveUploadsArray () | |
getItemTreeBounds ($itemId, $uploadTreeTableName="uploadtree") | |
getItemTreeBoundsFromUploadId ($uploadTreeId, $uploadId) | |
getParentItemBounds ($uploadId, $uploadTreeTableName=null) | |
countPlainFiles (ItemTreeBounds $itemTreeBounds) | |
getStatus ($uploadId, $groupId) | |
Get the upload status. More... | |
getAssignee ($uploadId, $groupId) | |
Get the upload assignee id. More... | |
getAssigneeDate (int $uploadId) | |
getClosedDate (int $uploadId) | |
getClearingDuration (int $uploadId) | |
getUploadtreeTableName ($uploadId) | |
Get the uploadtree table name for this upload_pk If upload_pk does not exist, return "uploadtree". More... | |
getNextItem ($uploadId, $itemId, $options=null) | |
getPreviousItem ($uploadId, $itemId, $options=null) | |
getItemByDirection ($uploadId, $itemId, $direction, $options) | |
getUploadParent ($uploadId) | |
getLeftAndRight ($uploadtreeID, $uploadTreeTableName="uploadtree") | |
getContainingFileCount (ItemTreeBounds $itemTreeBounds, UploadTreeProxy $uploadTreeView) | |
getContainedItems (ItemTreeBounds $itemTreeBounds, $addCondition="", $addParameters=array()) | |
addReusedUpload ($uploadId, $reusedUploadId, $groupId, $reusedGroupId, $reuseMode=0) | |
getReusedUpload ($uploadId, $groupId) | |
countNonArtifactDescendants (ItemTreeBounds $itemTreeBounds, $isFlat=true) | |
isAccessible ($uploadId, $groupId) | |
isEditable ($uploadId, $groupId) | |
makeAccessibleToGroup ($uploadId, $groupId, $perm=null) | |
makeAccessibleToAllGroupsOf ($uploadId, $userId, $perm=null) | |
getUploadHashes ($uploadId) | |
getFatItemArray ($itemId, $uploadId, $uploadtreeTablename) | |
getFatItemId ($itemId, $uploadId, $uploadtreeTablename) | |
getPFileDataPerFileName (ItemTreeBounds $itemTreeBounds) | |
getPFilesDataPerHashAlgo (ItemTreeBounds $itemTreeBounds, $hashAlgo="sha1") | |
getReportInfo ($uploadId) | |
updateReportInfo ($uploadId, $column, $value) | |
Update report info for upload. More... | |
getGlobalDecisionSettingsFromInfo ($uploadId, $setGlobal=null) | |
getUploadHashesFromPfileId ($pfilePk) | |
Get Pfile hashes from the pfile id. More... | |
insertReportConfReuse ($uploadId, $reusedUploadId) | |
Protected Member Functions | |
createItem ($uploadEntry, $uploadTreeTableName) | |
createItemTreeBounds ($uploadEntryData, $uploadTreeTableName) | |
Private Attributes | |
$dbManager | |
$logger | |
$permissionDao | |
Definition at line 25 of file UploadDao.php.
Fossology\Lib\Dao\UploadDao::addReusedUpload | ( | $uploadId, | |
$reusedUploadId, | |||
$groupId, | |||
$reusedGroupId, | |||
$reuseMode = 0 |
|||
) |
int | $uploadId | |
int | $reusedUploadId | |
int | $groupId | |
int | $reusedGroupId | |
int | $reuseMode |
Definition at line 507 of file UploadDao.php.
Fossology\Lib\Dao\UploadDao::countNonArtifactDescendants | ( | ItemTreeBounds | $itemTreeBounds, |
$isFlat = true |
|||
) |
ItemTreeBounds | $itemTreeBounds | |
bool | $isFlat | plain files from sub*folders instead of folders |
Definition at line 569 of file UploadDao.php.
Fossology\Lib\Dao\UploadDao::countPlainFiles | ( | ItemTreeBounds | $itemTreeBounds | ) |
|
protected |
array | $uploadEntry | |
string | $uploadTreeTableName |
Definition at line 536 of file UploadDao.php.
|
protected |
array | $uploadEntryData | |
string | $uploadTreeTableName |
Exception |
Definition at line 556 of file UploadDao.php.
Fossology\Lib\Dao\UploadDao::getAssignee | ( | $uploadId, | |
$groupId | |||
) |
Get the upload assignee id.
int | $uploadId | Upload to get assignee id |
int | $groupId | Effective group |
Exception | if upload not accessible. |
Definition at line 267 of file UploadDao.php.
Fossology\Lib\Dao\UploadDao::getAssigneeDate | ( | int | $uploadId | ) |
Get the date when user was first assigned to the upload.
int | $uploadId | Upload to get assignee date |
Definition at line 288 of file UploadDao.php.
Fossology\Lib\Dao\UploadDao::getClearingDuration | ( | int | $uploadId | ) |
Get the clearing duration of a upload.
int | $uploadId | Upload to get clearing duration |
Definition at line 322 of file UploadDao.php.
Fossology\Lib\Dao\UploadDao::getClosedDate | ( | int | $uploadId | ) |
Get the date when upload was closed or rejected.
int | $uploadId | Upload to get closing date |
Definition at line 305 of file UploadDao.php.
Fossology\Lib\Dao\UploadDao::getContainingFileCount | ( | ItemTreeBounds | $itemTreeBounds, |
UploadTreeProxy | $uploadTreeView | ||
) |
ItemTreeBounds | $itemTreeBounds | |
UploadTreeProxy | $uploadTreeView |
Definition at line 465 of file UploadDao.php.
Fossology\Lib\Dao\UploadDao::getFatItemArray | ( | $itemId, | |
$uploadId, | |||
$uploadtreeTablename | |||
) |
int | $itemId | |
string | $uploadId | |
string | $uploadtreeTablename |
Definition at line 627 of file UploadDao.php.
Fossology\Lib\Dao\UploadDao::getFatItemId | ( | $itemId, | |
$uploadId, | |||
$uploadtreeTablename | |||
) |
int | $itemId | |
string | $uploadId | |
string | $uploadtreeTablename |
Definition at line 650 of file UploadDao.php.
Fossology\Lib\Dao\UploadDao::getItemByDirection | ( | $uploadId, | |
$itemId, | |||
$direction, | |||
$options | |||
) |
$uploadId | |
$itemId | |
$direction | |
$options |
Definition at line 398 of file UploadDao.php.
Fossology\Lib\Dao\UploadDao::getItemTreeBounds | ( | $itemId, | |
$uploadTreeTableName = "uploadtree" |
|||
) |
$itemId | |
$uploadTreeTableName |
Definition at line 153 of file UploadDao.php.
Fossology\Lib\Dao\UploadDao::getItemTreeBoundsFromUploadId | ( | $uploadTreeId, | |
$uploadId | |||
) |
$uploadTreeId | |
$uploadId |
Definition at line 164 of file UploadDao.php.
Fossology\Lib\Dao\UploadDao::getNextItem | ( | $uploadId, | |
$itemId, | |||
$options = null |
|||
) |
Fossology\Lib\Dao\UploadDao::getParentItemBounds | ( | $uploadId, | |
$uploadTreeTableName = null |
|||
) |
int | $uploadId | |
string|null |
Exception |
Definition at line 176 of file UploadDao.php.
Fossology\Lib\Dao\UploadDao::getPFileDataPerFileName | ( | ItemTreeBounds | $itemTreeBounds | ) |
Fossology\Lib\Dao\UploadDao::getPFilesDataPerHashAlgo | ( | ItemTreeBounds | $itemTreeBounds, |
$hashAlgo = "sha1" |
|||
) |
ItemTreeBounds | $itemTreeBounds | |
String | $hashAlgo |
Definition at line 739 of file UploadDao.php.
Fossology\Lib\Dao\UploadDao::getPreviousItem | ( | $uploadId, | |
$itemId, | |||
$options = null |
|||
) |
Fossology\Lib\Dao\UploadDao::getReusedUpload | ( | $uploadId, | |
$groupId | |||
) |
int | $uploadId | |
int | $groupId |
Definition at line 519 of file UploadDao.php.
Fossology\Lib\Dao\UploadDao::getStatus | ( | $uploadId, | |
$groupId | |||
) |
Get the upload status.
int | $uploadId | Upload to get status for |
int | $groupId | Effective group |
Exception | if upload not accessible. |
Definition at line 244 of file UploadDao.php.
Fossology\Lib\Dao\UploadDao::getUpload | ( | $uploadId | ) |
Fossology\Lib\Dao\UploadDao::getUploadEntry | ( | $uploadTreeId, | |
$uploadTreeTableName = "uploadtree" |
|||
) |
$uploadTreeId | ||
string | $uploadTreeTableName |
Definition at line 93 of file UploadDao.php.
Fossology\Lib\Dao\UploadDao::getUploadHashes | ( | $uploadId | ) |
int | $uploadId |
Definition at line 614 of file UploadDao.php.
Fossology\Lib\Dao\UploadDao::getUploadHashesFromPfileId | ( | $pfilePk | ) |
Get Pfile hashes from the pfile id.
$pfilePk |
Definition at line 877 of file UploadDao.php.
Fossology\Lib\Dao\UploadDao::getUploadParent | ( | $uploadId | ) |
$uploadId |
Definition at line 434 of file UploadDao.php.
Fossology\Lib\Dao\UploadDao::getUploadtreeIdFromPfile | ( | $uploadFk, | |
$pfileFk | |||
) |
Get the first entry for uploadtree_pk for a given pfile in a given upload.
integer | $uploadFk | Upload id |
integer | $pfileFk | Pfile id |
Definition at line 110 of file UploadDao.php.
Fossology\Lib\Dao\UploadDao::getUploadtreeTableName | ( | $uploadId | ) |
Get the uploadtree table name for this upload_pk If upload_pk does not exist, return "uploadtree".
$upload_pk |
Definition at line 349 of file UploadDao.php.
Fossology\Lib\Dao\UploadDao::insertReportConfReuse | ( | $uploadId, | |
$reusedUploadId | |||
) |
int | $uploadId | |
int | $reusedUploadId |
Definition at line 891 of file UploadDao.php.
Fossology\Lib\Dao\UploadDao::updateReportInfo | ( | $uploadId, | |
$column, | |||
$value | |||
) |
Update report info for upload.
int | $uploadId | Upload ID to update |
string | $column | Column to update |
string | array | $value | New value |
Definition at line 806 of file UploadDao.php.
const Fossology\Lib\Dao\UploadDao::CLIXML_REPORT_HEADINGS |
Definition at line 54 of file UploadDao.php.
const Fossology\Lib\Dao\UploadDao::UNIFIED_REPORT_HEADINGS |
Definition at line 33 of file UploadDao.php.