FOSSology  4.4.0
Open Source License Compliance by Open Source Software
Fossology\UI\Api\Controllers\CopyrightController Class Reference
Inheritance diagram for Fossology\UI\Api\Controllers\CopyrightController:
Inheritance graph
Collaboration diagram for Fossology\UI\Api\Controllers\CopyrightController:
Collaboration graph

Public Member Functions

 __construct ($container)
 
 getFileCopyrights ($request, $response, $args)
 
 getFileUserCopyrights ($request, $response, $args)
 
 getFileScanCodeCopyrights ($request, $response, $args)
 
 getFileEmail ($request, $response, $args)
 
 getFileScanCodeEmail ($request, $response, $args)
 
 getFileUrl ($request, $response, $args)
 
 getFileScanCodeUrl ($request, $response, $args)
 
 getFileAuthor ($request, $response, $args)
 
 getFileScanCodeAuthor ($request, $response, $args)
 
 getFileEcc ($request, $response, $args)
 
 getFileKeyword ($request, $response, $args)
 
 getFileIpra ($request, $response, $args)
 
 deleteFileCopyright ($request, $response, $args)
 
 deleteFileUserCopyright ($request, $response, $args)
 
 deleteFileScanCodeCopyright ($request, $response, $args)
 
 deleteFileEmail ($request, $response, $args)
 
 deleteFileScanCodeEmail ($request, $response, $args)
 
 deleteFileUrl ($request, $response, $args)
 
 deleteFileScanCodeUrl ($request, $response, $args)
 
 deleteFileAuthor ($request, $response, $args)
 
 deleteFileScanCodeAuthor ($request, $response, $args)
 
 deleteFileEcc ($request, $response, $args)
 
 deleteFileKeyword ($request, $response, $args)
 
 deleteFileIpra ($request, $response, $args)
 
 updateFileCopyright ($request, $response, $args)
 
 updateFileUserCopyright ($request, $response, $args)
 
 updateFileScanCodeCopyright ($request, $response, $args)
 
 updateFileEmail ($request, $response, $args)
 
 updateFileScanCodeEmail ($request, $response, $args)
 
 updateFileUrl ($request, $response, $args)
 
 updateFileScanCodeUrl ($request, $response, $args)
 
 updateFileAuthor ($request, $response, $args)
 
 updateFileScanCodeAuthor ($request, $response, $args)
 
 updateFileEcc ($request, $response, $args)
 
 updateFileKeyword ($request, $response, $args)
 
 updateFileIpra ($request, $response, $args)
 
 restoreFileCopyright ($request, $response, $args)
 
 restoreFileUserCopyright ($request, $response, $args)
 
 restoreFileScanCodeCopyright ($request, $response, $args)
 
 restoreFileEmail ($request, $response, $args)
 
 restoreFileScanCodeEmail ($request, $response, $args)
 
 restoreFileUrl ($request, $response, $args)
 
 restoreFileScanCodeUrl ($request, $response, $args)
 
 restoreFileAuthor ($request, $response, $args)
 
 restoreFileScanCodeAuthor ($request, $response, $args)
 
 restoreFileEcc ($request, $response, $args)
 
 restoreFileKeyword ($request, $response, $args)
 
 restoreFileIpra ($request, $response, $args)
 
 getTotalFileCopyrights ($request, $response, $args)
 
 getTotalFileUserCopyrights ($request, $response, $args)
 

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
 

Detailed Description

Definition at line 25 of file CopyrightController.php.

Constructor & Destructor Documentation

◆ __construct()

Fossology\UI\Api\Controllers\CopyrightController::__construct (   $container)

Constructor for base controller

Parameters
ContainerInterface$container

Reimplemented from Fossology\UI\Api\Controllers\RestController.

Definition at line 71 of file CopyrightController.php.

Member Function Documentation

◆ convertTypeToTable()

Fossology\UI\Api\Controllers\CopyrightController::convertTypeToTable ( int  $cxType)
private

