Class AbstractObjectEnumFactory
java.lang.Object
com.polarion.platform.persistence.spi.AbstractObjectEnumFactory
- All Implemented Interfaces:
IEnumFactory
,IEnumObjectFactory
- Since:
- 3.6.3
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionextractValueFromEnumId
(String enumId) Extracts argument from enumeration ID.static Properties
getExtendedProperties
(IPObject pObject, String iconUrl, String uiLink) Returns properties object with values extracted from given arguments.static boolean
isNullOrUnresolvable
(IPObject pObject) Checks if givenIPObject
is null or unresolvable.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.polarion.platform.persistence.IEnumFactory
getEnumeration
Methods inherited from interface com.polarion.platform.persistence.IEnumObjectFactory
getEnumOptionPrototypes, getName, getOptionalFieldName
-
Field Details
-
DEFAULT_LINK_ICON
- See Also:
-
-
Constructor Details
-
AbstractObjectEnumFactory
public AbstractObjectEnumFactory()
-
-
Method Details
-
extractValueFromEnumId
Extracts argument from enumeration ID.- Since:
- 3.9.1
-
getExtendedProperties
@NotNull public static Properties getExtendedProperties(@Nullable IPObject pObject, @Nullable String iconUrl, @Nullable String uiLink) Returns properties object with values extracted from given arguments. Properties object can contain following valuesIEnumOption.PROPERTY_KEY_URI
,IEnumOption.PROPERTY_KEY_ICON_URL
,IEnumOption.PROPERTY_KEY_UI_LINK
.- Since:
- 3.9.1
-
isNullOrUnresolvable
Checks if givenIPObject
is null or unresolvable.- Since:
- 3.9.1
-