Interface PropertyCharacteristicHandler

    • Method Detail

      • isSecured

        boolean isSecured​(String schema,
                          String path)
        Checks if the property represented by the given schema and path is secured.
        Parameters:
        schema - the schema name
        path - the property path to test
        Returns:
        whether or not the given property is secured (ie: only administrators can edit it)
      • isDeprecated

        boolean isDeprecated​(String schema,
                             String path)
        Checks if the property represented by the given schema and path is 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

        boolean isRemoved​(String schema,
                          String path)
        Checks if the property represented by the given schema and path is 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

        Set<StringgetDeprecatedProperties​(String schema)
        The returned path are not Nuxeo xpath as they don't have the schema prefix.
        Parameters:
        schema - the schema name (not the prefix)
        Returns:
        a Set holding the deprecated property path
      • getRemovedProperties

        Set<StringgetRemovedProperties​(String schema)
        The returned path are not Nuxeo xpath as they don't have the schema prefix.
        Parameters:
        schema - the schema name (not the prefix)
        Returns:
        a Set holding the removed property path
      • getFallback

        Optional<StringgetFallback​(String schema,
                                     String path)
        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