Convert CX Type to table name and display name.

Parameters
int$cxType
Returns
string[]

Definition at line 1042 of file CopyrightController.php.

◆ deleteFileAuthor()

Fossology\UI\Api\Controllers\CopyrightController::deleteFileAuthor (   $request,
  $response,
  $args 
)

Delete author for a particular file

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 332 of file CopyrightController.php.

◆ deleteFileCopyright()

Fossology\UI\Api\Controllers\CopyrightController::deleteFileCopyright (   $request,
  $response,
  $args 
)

Delete copyright for a particular file

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 242 of file CopyrightController.php.

◆ deleteFileCX()

Fossology\UI\Api\Controllers\CopyrightController::deleteFileCX (   $args,
  $response,
  $cxType 
)
private

Delete cx for a particular file

Parameters
array$args
ResponseHelper$response
int$cxTypeType of data to fetch (self::TYPE_*)
Returns
ResponseHelper
Exceptions
HttpErrorException

Definition at line 925 of file CopyrightController.php.

◆ deleteFileEcc()

Fossology\UI\Api\Controllers\CopyrightController::deleteFileEcc (   $request,
  $response,
  $args 
)

Delete ECC for a particular file

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 358 of file CopyrightController.php.

◆ deleteFileEmail()

Fossology\UI\Api\Controllers\CopyrightController::deleteFileEmail (   $request,
  $response,
  $args 
)

Delete email for a particular file

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 281 of file CopyrightController.php.

◆ deleteFileIpra()

Fossology\UI\Api\Controllers\CopyrightController::deleteFileIpra (   $request,
  $response,
  $args 
)

Delete IPRA for a particular file

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 384 of file CopyrightController.php.

◆ deleteFileKeyword()

Fossology\UI\Api\Controllers\CopyrightController::deleteFileKeyword (   $request,
  $response,
  $args 
)

Delete keyword for a particular file

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 371 of file CopyrightController.php.

◆ deleteFileScanCodeAuthor()

Fossology\UI\Api\Controllers\CopyrightController::deleteFileScanCodeAuthor (   $request,
  $response,
  $args 
)

Delete scancode author findings for a particular file

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 345 of file CopyrightController.php.

◆ deleteFileScanCodeCopyright()

Fossology\UI\Api\Controllers\CopyrightController::deleteFileScanCodeCopyright (   $request,
  $response,
  $args 
)

Delete scancode copyright for a particular file

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 268 of file CopyrightController.php.

◆ deleteFileScanCodeEmail()

Fossology\UI\Api\Controllers\CopyrightController::deleteFileScanCodeEmail (   $request,
  $response,
  $args 
)

Delete scancode email findings for a particular file

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 294 of file CopyrightController.php.

◆ deleteFileScanCodeUrl()

Fossology\UI\Api\Controllers\CopyrightController::deleteFileScanCodeUrl (   $request,
  $response,
  $args 
)

Delete scancode URL findings for a particular file

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 319 of file CopyrightController.php.

◆ deleteFileUrl()

Fossology\UI\Api\Controllers\CopyrightController::deleteFileUrl (   $request,
  $response,
  $args 
)

Delete URL for a particular file

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 306 of file CopyrightController.php.

◆ deleteFileUserCopyright()

Fossology\UI\Api\Controllers\CopyrightController::deleteFileUserCopyright (   $request,
  $response,
  $args 
)

Delete user copyright for a particular file

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 255 of file CopyrightController.php.

◆ getFileAuthor()

Fossology\UI\Api\Controllers\CopyrightController::getFileAuthor (   $request,
  $response,
  $args 
)

Get all authors for a particular upload-tree

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 177 of file CopyrightController.php.

◆ getFileCopyrights()

Fossology\UI\Api\Controllers\CopyrightController::getFileCopyrights (   $request,
  $response,
  $args 
)

