FOSSology  3.2.0rc1
Open Source License Compliance by Open Source Software
Fossology\UI\Ajax\AjaxExplorer Class Reference
Inheritance diagram for Fossology\UI\Ajax\AjaxExplorer:
Inheritance graph
Collaboration diagram for Fossology\UI\Ajax\AjaxExplorer:
Collaboration graph

Public Attributes

const NAME = "ajax_explorer"
 
- Public Attributes inherited from Fossology\Lib\Plugin\DefaultPlugin
const PERMISSION = "permission"
 
const REQUIRES_LOGIN = "requiresLogin"
 
const ENABLE_MENU = "ENABLE_MENU"
 
const LEVEL = "level"
 
const DEPENDENCIES = "dependencies"
 
const INIT_ORDER = "initOrder"
 
const MENU_LIST = "menuList"
 
const MENU_ORDER = "menuOrder"
 
const MENU_TARGET = "menuTarget"
 
const TITLE = "title"
 

Protected Member Functions

 handle (Request $request)
 
- Protected Member Functions inherited from Fossology\Lib\Plugin\DefaultPlugin
 RegisterMenus ()
 Customize submenus.
 
 handle (Request $request)
 
 render ($templateName, $vars=null, $headers=null)
 
 getDefaultHeaders ()
 
 getDefaultVars ()
 
 mergeWithDefault ($vars)
 
 flushContent ($content)
 

Protected Attributes

 $agentNames = AgentRef::AGENT_LIST
 
- Protected Attributes inherited from Fossology\Lib\Plugin\DefaultPlugin
 $container
 
 $renderer
 
 $microMenu
 

Private Member Functions

 createFileListing ($tagId, ItemTreeBounds $itemTreeBounds, &$UniqueTagArray, $selectedAgentId, $groupId, $scanJobProxy)
 
 updateTheFindingsAndDecisions ($agentIds, $isFlat, $groupId, &$editedMappedLicenses, $itemTreeBounds, $nameRange=array())
 Fetch the license findings and decisions. More...
 

Private Attributes

 $uploadtree_tablename = ""
 
 $uploadDao
 
 $licenseDao
 
 $clearingDao
 
 $agentDao
 
 $clearingFilter
 
 $licenseProjector
 
 $filesThatShouldStillBeCleared
 
 $filesToBeCleared
 
 $alreadyClearedUploadTreeView
 
 $noLicenseUploadTreeView
 

Additional Inherited Members

- Public Member Functions inherited from Fossology\Lib\Plugin\DefaultPlugin
 __construct ($name, $parameters=array())
 
 getName ()
 
 getVersion ()
 
 getTitle ()
 
 isRequiresLogin ()
 
 getDependency ()
 
 getPluginLevel ()
 
 getDBaccess ()
 
 getState ()
 
 getInitOrder ()
 
 getNoMenu ()
 
 getResponse ()
 
 getObject ($name)
 
 preInstall ()
 
 postInstall ()
 
 unInstall ()
 
 execute ()
 
 isLoggedIn ()
 
 __get ($name)
 
 __toString ()
 

Detailed Description

Definition at line 46 of file AjaxExplorer.php.

Member Function Documentation

Fossology\UI\Ajax\AjaxExplorer::createFileListing (   $tagId,
ItemTreeBounds  $itemTreeBounds,
$UniqueTagArray,
  $selectedAgentId,
  $groupId,
  $scanJobProxy 
)
private
Parameters
$tagId
ItemTreeBounds$itemTreeBounds
$UniqueTagArray
$selectedAgentId
int$groupId
ScanJobProxy$scanJobProxy
Returns
array

change the license result when selecting one version of nomos

Definition at line 155 of file AjaxExplorer.php.

Fossology\UI\Ajax\AjaxExplorer::handle ( Request  $request)
protected
Parameters
Request$request
Returns
Response

Definition at line 111 of file AjaxExplorer.php.

Fossology\UI\Ajax\AjaxExplorer::updateTheFindingsAndDecisions (   $agentIds,
  $isFlat,
  $groupId,
$editedMappedLicenses,
  $itemTreeBounds,
  $nameRange = array() 
)
private

Fetch the license findings and decisions.

Parameters
array$agentIdsMap of agents run on the upload (with agent name as key and id as value)
boolean$isFlatIs the flat view required?
integer$groupIdThe user group
[in,out]array$editedMappedLicensesMap of decisions
ItemTreeBounds$itemTreeBoundsThe current item tree bound
array$nameRangeThe name range for current view
Returns
array Array of license findings mapped as [pfile_id][license_id][agent_name] = license_findings

***** File Listing ***********

Definition at line 434 of file AjaxExplorer.php.

Member Data Documentation

UploadTreeProxy Fossology\UI\Ajax\AjaxExplorer::$alreadyClearedUploadTreeView
private

DB proxy view to hold upload tree entries for already cleared files

Definition at line 69 of file AjaxExplorer.php.

UploadTreeProxy Fossology\UI\Ajax\AjaxExplorer::$noLicenseUploadTreeView
private

DB proxy view to hold upload tree entries for files with no license

Definition at line 72 of file AjaxExplorer.php.


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