Class UIValidationStatus

java.lang.Object
wt.fc.EnumeratedType
com.ptc.core.ui.validation.UIValidationStatus
All Implemented Interfaces:
Serializable, Comparable, EnumeratedType, LocalizableMetadata, LocalizableMessage, Message

public class UIValidationStatus extends EnumeratedType implements Serializable
This EnumeratedType sub-class contains a set of statuses that can be used to indicate an action's or a component's availability/visibility/permission in the UI.

Supported API: true

Extendable: false
See Also:
  • Field Details

    • DENIED

      public static final UIValidationStatus DENIED
      This status should be used to indicate that a user is not allowed to perform an action they have tried to execute in the UI.

      Supported API: true
    • DISABLED

      public static final UIValidationStatus DISABLED
      This status should be used to indicate that a given action or component is visible in the UI, but can not be edited or selected.

      Supported API: true
    • ENABLED

      public static final UIValidationStatus ENABLED
      This status should be used to indicate that a given action or component is visible in the UI, and can be edited or selected.

      Supported API: true
    • HIDDEN

      public static final UIValidationStatus HIDDEN
      This status should be used to indicate that a given action or component is not visible in the UI, and thereforecan not be edited or selected.

      Supported API: true
    • PERMITTED

      public static final UIValidationStatus PERMITTED
      This status should be used to indicate that a user is allowed to perform an action they have tried to execute in the UI.

      Supported API: true
    • ATTR_HIDDEN

      public static final UIValidationStatus ATTR_HIDDEN
      This status should be used to indicate that an attribute's name and value should be hidden to to a user in the UI.

      Supported API: true
    • ATTR_HIDDEN_VALUE

      public static final UIValidationStatus ATTR_HIDDEN_VALUE
      This status should be used to indicate that an attribute's value (but not its name) should be hidden to to a user in the UI.

      Supported API: true
  • Method Details

    • toUIValidationStatus

      public static UIValidationStatus toUIValidationStatus(String internal_value) throws WTInvalidParameterException
      Returns the UIValidationStatus instance for the internal_value argument.

      Supported API: true
      Parameters:
      internal_value - The internal (persistent) value for a valid instance of UIValidationStatus.
      Returns:
      UIValidationStatus
      Throws:
      WTInvalidParameterException
    • getUIValidationStatusDefault

      public static UIValidationStatus getUIValidationStatusDefault()
      Returns the default value (instance) for the UIValidationStatus set.

      Supported API: true
      Returns:
      UIValidationStatus
    • getUIValidationStatusSet

      public static UIValidationStatus[] getUIValidationStatusSet()
      Returns a copy of the set of valid values (instances) for the UIValidationStatus class.

      Supported API: true
      Returns:
      UIValidationStatus[]
    • getValueSet

      public EnumeratedType[] getValueSet()
      Returns a copy of the set of valid values (instances) for this instance, for the current user locale.

      Supported API: true
      Specified by:
      getValueSet in class EnumeratedType
      Returns:
      EnumeratedType[]