Public Member Functions | Static Public Member Functions

cern.laser.client.impl.services.browsing.CategoryBrowsingHandlerImpl Class Reference

Inheritance diagram for cern.laser.client.impl.services.browsing.CategoryBrowsingHandlerImpl:
cern.laser.client.services.browsing.CategoryBrowsingHandler

List of all members.

Public Member Functions

 CategoryBrowsingHandlerImpl (ORB orb, AcsLogger logger) throws LaserConnectionException
Category getCategoryByPath (String path) throws LaserException
Category getCategoryTreeRoot () throws LaserException
Collection getChildren (Category node) throws LaserException
Collection getChildren (Integer nodeId) throws LaserException
Category getParent (Category node) throws LaserException
Category getParent (Integer nodeId) throws LaserException
Collection getCategories () throws LaserException

Static Public Member Functions

static Collection toBusinessCategoryCollection (alma.alarmsystem.Category[] cs)

Constructor & Destructor Documentation

cern.laser.client.impl.services.browsing.CategoryBrowsingHandlerImpl.CategoryBrowsingHandlerImpl ( ORB  orb,
AcsLogger  logger 
) throws LaserConnectionException

Member Function Documentation

Collection cern.laser.client.impl.services.browsing.CategoryBrowsingHandlerImpl.getCategories (  )  throws LaserException [virtual]

Get all the defined categories.

Exceptions:
LaserException if the request can not be served
Returns:
the defined category collection

Implements cern.laser.client.services.browsing.CategoryBrowsingHandler.

References cern.laser.client.impl.services.browsing.CategoryBrowsingHandlerImpl.toBusinessCategoryCollection().

Category cern.laser.client.impl.services.browsing.CategoryBrowsingHandlerImpl.getCategoryByPath ( String  path  )  throws LaserException [virtual]

Get the category.

Parameters:
path the category path in the form name.name....name
Exceptions:
LaserException if the request can not be served
Returns:
the category object, null if the category does not exist

Implements cern.laser.client.services.browsing.CategoryBrowsingHandler.

Category cern.laser.client.impl.services.browsing.CategoryBrowsingHandlerImpl.getCategoryTreeRoot (  )  throws LaserException [virtual]

Get the category tree root.

Exceptions:
LaserException if the request can not be served
Returns:
the category tree root object

Implements cern.laser.client.services.browsing.CategoryBrowsingHandler.

Collection cern.laser.client.impl.services.browsing.CategoryBrowsingHandlerImpl.getChildren ( Integer  nodeId  )  throws LaserException [virtual]

Get the category children.

Parameters:
nodeId the category parent identifier
Exceptions:
LaserException if the request can not be served
Returns:
the category children collection

Implements cern.laser.client.services.browsing.CategoryBrowsingHandler.

References cern.laser.client.impl.services.browsing.CategoryBrowsingHandlerImpl.toBusinessCategoryCollection().

Collection cern.laser.client.impl.services.browsing.CategoryBrowsingHandlerImpl.getChildren ( Category  node  )  throws LaserException [virtual]

Get the category children.

Parameters:
node the category parent
Exceptions:
LaserException if the request can not be served
Returns:
the category children collection

Implements cern.laser.client.services.browsing.CategoryBrowsingHandler.

Category cern.laser.client.impl.services.browsing.CategoryBrowsingHandlerImpl.getParent ( Integer  nodeId  )  throws LaserException [virtual]

Get the category parent.

Parameters:
nodeId the category identifier
Exceptions:
LaserException if the request can not be served
Returns:
the parent category, null if the category is the root category

Implements cern.laser.client.services.browsing.CategoryBrowsingHandler.

Category cern.laser.client.impl.services.browsing.CategoryBrowsingHandlerImpl.getParent ( Category  node  )  throws LaserException [virtual]

Get the category parent.

Parameters:
node the category
Exceptions:
LaserException if the request can not be served
Returns:
the parent category, null if the category is the root category

Implements cern.laser.client.services.browsing.CategoryBrowsingHandler.

static Collection cern.laser.client.impl.services.browsing.CategoryBrowsingHandlerImpl.toBusinessCategoryCollection ( alma.alarmsystem.Category[]  cs  )  [static]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties