FOSSology
3.2.0rc1
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) | |
getItemTreeBounds ($itemId, $uploadTreeTableName="uploadtree") | |
getItemTreeBoundsFromUploadId ($uploadTreeId, $uploadId) | |
getParentItemBounds ($uploadId, $uploadTreeTableName=null) | |
countPlainFiles (ItemTreeBounds $itemTreeBounds) | |
getStatus ($uploadId, $groupId) | |
unused function | |
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) | |
getUploadHashesFromPfileId ($pfilePk) | |
Get Pfile hashes from the pfile id. More... | |
insertReportConfReuse ($uploadId, $reusedUploadId) | |
Public Attributes | |
const | REUSE_NONE = 0 |
const | REUSE_ENHANCED = 2 |
const | REUSE_MAIN = 4 |
const | REUSE_CONF = 16 |
const | DIR_FWD = 1 |
const | DIR_BCK = -1 |
const | NOT_FOUND = null |
Protected Member Functions | |
createItem ($uploadEntry, $uploadTreeTableName) | |
createItemTreeBounds ($uploadEntryData, $uploadTreeTableName) | |
Private Attributes | |
$dbManager | |
$logger | |
$permissionDao | |
Definition at line 34 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 374 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 436 of file UploadDao.php.
Fossology\Lib\Dao\UploadDao::countPlainFiles | ( | ItemTreeBounds | $itemTreeBounds | ) |
|
protected |
array | $uploadEntry | |
string | $uploadTreeTableName |
Definition at line 402 of file UploadDao.php.
|
protected |
array | $uploadEntryData | |
string | $uploadTreeTableName |
Exception |
Definition at line 423 of file UploadDao.php.
Fossology\Lib\Dao\UploadDao::getFatItemArray | ( | $itemId, | |
$uploadId, | |||
$uploadtreeTablename | |||
) |
int | $itemId | |
string | $uploadId | |
string | $uploadtreeTablename |
Definition at line 494 of file UploadDao.php.
Fossology\Lib\Dao\UploadDao::getFatItemId | ( | $itemId, | |
$uploadId, | |||
$uploadtreeTablename | |||
) |
int | $itemId | |
string | $uploadId | |
string | $uploadtreeTablename |
Definition at line 517 of file UploadDao.php.
Fossology\Lib\Dao\UploadDao::getItemByDirection | ( | $uploadId, | |
$itemId, | |||
$direction, | |||
$options | |||
) |
$uploadId | |
$itemId | |
$direction |
Definition at line 264 of file UploadDao.php.
Fossology\Lib\Dao\UploadDao::getItemTreeBounds | ( | $itemId, | |
$uploadTreeTableName = "uploadtree" |
|||
) |
$itemId | |
$uploadTreeTableName |
Definition at line 108 of file UploadDao.php.
Fossology\Lib\Dao\UploadDao::getItemTreeBoundsFromUploadId | ( | $uploadTreeId, | |
$uploadId | |||
) |
$uploadTreeId | |
$uploadId |
Definition at line 119 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 131 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 606 of file UploadDao.php.
Fossology\Lib\Dao\UploadDao::getPreviousItem | ( | $uploadId, | |
$itemId, | |||
$options = null |
|||
) |
Fossology\Lib\Dao\UploadDao::getReusedUpload | ( | $uploadId, | |
$groupId | |||
) |
Fossology\Lib\Dao\UploadDao::getUpload | ( | $uploadId | ) |
Fossology\Lib\Dao\UploadDao::getUploadEntry | ( | $uploadTreeId, | |
$uploadTreeTableName = "uploadtree" |
|||
) |
$uploadTreeId | ||
string | $uploadTreeTableName |
Definition at line 62 of file UploadDao.php.
Fossology\Lib\Dao\UploadDao::getUploadHashes | ( | $uploadId | ) |
int | $uploadId |
Definition at line 481 of file UploadDao.php.
Fossology\Lib\Dao\UploadDao::getUploadHashesFromPfileId | ( | $pfilePk | ) |
Get Pfile hashes from the pfile id.
$pfilePk |
Definition at line 671 of file UploadDao.php.
Fossology\Lib\Dao\UploadDao::getUploadParent | ( | $uploadId | ) |
$uploadId |
Definition at line 300 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 79 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 217 of file UploadDao.php.
Fossology\Lib\Dao\UploadDao::insertReportConfReuse | ( | $uploadId, | |
$reusedUploadId | |||
) |
int | $uploadId | |
int | $reusedUploadId |
Definition at line 685 of file UploadDao.php.