Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.bizapp.explorer.types
Class GroupItemType

java.lang.Object
  extended by org.hyperic.hq.bizapp.explorer.types.GroupItemType
All Implemented Interfaces:
ExplorerItemType

public class GroupItemType
extends java.lang.Object
implements ExplorerItemType

Represents a single group and has no children.


Field Summary
static java.lang.String CODE_PREFIX
           
static java.lang.String NAME
           
 
Constructor Summary
GroupItemType()
           
 
Method Summary
 java.util.List getAdoptedChildren(ExplorerContext ctx, ExplorerItem parent)
          Get children which this type thinks belong to the parent.
 ExplorerItem getChild(ExplorerContext ctx, ExplorerItem parent, java.lang.String code)
          Get a single child, by code.
 java.lang.String getName()
          Get a short string identifying the item type.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values

CODE_PREFIX

public static final java.lang.String CODE_PREFIX
See Also:
Constant Field Values
Constructor Detail

GroupItemType

public GroupItemType()
Method Detail

getName

public java.lang.String getName()
Description copied from interface: ExplorerItemType
Get a short string identifying the item type. Can be used when unregistering item types in the ExplorerManager

Specified by:
getName in interface ExplorerItemType

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getAdoptedChildren

public java.util.List getAdoptedChildren(ExplorerContext ctx,
                                         ExplorerItem parent)
Description copied from interface: ExplorerItemType
Get children which this type thinks belong to the parent. This is useful for plugins who wish to be displayed as children of an item, without the item knowing about the child's existence prior.

Specified by:
getAdoptedChildren in interface ExplorerItemType
See Also:
ExplorerManager.findAllChildren(ExplorerContext, ExplorerItem)

getChild

public ExplorerItem getChild(ExplorerContext ctx,
                             ExplorerItem parent,
                             java.lang.String code)
Description copied from interface: ExplorerItemType
Get a single child, by code. Allows for an optimized searching when looking for a single node (don't have to look everything up via getChildren())

Specified by:
getChild in interface ExplorerItemType

Hyperic HQ Plugin API v. 4.4.0.2

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.