FOSSology  4.4.0
Open Source License Compliance by Open Source Software
Fossology\Lib\Proxy\UploadBrowseProxy Class Reference
Collaboration diagram for Fossology\Lib\Proxy\UploadBrowseProxy:
Collaboration graph

Public Member Functions

 __construct ($groupId, $userPerm, DbManager $dbManager, $doSanity=true)
 
 sanity ()
 
 updateTable ($columnName, $uploadId, $value)
 
 setStatusAndComment ($uploadId, $statusId, $commentText)
 
 moveUploadToInfinity ($uploadId, $top)
 
 moveUploadBeyond ($moveUpload, $beyondUpload)
 
 getFolderPartialQuery (& $params)
 
 getStatus ($uploadId)
 

Public Attributes

const PRIO_COLUMN = 'priority'
 

Protected Member Functions

 changeStatus ($uploadId, $newStatus)
 

Protected Attributes

 $groupId
 
 $userPerm
 
 $dbManager
 

Private Member Functions

 setAssigneeEvent ($uploadId)
 
 setCloseEvent ($uploadId)
 

Detailed Description

Definition at line 15 of file UploadBrowseProxy.php.

Member Function Documentation

◆ getFolderPartialQuery()

Fossology\Lib\Proxy\UploadBrowseProxy::getFolderPartialQuery ( $params)
Parameters
array$params
Returns
string $partQuery where "select * from $partquery" is query to select all uploads in forderId = $params[0]

Definition at line 165 of file UploadBrowseProxy.php.

◆ getStatus()

Fossology\Lib\Proxy\UploadBrowseProxy::getStatus (   $uploadId)
Parameters
int$uploadId
Returns
int
Exceptions

Definition at line 191 of file UploadBrowseProxy.php.

◆ setAssigneeEvent()

Fossology\Lib\Proxy\UploadBrowseProxy::setAssigneeEvent (   $uploadId)
private

Add assignee event if not already present for the upload

Parameters
int$uploadIdUpload ID
Returns
void

Definition at line 92 of file UploadBrowseProxy.php.

◆ setCloseEvent()

Fossology\Lib\Proxy\UploadBrowseProxy::setCloseEvent (   $uploadId)
private

Add close event if not already present for the upload

Parameters
int$uploadIdUpload ID
Returns
void

Definition at line 112 of file UploadBrowseProxy.php.


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