FOSSology  3.2.0rc1
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 ()
 
 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

 createUploadTreeViewQuery ($options, $uploadTreeTableName)
 
 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)
 
static getAgentFilter ($options, $uploadId=0)
 
static getQueryCondition ($skipThese, $groupId=null, $agentFilter='')
 

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 27 of file UploadTreeProxy.php.

Constructor & Destructor Documentation

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

Definition at line 53 of file UploadTreeProxy.php.

Member Function Documentation

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

Definition at line 383 of file UploadTreeProxy.php.

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

count elements childrenwise (or grandchildrenwise if child is artifact)

Parameters
int$parent
Deprecated:
Returns
array

Definition at line 311 of file UploadTreeProxy.php.

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

Definition at line 75 of file UploadTreeProxy.php.

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

Definition at line 202 of file UploadTreeProxy.php.

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

Definition at line 355 of file UploadTreeProxy.php.

static Fossology\Lib\Proxy\UploadTreeProxy::getQueryCondition (   $skipThese,
  $groupId = null,
  $agentFilter = '' 
)
staticprivate
Parameters
$skipThese
Returns
string

Definition at line 274 of file UploadTreeProxy.php.

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

Definition at line 65 of file UploadTreeProxy.php.

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

Definition at line 220 of file UploadTreeProxy.php.


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