FOSSology  3.2.0rc1
Open Source License Compliance by Open Source Software
Fossology\Lib\Report\ObligationsGetter Class Reference
Collaboration diagram for Fossology\Lib\Report\ObligationsGetter:
Collaboration graph

Public Member Functions

 getObligations ($licenseStatements, $mainLicenseStatements, $uploadId, $groupId)
 For given list of license statements, return obligations and white lists. More...
 
 getBulkAddLicenseList ($uploadId, $groupId)
 Get list of licenses added by Monk bulk. More...
 
 groupObligations ($obligations, $uploadId)
 Group obligations based on $groupBy. More...
 
 contentOnly ($licenseStatements)
 From a list of license statements, return only license id. More...
 

Private Attributes

 $licenseDao
 
 $clearingDao
 
 $uploadDao
 

Detailed Description

Definition at line 29 of file ObligationsGetter.php.

Member Function Documentation

Fossology\Lib\Report\ObligationsGetter::contentOnly (   $licenseStatements)

From a list of license statements, return only license id.

Parameters
array$licenseStatements
Returns
array List of license ids

Definition at line 159 of file ObligationsGetter.php.

Fossology\Lib\Report\ObligationsGetter::getBulkAddLicenseList (   $uploadId,
  $groupId 
)

Get list of licenses added by Monk bulk.

Parameters
int$uploadId
int$groupId
Returns
array List of license ids

Definition at line 99 of file ObligationsGetter.php.

Fossology\Lib\Report\ObligationsGetter::getObligations (   $licenseStatements,
  $mainLicenseStatements,
  $uploadId,
  $groupId 
)

For given list of license statements, return obligations and white lists.

Parameters
array$licenseStatements
array$mainLicenseStatements
int$uploadId
int$groupId
Returns
array [obligations, whitelist]

Definition at line 63 of file ObligationsGetter.php.

Fossology\Lib\Report\ObligationsGetter::groupObligations (   $obligations,
  $uploadId 
)

Group obligations based on $groupBy.

Parameters
array$obligations
Returns
array

Definition at line 125 of file ObligationsGetter.php.

Member Data Documentation

ClearingDao Fossology\Lib\Report\ObligationsGetter::$clearingDao
private

ClearingDao object

Definition at line 39 of file ObligationsGetter.php.

LicenseDao Fossology\Lib\Report\ObligationsGetter::$licenseDao
private

LicenseDao object

Definition at line 34 of file ObligationsGetter.php.

UploadDao Fossology\Lib\Report\ObligationsGetter::$uploadDao
private

UploadDao object

Definition at line 44 of file ObligationsGetter.php.


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