Class WizardUtils
java.lang.Object
de.hybris.platform.cockpit.wizards.WizardUtils
This class contains some useful methods that can be used when working with wizards
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetObjectTextLabel(TypedObject object) Returns the label for the typed object provided by the labelService from the current UISession.static StringgetObjectTextLabel(TypedObject object, UISession session) Returns the label for the typed object provided by the labelService from the given UISession.static booleanisLocalValueEmpty(Object localValue) Method for checking value from value handler, allows to avoid overwriting original value with default value
-
Constructor Details
-
WizardUtils
public WizardUtils()
-
-
Method Details
-
getObjectTextLabel
Returns the label for the typed object provided by the labelService from the current UISession. Must be invoked from within a cockpit environment -
getObjectTextLabel
Returns the label for the typed object provided by the labelService from the given UISession. -
isLocalValueEmpty
Method for checking value from value handler, allows to avoid overwriting original value with default value- Parameters:
localValue- local value taken from value handler- Returns:
- true if value is null or empty, otherwise false
-