FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
Public Attributes | |
const | COPYRIGHT_PARAM = "status" |
const | LIMIT_PARAM = "limit" |
const | PAGE_PARAM = "page" |
const | COPYRIGHT_FETCH_LIMIT = 100 |
const | TYPE_COPYRIGHT = 1 |
const | TYPE_EMAIL = 2 |
const | TYPE_URL = 4 |
const | TYPE_AUTHOR = 8 |
const | TYPE_ECC = 16 |
const | TYPE_KEYWORD = 32 |
const | TYPE_IPRA = 64 |
const | TYPE_COPYRIGHT_USERFINDINGS = 128 |
const | TYPE_COPYRIGHT_SCANCODE = 256 |
const | TYPE_EMAIL_SCANCODE = 512 |
const | TYPE_URL_SCANCODE = 1024 |
const | TYPE_AUTHOR_SCANCODE = 2048 |
Private Member Functions | |
getTotalCX ($request, $response, $args, $cxType) | |
getFileCX ($request, $response, $args, $cxType) | |
deleteFileCX ($args, $response, $cxType) | |
restoreFileCx ($args, $response, $cxType) | |
updateFileCx ($request, $response, $args, $cxType) | |
convertTypeToTable (int $cxType) | |
Private Attributes | |
$copyrightHist | |
$copyrightDao | |
Additional Inherited Members | |
Protected Member Functions inherited from Fossology\UI\Api\Controllers\RestController | |
getParsedBody (ServerRequestInterface $request) | |
Parse request body as JSON and return associative PHP array. More... | |
throwNotAdminException () | |
uploadAccessible ($id) | |
isItemExists (int $uploadId, int $itemId) | |
Protected Attributes inherited from Fossology\UI\Api\Controllers\RestController | |
$container | |
$restHelper | |
$dbHelper | |
Definition at line 25 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::__construct | ( | $container | ) |
Constructor for base controller
ContainerInterface | $container |
Reimplemented from Fossology\UI\Api\Controllers\RestController.
Definition at line 71 of file CopyrightController.php.
|
private |
Convert CX Type to table name and display name.
int | $cxType |
Definition at line 1042 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::deleteFileAuthor | ( | $request, | |
$response, | |||
$args | |||
) |
Delete author for a particular file
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 332 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::deleteFileCopyright | ( | $request, | |
$response, | |||
$args | |||
) |
Delete copyright for a particular file
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 242 of file CopyrightController.php.
|
private |
Delete cx for a particular file
array | $args | |
ResponseHelper | $response | |
int | $cxType | Type of data to fetch (self::TYPE_*) |
HttpErrorException |
Definition at line 925 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::deleteFileEcc | ( | $request, | |
$response, | |||
$args | |||
) |
Delete ECC for a particular file
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 358 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::deleteFileEmail | ( | $request, | |
$response, | |||
$args | |||
) |
Delete email for a particular file
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 281 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::deleteFileIpra | ( | $request, | |
$response, | |||
$args | |||
) |
Delete IPRA for a particular file
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 384 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::deleteFileKeyword | ( | $request, | |
$response, | |||
$args | |||
) |
Delete keyword for a particular file
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 371 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::deleteFileScanCodeAuthor | ( | $request, | |
$response, | |||
$args | |||
) |
Delete scancode author findings for a particular file
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 345 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::deleteFileScanCodeCopyright | ( | $request, | |
$response, | |||
$args | |||
) |
Delete scancode copyright for a particular file
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 268 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::deleteFileScanCodeEmail | ( | $request, | |
$response, | |||
$args | |||
) |
Delete scancode email findings for a particular file
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 294 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::deleteFileScanCodeUrl | ( | $request, | |
$response, | |||
$args | |||
) |
Delete scancode URL findings for a particular file
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 319 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::deleteFileUrl | ( | $request, | |
$response, | |||
$args | |||
) |
Delete URL for a particular file
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 306 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::deleteFileUserCopyright | ( | $request, | |
$response, | |||
$args | |||
) |
Delete user copyright for a particular file
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 255 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::getFileAuthor | ( | $request, | |
$response, | |||
$args | |||
) |
Get all authors for a particular upload-tree
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 177 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::getFileCopyrights | ( | $request, | |
$response, | |||
$args | |||
) |
Get all copyrights for a particular upload-tree
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 86 of file CopyrightController.php.
|
private |
Get all cx for a particular upload-tree
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args | |
int | $cxType | Type of data to fetch (self::TYPE_*) |
HttpErrorException |
Definition at line 784 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::getFileEcc | ( | $request, | |
$response, | |||
$args | |||
) |
Get all ecc for a particular upload-tree
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 203 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::getFileEmail | ( | $request, | |
$response, | |||
$args | |||
) |
Get all emails for a particular upload-tree
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 125 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::getFileIpra | ( | $request, | |
$response, | |||
$args | |||
) |
Get all ipra for a particular upload-tree
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 229 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::getFileKeyword | ( | $request, | |
$response, | |||
$args | |||
) |
Get all keywords for a particular upload-tree
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 216 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::getFileScanCodeAuthor | ( | $request, | |
$response, | |||
$args | |||
) |
Get all scancode author findings for a particular upload-tree
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 190 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::getFileScanCodeCopyrights | ( | $request, | |
$response, | |||
$args | |||
) |
Get all scancode copyright findings for a particular upload-tree
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 112 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::getFileScanCodeEmail | ( | $request, | |
$response, | |||
$args | |||
) |
Get all scancode email findings for a particular upload-tree
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 138 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::getFileScanCodeUrl | ( | $request, | |
$response, | |||
$args | |||
) |
Get all scancode url findings for a particular upload-tree
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 164 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::getFileUrl | ( | $request, | |
$response, | |||
$args | |||
) |
Get all urls for a particular upload-tree
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 151 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::getFileUserCopyrights | ( | $request, | |
$response, | |||
$args | |||
) |
Get all user copyright findings for a particular upload-tree
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 99 of file CopyrightController.php.
|
private |
Get total number of copyrights for a particular upload-tree
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
HttpErrorException |
Definition at line 738 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::getTotalFileCopyrights | ( | $request, | |
$response, | |||
$args | |||
) |
Get total number of scanner copyrights
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
HttpErrorException |
Definition at line 710 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::getTotalFileUserCopyrights | ( | $request, | |
$response, | |||
$args | |||
) |
Get total number of user copyright findings
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
HttpErrorException |
Definition at line 724 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::restoreFileAuthor | ( | $request, | |
$response, | |||
$args | |||
) |
Restore author for a particular file
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 644 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::restoreFileCopyright | ( | $request, | |
$response, | |||
$args | |||
) |
Restore copyright for a particular file
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 553 of file CopyrightController.php.
|
private |
Restore cx for a particular file
array | $args | |
ResponseHelper | $response | |
int | $cxType | Type of data to fetch (self::TYPE_*) |
HttpErrorException |
Definition at line 965 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::restoreFileEcc | ( | $request, | |
$response, | |||
$args | |||
) |
Restore ECC for a particular file
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 670 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::restoreFileEmail | ( | $request, | |
$response, | |||
$args | |||
) |
Restore email for a particular file
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 592 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::restoreFileIpra | ( | $request, | |
$response, | |||
$args | |||
) |
Restore IPRA for a particular file
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 696 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::restoreFileKeyword | ( | $request, | |
$response, | |||
$args | |||
) |
Restore keyword for a particular file
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 683 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::restoreFileScanCodeAuthor | ( | $request, | |
$response, | |||
$args | |||
) |
Restore scancode author findings for a particular file
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 657 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::restoreFileScanCodeCopyright | ( | $request, | |
$response, | |||
$args | |||
) |
Restore scancode copyright for a particular file
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 579 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::restoreFileScanCodeEmail | ( | $request, | |
$response, | |||
$args | |||
) |
Restore scancode email findings for a particular file
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 605 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::restoreFileScanCodeUrl | ( | $request, | |
$response, | |||
$args | |||
) |
Restore scancode URL findings for a particular file
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 631 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::restoreFileUrl | ( | $request, | |
$response, | |||
$args | |||
) |
Restore URL for a particular file
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 618 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::restoreFileUserCopyright | ( | $request, | |
$response, | |||
$args | |||
) |
Restore user copyright for a particular file
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 566 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::updateFileAuthor | ( | $request, | |
$response, | |||
$args | |||
) |
Update author for a particular file
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 488 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::updateFileCopyright | ( | $request, | |
$response, | |||
$args | |||
) |
Update copyright for a particular file
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 397 of file CopyrightController.php.
|
private |
Update cx for a particular file
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args | |
int | $cxType | Type of data to fetch (self::TYPE_*) |
HttpErrorException |
Definition at line 1004 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::updateFileEcc | ( | $request, | |
$response, | |||
$args | |||
) |
Update ECC for a particular file
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 514 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::updateFileEmail | ( | $request, | |
$response, | |||
$args | |||
) |
Update email for a particular file
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 436 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::updateFileIpra | ( | $request, | |
$response, | |||
$args | |||
) |
Update IPRA for a particular file
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 540 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::updateFileKeyword | ( | $request, | |
$response, | |||
$args | |||
) |
Update keyword for a particular file
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 527 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::updateFileScanCodeAuthor | ( | $request, | |
$response, | |||
$args | |||
) |
Update scancode author findings for a particular file
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 501 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::updateFileScanCodeCopyright | ( | $request, | |
$response, | |||
$args | |||
) |
Update scancode copyright for a particular file
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 423 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::updateFileScanCodeEmail | ( | $request, | |
$response, | |||
$args | |||
) |
Update scancode email findings for a particular file
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 449 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::updateFileScanCodeUrl | ( | $request, | |
$response, | |||
$args | |||
) |
Update scancode URL findings for a particular file
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 475 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::updateFileUrl | ( | $request, | |
$response, | |||
$args | |||
) |
Update URL for a particular file
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 462 of file CopyrightController.php.
Fossology\UI\Api\Controllers\CopyrightController::updateFileUserCopyright | ( | $request, | |
$response, | |||
$args | |||
) |
Update user copyright for a particular file
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 410 of file CopyrightController.php.
|
private |
Copyright Dao object
Definition at line 57 of file CopyrightController.php.
|
private |
Copyright Histogram object
Definition at line 51 of file CopyrightController.php.
const Fossology\UI\Api\Controllers\CopyrightController::COPYRIGHT_FETCH_LIMIT = 100 |
Limit of copyrights in get query
Definition at line 45 of file CopyrightController.php.
const Fossology\UI\Api\Controllers\CopyrightController::COPYRIGHT_PARAM = "status" |
Get query parameter name for copyright filtering
Definition at line 30 of file CopyrightController.php.
const Fossology\UI\Api\Controllers\CopyrightController::LIMIT_PARAM = "limit" |
Get header parameter name for limiting listing
Definition at line 35 of file CopyrightController.php.
const Fossology\UI\Api\Controllers\CopyrightController::PAGE_PARAM = "page" |
Get header parameter name for page listing
Definition at line 40 of file CopyrightController.php.