Get all copyrights for a particular upload-tree

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 86 of file CopyrightController.php.

◆ getFileCX()

Fossology\UI\Api\Controllers\CopyrightController::getFileCX (   $request,
  $response,
  $args,
  $cxType 
)
private

Get all cx for a particular upload-tree

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
int$cxTypeType of data to fetch (self::TYPE_*)
Returns
ResponseHelper
Exceptions
HttpErrorException

Definition at line 784 of file CopyrightController.php.

◆ getFileEcc()

Fossology\UI\Api\Controllers\CopyrightController::getFileEcc (   $request,
  $response,
  $args 
)

Get all ecc for a particular upload-tree

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 203 of file CopyrightController.php.

◆ getFileEmail()

Fossology\UI\Api\Controllers\CopyrightController::getFileEmail (   $request,
  $response,
  $args 
)

Get all emails for a particular upload-tree

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 125 of file CopyrightController.php.

◆ getFileIpra()

Fossology\UI\Api\Controllers\CopyrightController::getFileIpra (   $request,
  $response,
  $args 
)

Get all ipra for a particular upload-tree

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 229 of file CopyrightController.php.

◆ getFileKeyword()

Fossology\UI\Api\Controllers\CopyrightController::getFileKeyword (   $request,
  $response,
  $args 
)

Get all keywords for a particular upload-tree

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 216 of file CopyrightController.php.

◆ getFileScanCodeAuthor()

Fossology\UI\Api\Controllers\CopyrightController::getFileScanCodeAuthor (   $request,
  $response,
  $args 
)

Get all scancode author findings for a particular upload-tree

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 190 of file CopyrightController.php.

◆ getFileScanCodeCopyrights()

Fossology\UI\Api\Controllers\CopyrightController::getFileScanCodeCopyrights (   $request,
  $response,
  $args 
)

Get all scancode copyright findings for a particular upload-tree

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 112 of file CopyrightController.php.

◆ getFileScanCodeEmail()

Fossology\UI\Api\Controllers\CopyrightController::getFileScanCodeEmail (   $request,
  $response,
  $args 
)

Get all scancode email findings for a particular upload-tree

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 138 of file CopyrightController.php.

◆ getFileScanCodeUrl()

Fossology\UI\Api\Controllers\CopyrightController::getFileScanCodeUrl (   $request,
  $response,
  $args 
)

Get all scancode url findings for a particular upload-tree

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 164 of file CopyrightController.php.

◆ getFileUrl()

Fossology\UI\Api\Controllers\CopyrightController::getFileUrl (   $request,
  $response,
  $args 
)

Get all urls for a particular upload-tree

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 151 of file CopyrightController.php.

◆ getFileUserCopyrights()

Fossology\UI\Api\Controllers\CopyrightController::getFileUserCopyrights (   $request,
  $response,
  $args 
)

Get all user copyright findings for a particular upload-tree

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 99 of file CopyrightController.php.

◆ getTotalCX()

Fossology\UI\Api\Controllers\CopyrightController::getTotalCX (   $request,
  $response,
  $args,
  $cxType 
)
private

Get total number of copyrights for a particular upload-tree

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper
Exceptions
HttpErrorException

Definition at line 738 of file CopyrightController.php.

◆ getTotalFileCopyrights()

Fossology\UI\Api\Controllers\CopyrightController::getTotalFileCopyrights (   $request,
  $response,
  $args 
)

Get total number of scanner copyrights

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper
Exceptions
HttpErrorException

Definition at line 710 of file CopyrightController.php.

◆ getTotalFileUserCopyrights()

Fossology\UI\Api\Controllers\CopyrightController::getTotalFileUserCopyrights (   $request,
  $response,
  $args 
)

Get total number of user copyright findings

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper
Exceptions
HttpErrorException

Definition at line 724 of file CopyrightController.php.

◆ restoreFileAuthor()

