Class WizardUtils

java.lang.Object
de.hybris.platform.cockpit.wizards.WizardUtils

public class WizardUtils extends Object
This class contains some useful methods that can be used when working with wizards
  • Constructor Details

    • WizardUtils

      public WizardUtils()
  • Method Details

    • getObjectTextLabel

      public static String getObjectTextLabel(TypedObject object)
      Returns the label for the typed object provided by the labelService from the current UISession. Must be invoked from within a cockpit environment
    • getObjectTextLabel

      public static String getObjectTextLabel(TypedObject object, UISession session)
      Returns the label for the typed object provided by the labelService from the given UISession.
    • isLocalValueEmpty

      public static boolean isLocalValueEmpty(Object localValue)
      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