Package com.hybris.backoffice.actionbar
Interface ActionDefinition
-
- All Superinterfaces:
java.io.Serializable
- All Known Subinterfaces:
NavigationNode
- All Known Implementing Classes:
DefaultActionDefinition,DynamicNode,NavigationNodeDecorator,SimpleNode,TypeNode
public interface ActionDefinition extends java.io.SerializableDefinition of single action on toolbar. The typical implementation could be a simple POJO.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.lang.StringgetDescription()Returns the description of the node.java.lang.StringgetDescriptionLocKey()Returns the localization key for the description of the node.default java.lang.StringgetGroup()Returns a group name for a node.java.lang.StringgetIconUri()Returns the icon URI of the node.java.lang.StringgetIconUriLocKey()Returns the localization key for the icon URI of the node.java.lang.StringgetId()Returns the ID of the node.java.lang.StringgetName()Returns the name of the node.java.lang.StringgetNameLocKey()Returns the localization key for the name of the node.
-
-
-
Method Detail
-
getId
java.lang.String getId()
Returns the ID of the node. Should be unique within the tree structure.- Returns:
- ID of the node
-
getNameLocKey
java.lang.String getNameLocKey()
Returns the localization key for the name of the node. This will be used to get the localized name of the node in the current Locale. If this isnullthengetName()is used as the node name.
-
getName
java.lang.String getName()
Returns the name of the node. This is only used as a node name if the localization key for the node name is not set (seegetNameLocKey()).- Returns:
- the name of the node
- See Also:
getNameLocKey()
-
getDescriptionLocKey
java.lang.String getDescriptionLocKey()
Returns the localization key for the description of the node. This will be used to get the localized description of the node in the current Locale. If this isnullthengetDescription()is used as the node description.- Returns:
- localization key for the description of the node or
nullifgetDescription()is should be used as the node description - See Also:
getDescription()
-
getDescription
java.lang.String getDescription()
Returns the description of the node. This is only used as a node description if the localization key for the node description is not set (seegetDescriptionLocKey()).- Returns:
- the description of the node
- See Also:
getDescriptionLocKey()
-
getIconUriLocKey
java.lang.String getIconUriLocKey()
Returns the localization key for the icon URI of the node. This will be used to get the localized icon URI of the node in the current Locale. If this isnullthengetIconUri()is used as the node description.- Returns:
- localization key for the icon URI of the node or
nullifgetIconUri()is should be used as the node icon URI - See Also:
getIconUri()
-
getIconUri
java.lang.String getIconUri()
Returns the icon URI of the node. This is only used as a node icon URI if the localization key for the node icon URI is not set (seegetIconUriLocKey()).- Returns:
- the icon URI of the node
- See Also:
getIconUriLocKey()
-
getGroup
default java.lang.String getGroup()
Returns a group name for a node.Interpretation of group depends totally on toolbar's implementation.
- Returns:
- name of group or
nullif not applicable
-
-