FOSSology  4.4.0
Open Source License Compliance by Open Source Software
Fossology\DecisionImporter\UI\AgentDecisionImporterPlugin Class Reference
Inheritance diagram for Fossology\DecisionImporter\UI\AgentDecisionImporterPlugin:
Inheritance graph
Collaboration diagram for Fossology\DecisionImporter\UI\AgentDecisionImporterPlugin:
Collaboration graph

Public Member Functions

 preInstall ()
 
- 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)
 
 postInstall ()
 
 unInstall ()
 
 execute ()
 
 isLoggedIn ()
 
 __get ($name)
 
 __toString ()
 

Public Attributes

const NAME = 'ui_fodecisionimporter'
 Name of the plugin.
 
- 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

 showUiToChoose ()
 
 getUpload (int $uploadId, int $groupId)
 
- 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)
 

Private Attributes

 $uploadDao
 
 $folderDao
 
 $userDao
 

Additional Inherited Members

- Protected Attributes inherited from Fossology\Lib\Plugin\DefaultPlugin
 $container
 
 $renderer
 
 $microMenu
 

Detailed Description

Decision importer agent's plugin to show menu and handle UI requests.

Definition at line 29 of file AgentDecisionImporterPlugin.php.

Member Function Documentation

◆ getUpload()

Fossology\DecisionImporter\UI\AgentDecisionImporterPlugin::getUpload ( int  $uploadId,
int  $groupId 
)
protected

Get an upload from ID if accessible.

Parameters
int$uploadIdUpload to get
int$groupIdGroup to get upload from
Returns
Upload Upload if accessible
Exceptions
ExceptionIf upload not accessible or not found.

Definition at line 204 of file AgentDecisionImporterPlugin.php.

◆ showUiToChoose()

Fossology\DecisionImporter\UI\AgentDecisionImporterPlugin::showUiToChoose ( )
protected

Show to UI to upload report JSON

Returns
Response

Definition at line 100 of file AgentDecisionImporterPlugin.php.


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