Package com.ptc.core.ui.validation
Class UIValidationStatus
java.lang.Object
wt.fc.EnumeratedType
com.ptc.core.ui.validation.UIValidationStatus
- All Implemented Interfaces:
Serializable,Comparable,EnumeratedType,LocalizableMetadata,LocalizableMessage,Message
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
Supported API: true
Extendable: false
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final UIValidationStatusThis status should be used to indicate that an attribute's name and value should be hidden to to a user in the UI.static final UIValidationStatusThis 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.static final UIValidationStatusThis status should be used to indicate that a user is not allowed to perform an action they have tried to execute in the UI.static final UIValidationStatusThis status should be used to indicate that a given action or component is visible in the UI, but can not be edited or selected.static final UIValidationStatusThis status should be used to indicate that a given action or component is visible in the UI, and can be edited or selected.static final UIValidationStatusThis 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.static final UIValidationStatusThis status should be used to indicate that a user is allowed to perform an action they have tried to execute in the UI.Fields inherited from interface wt.meta.EnumeratedType
DEFAULT_VALUE, ORDER, SELECTABLE -
Method Summary
Modifier and TypeMethodDescriptionstatic UIValidationStatusReturns the default value (instance) for the UIValidationStatus set.static UIValidationStatus[]Returns a copy of the set of valid values (instances) for the UIValidationStatus class.Returns a copy of the set of valid values (instances) for this instance, for the current user locale.static UIValidationStatustoUIValidationStatus(String internal_value) Returns the UIValidationStatus instance for the internal_value argument.Methods inherited from class wt.fc.EnumeratedType
equals, getDisplay, getLocalizedMessage, getOrder, getSelectableValueSet, getStringValue, getStringValue, hashCode, isDefaultValue, isDefaultValue, isSelectable, main, toEnumeratedType, toEnumeratedType, toString
-
Field Details
-
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
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
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
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
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
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
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
Returns the default value (instance) for the UIValidationStatus set.
Supported API: true- Returns:
- UIValidationStatus
-
getUIValidationStatusSet
Returns a copy of the set of valid values (instances) for the UIValidationStatus class.
Supported API: true- Returns:
- UIValidationStatus[]
-
getValueSet
Returns a copy of the set of valid values (instances) for this instance, for the current user locale.
Supported API: true- Specified by:
getValueSetin classEnumeratedType- Returns:
- EnumeratedType[]
-