public interface Item
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
rcs_id |
Modifier and Type | Method and Description |
---|---|
java.util.Collection |
getChildren()
Get (optionally cached) collection of child items
- equivalent to getChildren(false)
|
java.util.Collection |
getChildren(boolean refresh)
Get (optionally cached) collection of child items
|
java.util.List |
getCommands()
Get list of commands available for the current object
|
Command |
getDefaultCommand() |
java.lang.String |
getImageURL()
Get URL of icon to be used for rendering of item.
|
Item |
getItem() |
java.util.Locale |
getLocale()
Get Locale
|
java.lang.String |
getName()
Get localized name of item
|
boolean |
hasChildren() |
boolean |
mayHaveChildren()
Check whether this node may have children
|
static final java.lang.String rcs_id
java.lang.String getName() throws java.lang.Exception
java.lang.Exception
java.lang.String getImageURL() throws java.lang.Exception
java.lang.Exception
java.util.List getCommands()
Command getDefaultCommand()
java.util.Locale getLocale()
Item getItem()
boolean mayHaveChildren()
boolean hasChildren() throws java.lang.Exception
java.lang.Exception
java.util.Collection getChildren() throws java.lang.Exception
java.lang.Exception
java.util.Collection getChildren(boolean refresh) throws java.lang.Exception
refresh
- if true, recomputation of child nodes is enforcedjava.lang.Exception