

Public Member Functions | |
| CategoryHandler () | |
| Category | getCategoryById (Integer param) |
| Category | getCategoryByPath (String str) |
| Category | getCategoryTreeRoot () |
| java.util.Collection | getChildren (Category category) |
| java.util.Collection | getChildren (Integer nodeId) |
| Category | getParent (Category category) |
| Category | getParent (Integer param) |
| Collection | getCategories () |
Static Public Member Functions | |
| static CategoryBrowsingHandler | get () |
Static Package Functions | |
| [static initializer] | |
Static Package Attributes | |
| static Logger | logger = LogFactory.getLogger(CategoryHandler.class.getName()) |
| static Category | categoryRoot = null |
| static String | catName = "cern" |
| static String | catDesc = "Category description" |
| static int | maxCategoryCounter = 3 |
| static Map | children = null |
Static Private Attributes | |
| static CategoryBrowsingHandler | INSTANCE = null |
This class is used for test indead of business CategoryBrowsinngHandler
| cern::laser::guiplatform::category::helpers::CategoryHandler::CategoryHandler | ( | ) | [inline] |
Creates a new instance of CategoryHandler
Referenced by get().
| cern::laser::guiplatform::category::helpers::CategoryHandler::[static initializer] | ( | ) | [inline, static, package] |
| static CategoryBrowsingHandler cern::laser::guiplatform::category::helpers::CategoryHandler::get | ( | ) | [inline, static] |
Factory method.
| LaserException | if the request can not be served |
Reimplemented from cern::laser::client::services::browsing::CategoryBrowsingHandler.
References CategoryHandler(), and INSTANCE.
| Collection cern::laser::guiplatform::category::helpers::CategoryHandler::getCategories | ( | ) | [inline, virtual] |
Get all the defined categories.
| LaserException | if the request can not be served |
Implements cern::laser::client::services::browsing::CategoryBrowsingHandler.
| Category cern::laser::guiplatform::category::helpers::CategoryHandler::getCategoryById | ( | Integer | param | ) | [inline] |
| Category cern::laser::guiplatform::category::helpers::CategoryHandler::getCategoryByPath | ( | String | path | ) | [inline, virtual] |
Get the category.
| path | the category path in the form name.name....name |
| LaserException | if the request can not be served |
Implements cern::laser::client::services::browsing::CategoryBrowsingHandler.
| Category cern::laser::guiplatform::category::helpers::CategoryHandler::getCategoryTreeRoot | ( | ) | [inline, virtual] |
Get the category tree root.
| LaserException | if the request can not be served |
Implements cern::laser::client::services::browsing::CategoryBrowsingHandler.
References categoryRoot.
| java.util.Collection cern::laser::guiplatform::category::helpers::CategoryHandler::getChildren | ( | Integer | nodeId | ) | [inline, virtual] |
Get the category children.
| nodeId | the category parent identifier |
| LaserException | if the request can not be served |
Implements cern::laser::client::services::browsing::CategoryBrowsingHandler.
References children.
| java.util.Collection cern::laser::guiplatform::category::helpers::CategoryHandler::getChildren | ( | Category | node | ) | [inline, virtual] |
Get the category children.
| node | the category parent |
| LaserException | if the request can not be served |
Implements cern::laser::client::services::browsing::CategoryBrowsingHandler.
References cern::laser::client::data::Category::getCategoryId(), and logger.
| Category cern::laser::guiplatform::category::helpers::CategoryHandler::getParent | ( | Integer | nodeId | ) | [inline, virtual] |
Get the category parent.
| nodeId | the category identifier |
| LaserException | if the request can not be served |
Implements cern::laser::client::services::browsing::CategoryBrowsingHandler.
| Category cern::laser::guiplatform::category::helpers::CategoryHandler::getParent | ( | Category | node | ) | [inline, virtual] |
Get the category parent.
| node | the category |
| LaserException | if the request can not be served |
Implements cern::laser::client::services::browsing::CategoryBrowsingHandler.
String cern::laser::guiplatform::category::helpers::CategoryHandler::catDesc = "Category description" [static, package] |
Category cern::laser::guiplatform::category::helpers::CategoryHandler::categoryRoot = null [static, package] |
Referenced by getCategoryTreeRoot().
String cern::laser::guiplatform::category::helpers::CategoryHandler::catName = "cern" [static, package] |
Map cern::laser::guiplatform::category::helpers::CategoryHandler::children = null [static, package] |
Referenced by getChildren().
CategoryBrowsingHandler cern::laser::guiplatform::category::helpers::CategoryHandler::INSTANCE = null [static, private] |
Referenced by get().
Logger cern::laser::guiplatform::category::helpers::CategoryHandler::logger = LogFactory.getLogger(CategoryHandler.class.getName()) [static, package] |
logger
Referenced by getChildren().
int cern::laser::guiplatform::category::helpers::CategoryHandler::maxCategoryCounter = 3 [static, package] |
1.6.2