Fossology\UI\Api\Controllers\CopyrightController::restoreFileAuthor (   $request,
  $response,
  $args 
)

Restore author for a particular file

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 644 of file CopyrightController.php.

◆ restoreFileCopyright()

Fossology\UI\Api\Controllers\CopyrightController::restoreFileCopyright (   $request,
  $response,
  $args 
)

Restore copyright for a particular file

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 553 of file CopyrightController.php.

◆ restoreFileCx()

Fossology\UI\Api\Controllers\CopyrightController::restoreFileCx (   $args,
  $response,
  $cxType 
)
private

Restore cx for a particular file

Parameters
array$args
ResponseHelper$response
int$cxTypeType of data to fetch (self::TYPE_*)
Returns
ResponseHelper
Exceptions
HttpErrorException

Definition at line 965 of file CopyrightController.php.

◆ restoreFileEcc()

Fossology\UI\Api\Controllers\CopyrightController::restoreFileEcc (   $request,
  $response,
  $args 
)

Restore ECC for a particular file

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 670 of file CopyrightController.php.

◆ restoreFileEmail()

Fossology\UI\Api\Controllers\CopyrightController::restoreFileEmail (   $request,
  $response,
  $args 
)

Restore email for a particular file

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 592 of file CopyrightController.php.

◆ restoreFileIpra()

Fossology\UI\Api\Controllers\CopyrightController::restoreFileIpra (   $request,
  $response,
  $args 
)

Restore IPRA for a particular file

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 696 of file CopyrightController.php.

◆ restoreFileKeyword()

Fossology\UI\Api\Controllers\CopyrightController::restoreFileKeyword (   $request,
  $response,
  $args 
)

Restore keyword for a particular file

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 683 of file CopyrightController.php.

◆ restoreFileScanCodeAuthor()

Fossology\UI\Api\Controllers\CopyrightController::restoreFileScanCodeAuthor (   $request,
  $response,
  $args 
)

Restore scancode author findings for a particular file

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 657 of file CopyrightController.php.

◆ restoreFileScanCodeCopyright()

Fossology\UI\Api\Controllers\CopyrightController::restoreFileScanCodeCopyright (   $request,
  $response,
  $args 
)

Restore scancode copyright for a particular file

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 579 of file CopyrightController.php.

◆ restoreFileScanCodeEmail()

Fossology\UI\Api\Controllers\CopyrightController::restoreFileScanCodeEmail (   $request,
  $response,
  $args 
)

Restore scancode email findings for a particular file

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 605 of file CopyrightController.php.

◆ restoreFileScanCodeUrl()

Fossology\UI\Api\Controllers\CopyrightController::restoreFileScanCodeUrl (   $request,
  $response,
  $args 
)

Restore scancode URL findings for a particular file

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 631 of file CopyrightController.php.

◆ restoreFileUrl()

Fossology\UI\Api\Controllers\CopyrightController::restoreFileUrl (   $request,
  $response,
  $args 
)

Restore URL for a particular file

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 618 of file CopyrightController.php.

◆ restoreFileUserCopyright()

Fossology\UI\Api\Controllers\CopyrightController::restoreFileUserCopyright (   $request,
  $response,
  $args 
)

Restore user copyright for a particular file

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 566 of file CopyrightController.php.

◆ updateFileAuthor()

Fossology\UI\Api\Controllers\CopyrightController::updateFileAuthor (   $request,
  $response,
  $args 
)

Update author for a particular file

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 488 of file CopyrightController.php.

◆ updateFileCopyright()

Fossology\UI\Api\Controllers\CopyrightController::updateFileCopyright (   $request,
  $response,
  $args 
)

Update copyright for a particular file

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 397 of file CopyrightController.php.

◆ updateFileCx()

Fossology\UI\Api\Controllers\CopyrightController::updateFileCx (   $request,
  $response,
  $args,
  $cxType 
)
private

