Package org.nuxeo.ecm.core.schema
Interface PropertyCharacteristicHandler
- All Known Subinterfaces:
SchemaManager
- All Known Implementing Classes:
SchemaManagerImpl
public interface PropertyCharacteristicHandler
Handler used to provide property's characteristics.
- Since:
- 11.1
-
Method Summary
Modifier and TypeMethodDescriptiongetDeprecatedProperties(String schema) The returned paths are not Nuxeo xpath as they don't have the schema prefix.getFallback(String schema, String path) Returns the fallback associated to this property if exist.getIndexedProperties(String schema) Returns the indexed property paths.getRemovedProperties(String schema) The returned paths are not Nuxeo xpath as they don't have the schema prefix.The returned paths are not Nuxeo xpath as they don't have the schema prefix.getRetainableProperties(String schema) The returned paths are not Nuxeo xpath as they don't have the schema prefix.booleanisDeprecated(String schema, String path) Checks if the property represented by the givenschemaandpathis deprecated.booleanChecks if the property represented by the givenschemaandpathis removed.booleanChecks if the property represented by the givenschemaandpathis secured.
-
Method Details
-
isSecured
Checks if the property represented by the givenschemaandpathis secured.- Parameters:
schema- the schema namepath- the property path to test- Returns:
- whether or not the given property is secured (ie: only administrators can edit it)
-
isDeprecated
Checks if the property represented by the givenschemaandpathis deprecated.- Parameters:
schema- the schema name (not the prefix)path- the property path to test- Returns:
- whether or not this property is marked as deprecated
-
isRemoved
Checks if the property represented by the givenschemaandpathis removed.- Parameters:
schema- the schema name (not the prefix)path- the property path to test- Returns:
- whether or not this property is marked as removed
-
getDeprecatedProperties
The returned paths are not Nuxeo xpath as they don't have the schema prefix.- Parameters:
schema- the schema name (not the prefix)- Returns:
- a
Setholding the deprecated property path
-
getRemovedProperties
The returned paths are not Nuxeo xpath as they don't have the schema prefix.- Parameters:
schema- the schema name (not the prefix)- Returns:
- a
Setholding the removed property path
-
getRetainableProperties
The returned paths are not Nuxeo xpath as they don't have the schema prefix.- Returns:
- a
Setholding the retainable property path - Since:
- 2023
-
getRetainableProperties
The returned paths are not Nuxeo xpath as they don't have the schema prefix.- Parameters:
schema- the schema name (not the prefix)- Returns:
- a
Setholding the retainable property path - Since:
- 2023
-
getFallback
Returns the fallback associated to this property if exist. Fallbacks exist when property is deprecated or removed.- Parameters:
schema- the schema name (not the prefix)path- the property path to test- Returns:
- fallback associated to this property if exist
-
getIndexedProperties
Returns the indexed property paths.The returned paths are not Nuxeo xpath as they don't have the schema prefix.
- Parameters:
schema- the schema name (not the prefix)- Returns:
- a
Listholding the indexed property paths. - Since:
- 2021.8
-