![]() |
FOSSology
4.5.1
Open Source License Compliance by Open Source Software
|


Public Attributes | |
| const | NAME = "admin_license_compatibility_rules" |
| const | UPDATE_PARAM_NAME = "formUpdated" |
| const | RULE_ID_PARAM_NAME = "licenseRuleLrPK" |
| const | INSERT_FIRST_LIC_TYPE_PARAM_NAME = "insertFirstLicType" |
| const | FIRST_LIC_TYPE_PARAM_NAME = "firstLicenseType" |
| const | INSERT_SECOND_LIC_TYPE_PARAM_NAME = "insertSecondLicType" |
| const | SECOND_LIC_TYPE_PARAM_NAME = "secondLicenseType" |
| const | INSERT_FIRST_LIC_NAME_PARAM_NAME = "insertFirstLicName" |
| const | FIRST_LIC_NAME_PARAM_NAME = "firstLicenseName" |
| const | INSERT_SECOND_LIC_NAME_PARAM_NAME = "insertSecondLicName" |
| const | SECOND_LIC_NAME_PARAM_NAME = "secondLicenseName" |
| const | INSERT_TEXT_PARAM_NAME = "insertLicRuleText" |
| const | TEXT_PARAM_NAME = "licenseRuleText" |
| const | INSERT_RESULT_PARAM_NAME = "insertLicCompatibilityResult" |
| const | RESULT_PARAM_NAME = "licCompatibilityResult" |
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" |
| $fileLogger | |
Protected Member Functions | |
| handle (Request $request) | |
Protected Member Functions inherited from Fossology\Lib\Plugin\DefaultPlugin | |
| RegisterMenus () | |
| Customize submenus. | |
| render ($templateName, $vars=null, $headers=null) | |
| getDefaultHeaders () | |
| getDefaultVars () | |
| mergeWithDefault ($vars) | |
| flushContent ($content) | |
Private Member Functions | |
| fetchLicenseData () | |
| Fetch the available license data. More... | |
| fetchRules (Request $request) | |
| Fetch the compatibility rules based on search query and pagination. More... | |
| addRule () | |
| Add a new empty compatibility rule. More... | |
| updateRules (Request $request) | |
| Update the already existing rules. More... | |
| insertRules ($firstNameArray, $secondNameArray, $firstTypeArray, $secondTypeArray, $commentArray, $resultArray) | |
| Insert new rules from the UI. More... | |
| deleteRules (Request $request) | |
| Delete a rule from the UI. More... | |
Private Attributes | |
| $compatibilityDao | |
| $licenseDao | |
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 () | |
Protected Attributes inherited from Fossology\Lib\Plugin\DefaultPlugin | |
| $container | |
| $renderer | |
| $microMenu | |
Page to allow users to manage the license compatibility rules.
Definition at line 26 of file AdminLicenseCompatibilityRules.php.
|
private |
Add a new empty compatibility rule.
Definition at line 243 of file AdminLicenseCompatibilityRules.php.
|
private |
Delete a rule from the UI.
| Request | $request |
Definition at line 403 of file AdminLicenseCompatibilityRules.php.
|
private |
Fetch the available license data.
Definition at line 191 of file AdminLicenseCompatibilityRules.php.
|
private |
Fetch the compatibility rules based on search query and pagination.
| Request | $request | The request containing query parameters for pagination and search |
Definition at line 217 of file AdminLicenseCompatibilityRules.php.
|
protected |
| Request | $request |
Reimplemented from Fossology\Lib\Plugin\DefaultPlugin.
Definition at line 148 of file AdminLicenseCompatibilityRules.php.
|
private |
Insert new rules from the UI.
| array | $firstNameArray | |
| array | $secondNameArray | |
| array | $firstTypeArray | |
| array | $secondTypeArray | |
| array | $commentArray | |
| array | $resultArray |
Definition at line 354 of file AdminLicenseCompatibilityRules.php.
|
private |
Update the already existing rules.
| Request | $request |
Definition at line 257 of file AdminLicenseCompatibilityRules.php.
|
private |
Compatibility DAO in use
Definition at line 123 of file AdminLicenseCompatibilityRules.php.
|
private |
License DAO in use
Definition at line 129 of file AdminLicenseCompatibilityRules.php.
| string Fossology\UI\Page\AdminLicenseCompatibilityRules::FIRST_LIC_NAME_PARAM_NAME = "firstLicenseName" |
Parameter storing the license name
Definition at line 81 of file AdminLicenseCompatibilityRules.php.
| string Fossology\UI\Page\AdminLicenseCompatibilityRules::FIRST_LIC_TYPE_PARAM_NAME = "firstLicenseType" |
Parameter storing the license type
Definition at line 57 of file AdminLicenseCompatibilityRules.php.
| string Fossology\UI\Page\AdminLicenseCompatibilityRules::INSERT_FIRST_LIC_NAME_PARAM_NAME = "insertFirstLicName" |
Parameter storing the new license name
Definition at line 75 of file AdminLicenseCompatibilityRules.php.
| string Fossology\UI\Page\AdminLicenseCompatibilityRules::INSERT_FIRST_LIC_TYPE_PARAM_NAME = "insertFirstLicType" |
Parameter storing the new license type
Definition at line 51 of file AdminLicenseCompatibilityRules.php.
| string Fossology\UI\Page\AdminLicenseCompatibilityRules::INSERT_RESULT_PARAM_NAME = "insertLicCompatibilityResult" |
Parameter storing the new compatibility result
Definition at line 111 of file AdminLicenseCompatibilityRules.php.
| string Fossology\UI\Page\AdminLicenseCompatibilityRules::INSERT_SECOND_LIC_NAME_PARAM_NAME = "insertSecondLicName" |
Parameter storing the new license name
Definition at line 87 of file AdminLicenseCompatibilityRules.php.
| string Fossology\UI\Page\AdminLicenseCompatibilityRules::INSERT_SECOND_LIC_TYPE_PARAM_NAME = "insertSecondLicType" |
Parameter storing the new license type
Definition at line 63 of file AdminLicenseCompatibilityRules.php.
| string Fossology\UI\Page\AdminLicenseCompatibilityRules::INSERT_TEXT_PARAM_NAME = "insertLicRuleText" |
Parameter storing the new rule description
Definition at line 99 of file AdminLicenseCompatibilityRules.php.
| string Fossology\UI\Page\AdminLicenseCompatibilityRules::NAME = "admin_license_compatibility_rules" |
Mod name
Definition at line 33 of file AdminLicenseCompatibilityRules.php.
| string Fossology\UI\Page\AdminLicenseCompatibilityRules::RESULT_PARAM_NAME = "licCompatibilityResult" |
Parameter storing the compatibility result
Definition at line 117 of file AdminLicenseCompatibilityRules.php.
| string Fossology\UI\Page\AdminLicenseCompatibilityRules::RULE_ID_PARAM_NAME = "licenseRuleLrPK" |
Parameter storing the rule IDs
Definition at line 45 of file AdminLicenseCompatibilityRules.php.
| string Fossology\UI\Page\AdminLicenseCompatibilityRules::SECOND_LIC_NAME_PARAM_NAME = "secondLicenseName" |
Parameter storing the license name
Definition at line 93 of file AdminLicenseCompatibilityRules.php.
| string Fossology\UI\Page\AdminLicenseCompatibilityRules::SECOND_LIC_TYPE_PARAM_NAME = "secondLicenseType" |
Parameter storing the license type
Definition at line 69 of file AdminLicenseCompatibilityRules.php.
| string Fossology\UI\Page\AdminLicenseCompatibilityRules::TEXT_PARAM_NAME = "licenseRuleText" |
Parameter storing the rule description
Definition at line 105 of file AdminLicenseCompatibilityRules.php.
| string Fossology\UI\Page\AdminLicenseCompatibilityRules::UPDATE_PARAM_NAME = "formUpdated" |
Name of the parameter to denote form submit
Definition at line 39 of file AdminLicenseCompatibilityRules.php.