Update cx for a particular file

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
int$cxTypeType of data to fetch (self::TYPE_*)
Returns
ResponseHelper
Exceptions
HttpErrorException

Definition at line 1004 of file CopyrightController.php.

◆ updateFileEcc()

Fossology\UI\Api\Controllers\CopyrightController::updateFileEcc (   $request,
  $response,
  $args 
)

Update ECC for a particular file

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 514 of file CopyrightController.php.

◆ updateFileEmail()

Fossology\UI\Api\Controllers\CopyrightController::updateFileEmail (   $request,
  $response,
  $args 
)

Update email for a particular file

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 436 of file CopyrightController.php.

◆ updateFileIpra()

Fossology\UI\Api\Controllers\CopyrightController::updateFileIpra (   $request,
  $response,
  $args 
)

Update IPRA for a particular file

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 540 of file CopyrightController.php.

◆ updateFileKeyword()

Fossology\UI\Api\Controllers\CopyrightController::updateFileKeyword (   $request,
  $response,
  $args 
)

Update keyword for a particular file

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 527 of file CopyrightController.php.

◆ updateFileScanCodeAuthor()

Fossology\UI\Api\Controllers\CopyrightController::updateFileScanCodeAuthor (   $request,
  $response,
  $args 
)

Update scancode author findings for a particular file

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 501 of file CopyrightController.php.

◆ updateFileScanCodeCopyright()

Fossology\UI\Api\Controllers\CopyrightController::updateFileScanCodeCopyright (   $request,
  $response,
  $args 
)

Update scancode copyright for a particular file

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 423 of file CopyrightController.php.

◆ updateFileScanCodeEmail()

Fossology\UI\Api\Controllers\CopyrightController::updateFileScanCodeEmail (   $request,
  $response,
  $args 
)

Update scancode email findings for a particular file

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 449 of file CopyrightController.php.

◆ updateFileScanCodeUrl()

Fossology\UI\Api\Controllers\CopyrightController::updateFileScanCodeUrl (   $request,
  $response,
  $args 
)

Update scancode URL findings for a particular file

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 475 of file CopyrightController.php.

◆ updateFileUrl()

Fossology\UI\Api\Controllers\CopyrightController::updateFileUrl (   $request,
  $response,
  $args 
)

Update URL for a particular file

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 462 of file CopyrightController.php.

◆ updateFileUserCopyright()

Fossology\UI\Api\Controllers\CopyrightController::updateFileUserCopyright (   $request,
  $response,
  $args 
)

Update user copyright for a particular file

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 410 of file CopyrightController.php.

Member Data Documentation

◆ $copyrightDao

CopyrightDao Fossology\UI\Api\Controllers\CopyrightController::$copyrightDao
private

Copyright Dao object

Definition at line 57 of file CopyrightController.php.

◆ $copyrightHist

CopyrightHistogram Fossology\UI\Api\Controllers\CopyrightController::$copyrightHist
private

Copyright Histogram object

Definition at line 51 of file CopyrightController.php.

◆ COPYRIGHT_FETCH_LIMIT

const Fossology\UI\Api\Controllers\CopyrightController::COPYRIGHT_FETCH_LIMIT = 100

Limit of copyrights in get query

Definition at line 45 of file CopyrightController.php.

◆ COPYRIGHT_PARAM

const Fossology\UI\Api\Controllers\CopyrightController::COPYRIGHT_PARAM = "status"

Get query parameter name for copyright filtering

Definition at line 30 of file CopyrightController.php.

◆ LIMIT_PARAM

const Fossology\UI\Api\Controllers\CopyrightController::LIMIT_PARAM = "limit"

Get header parameter name for limiting listing

Definition at line 35 of file CopyrightController.php.

◆ PAGE_PARAM

const Fossology\UI\Api\Controllers\CopyrightController::PAGE_PARAM = "page"

Get header parameter name for page listing

Definition at line 40 of file CopyrightController.php.


The documentation for this class was generated from the following file: