Package org.nuxeo.ecm.core.schema
Class PropertyDeprecationHandler
java.lang.Object
org.nuxeo.ecm.core.schema.PropertyDeprecationHandler
Deprecated.
Handler used to test if a specific property is marked as deprecated/removed and to get its fallback.
- Since:
- 9.2
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetFallback
(String schema, String name) Deprecated.getProperties
(String schema) Deprecated.Returned properties are a path to marked property.boolean
hasMarkedProperties
(String schema) Deprecated.boolean
Deprecated.
-
Field Details
-
properties
Deprecated.Deprecated/removed properties map, its mapping is:schemaName -> propertyXPath -> fallbackXPath
-
-
Constructor Details
-
PropertyDeprecationHandler
Deprecated.
-
-
Method Details
-
hasMarkedProperties
Deprecated.- Returns:
- true if the input property has deprecated/removed property
-
getProperties
Deprecated.Returned properties are a path to marked property.- Returns:
- the deprecated/removed properties for input schema or an empty set if schema doesn't have marked properties
-
isMarked
Deprecated.- Returns:
- true if the input property is marked as deprecated/removed
-
getFallback
Deprecated.- Returns:
- the fallback of input property, if it is marked as deprecated/removed and has a fallback
-
PropertyCharacteristicHandler
service instead