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

Public Member Functions

 __construct ($uploadId, $options, $uploadTreeTableName, $uploadTreeViewName=null)
 
 getUploadTreeTableName ()
 
 createUploadTreeViewQuery ($options, $uploadTreeTableName)
 
 countMaskedNonArtifactChildren ($parent)
 count elements childrenwise (or grandchildrenwise if child is artifact) More...
 
 getNonArtifactDescendants (ItemTreeBounds $itemTreeBounds)
 
 count ()
 
 getParams ()
 
- Public Member Functions inherited from Fossology\Lib\Proxy\DbViewProxy
 __construct ($dbViewQuery, $dbViewName)
 
 getDbViewName ()
 
 materialize ()
 create temp table
 
 unmaterialize ()
 drops temp table
 
 asCTE ()
 Common Table Expressions. More...
 
 getDbViewQuery ()
 

Public Attributes

const OPT_SKIP_THESE = 'skipThese'
 
const OPT_ITEM_FILTER = 'ut.filter'
 
const OPT_GROUP_ID = 'groupId'
 
const OPT_REALPARENT = 'realParent'
 
const OPT_RANGE = 'lft,rgt'
 
const OPT_EXT = 'ext'
 
const OPT_HEAD = 'head'
 
const OPT_AGENT_SET = 'agentArray'
 
const OPT_SCAN_REF = 'scanRef'
 
const OPT_CONCLUDE_REF = 'conRef'
 
const OPT_SKIP_ALREADY_CLEARED = 'alreadyCleared'
 

Private Member Functions

 addConFilter ($options)
 
 addScanFilter ($options)
 
 subqueryLicenseFileMatchWhere ($options)
 
 subqueryConcludeRefMatches ($itemTable, $options)
 
 addParamAndGetExpr ($key, $value)
 

Static Private Member Functions

static getDefaultUploadTreeView ($uploadId, $uploadTreeTableName, $additionalCondition='')
 
static getUploadTreeView ($uploadId, $options, $uploadTreeTableName, $applyGlobal=false)
 
static getAgentFilter ($options, $uploadId=0)
 

Private Attributes

 $uploadTreeTableName
 
 $uploadId
 
 $params = array()
 

Additional Inherited Members

- Protected Attributes inherited from Fossology\Lib\Proxy\DbViewProxy
 $dbViewName
 
 $dbViewQuery
 
 $materialized = false
 

Detailed Description

Definition at line 18 of file UploadTreeProxy.php.

Constructor & Destructor Documentation

◆ __construct()

Fossology\Lib\Proxy\UploadTreeProxy::__construct (   $uploadId,
  $options,
  $uploadTreeTableName,
  $uploadTreeViewName = null 
)
Parameters
int$uploadId
array$options(OPT_* supported)
string$uploadTreeTableName

Definition at line 44 of file UploadTreeProxy.php.

Member Function Documentation

◆ count()

Fossology\Lib\Proxy\UploadTreeProxy::count ( )
Returns
int

Definition at line 431 of file UploadTreeProxy.php.

◆ countMaskedNonArtifactChildren()

Fossology\Lib\Proxy\UploadTreeProxy::countMaskedNonArtifactChildren (   $parent)

count elements childrenwise (or grandchildrenwise if child is artifact)

Parameters
int$parent
Deprecated:
Returns
array

Definition at line 359 of file UploadTreeProxy.php.

◆ createUploadTreeViewQuery()

Fossology\Lib\Proxy\UploadTreeProxy::createUploadTreeViewQuery (   $options,
  $uploadTreeTableName 
)
Parameters
array$options
string$uploadTreeTableName
Returns
string

Definition at line 66 of file UploadTreeProxy.php.

◆ getDefaultUploadTreeView()

static Fossology\Lib\Proxy\UploadTreeProxy::getDefaultUploadTreeView (   $uploadId,
  $uploadTreeTableName,
  $additionalCondition = '' 
)
staticprivate
Parameters
int$uploadId
string$uploadTreeTableName
string$additionalCondition
Returns
string

Definition at line 217 of file UploadTreeProxy.php.

◆ getNonArtifactDescendants()

Fossology\Lib\Proxy\UploadTreeProxy::getNonArtifactDescendants ( ItemTreeBounds  $itemTreeBounds)
Parameters
ItemTreeBounds$itemTreeBounds
Returns
array

Definition at line 403 of file UploadTreeProxy.php.

◆ getUploadTreeTableName()

Fossology\Lib\Proxy\UploadTreeProxy::getUploadTreeTableName ( )
Returns
string

Definition at line 56 of file UploadTreeProxy.php.

◆ getUploadTreeView()

static Fossology\Lib\Proxy\UploadTreeProxy::getUploadTreeView (   $uploadId,
  $options,
  $uploadTreeTableName,
  $applyGlobal = false 
)
staticprivate
Parameters
$uploadId
$options
$uploadTreeTableName
bool$applyGlobal
Returns
string

Definition at line 236 of file UploadTreeProxy.php.


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