Package org.nuxeo.ecm.core.schema
Class PropertyDeprecationHandler
- java.lang.Object
-
- org.nuxeo.ecm.core.schema.PropertyDeprecationHandler
-
@Deprecated(since="11.1") public class PropertyDeprecationHandler extends Object
Deprecated.since 11.1, usePropertyCharacteristicHandler
service insteadHandler used to test if a specific property is marked as deprecated/removed and to get its fallback.- Since:
- 9.2
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getFallback(String schema, String name)
Deprecated.Set<String>
getProperties(String schema)
Deprecated.Returned properties are a path to marked property.boolean
hasMarkedProperties(String schema)
Deprecated.boolean
isMarked(String schema, String name)
Deprecated.
-
-
-
Method Detail
-
hasMarkedProperties
public boolean hasMarkedProperties(String schema)
Deprecated.- Returns:
- true if the input property has deprecated/removed property
-
getProperties
public Set<String> getProperties(String schema)
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
public boolean isMarked(String schema, String name)
Deprecated.- Returns:
- true if the input property is marked as deprecated/removed
-
-