| 
|   | __construct ($agent_pk, $userDao, $licenseDao, $clearingDao, $copyrightDao, $dbManager, $groupId, $userId, $jobId, $configuration) | 
|   | 
|   | handleData ($data) | 
|   | 
|   | getIdForDataItemOrCreateLicense ($dataItem, $groupId) | 
|   | 
| 
  | insertFoundCopyrightTextsToDB ($copyrightTexts, $entries) | 
|   | 
| 
  | insertFoundCopyrightTextToDB ($copyrightText, $entries) | 
|   | 
 | 
| 
  | $dbManager | 
|   | 
| 
  | $agent_pk = -1 | 
|   | 
| 
  | $groupId = -1 | 
|   | 
| 
  | $userId = -1 | 
|   | 
| 
  | $jobId = -1 | 
|   | 
| 
  | $nserIsAdmin = false | 
|   | 
| 
  | $configuration | 
|   | 
 | 
| 
  | $userDao | 
|   | 
| 
  | $licenseDao | 
|   | 
| 
  | $clearingDao | 
|   | 
| 
  | $copyrightDao | 
|   | 
Definition at line 20 of file ReportImportSink.php.
 
◆ __construct()
      
        
          | Fossology\ReportImport\ReportImportSink::__construct  | 
          ( | 
            | 
          $agent_pk,  | 
        
        
           | 
           | 
            | 
          $userDao,  | 
        
        
           | 
           | 
            | 
          $licenseDao,  | 
        
        
           | 
           | 
            | 
          $clearingDao,  | 
        
        
           | 
           | 
            | 
          $copyrightDao,  | 
        
        
           | 
           | 
            | 
          $dbManager,  | 
        
        
           | 
           | 
            | 
          $groupId,  | 
        
        
           | 
           | 
            | 
          $userId,  | 
        
        
           | 
           | 
            | 
          $jobId,  | 
        
        
           | 
           | 
            | 
          $configuration  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
ReportImportSink constructor. 
- Parameters
 - 
  
    | $agent_pk |  | 
    | $userDao |  | 
    | $licenseDao |  | 
    | $clearingDao |  | 
    | $copyrightDao |  | 
    | $dbManager |  | 
    | $groupId |  | 
    | $userId |  | 
    | $jobId |  | 
    | $configuration |  | 
  
   
Definition at line 61 of file ReportImportSink.php.
 
 
◆ getIdForDataItemOrCreateLicense()
      
        
          | Fossology\ReportImport\ReportImportSink::getIdForDataItemOrCreateLicense  | 
          ( | 
            | 
          $dataItem,  | 
        
        
           | 
           | 
            | 
          $groupId  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ handleData()
      
        
          | Fossology\ReportImport\ReportImportSink::handleData  | 
          ( | 
            | 
          $data | ) | 
           | 
        
      
 
 
◆ insertLicenseInformationToDB()
  
  
      
        
          | Fossology\ReportImport\ReportImportSink::insertLicenseInformationToDB  | 
          ( | 
            | 
          $licensePKsInFile,  | 
         
        
           | 
           | 
            | 
          $licensePKsConcluded,  | 
         
        
           | 
           | 
            | 
          $pfiles  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
private   | 
  
 
- Parameters
 - 
  
    | array | $licensePKsInFile |  | 
    | array | $licensePKsConcluded |  | 
    | array | $pfiles |  | 
  
   
Definition at line 195 of file ReportImportSink.php.
 
 
◆ saveAsDecisionToDB()
  
  
      
        
          | Fossology\ReportImport\ReportImportSink::saveAsDecisionToDB  | 
          ( | 
            | 
          $addLicenseIds,  | 
         
        
           | 
           | 
            | 
          $removeLicenseIds,  | 
         
        
           | 
           | 
            | 
          $pfiles  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
private   | 
  
 
- Parameters
 - 
  
    | array | $addLicenseIds |  | 
    | array | $removeLicenseIds |  | 
    | array | $pfiles |  | 
  
   
Definition at line 226 of file ReportImportSink.php.
 
 
◆ saveAsLicenseFindingToDB()
  
  
      
        
          | Fossology\ReportImport\ReportImportSink::saveAsLicenseFindingToDB  | 
          ( | 
            | 
          $licenseIds,  | 
         
        
           | 
           | 
            | 
          $pfiles  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
private   | 
  
 
 
The documentation for this class was generated from the following file: