mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noël Rouvignac
03.46.2016 a5809829e89ea42665396a628ea277d253ef9fa1
opendj-rest2ldap/src/main/java/org/forgerock/opendj/rest2ldap/PropertyMapper.java
@@ -186,6 +186,8 @@
     *
     * @param context The request context.
     * @param resource The exact type of resource being updated.
     * @param path the path to update.
     * @param e the entry containing the new value.
     * @param v
     *            The JSON value to be converted to LDAP attributes, which may
     *            be {@code null} indicating that the JSON value was not present
@@ -195,8 +197,12 @@
    abstract Promise<List<Modification>, ResourceException> update(Context context, Resource resource,
                                                                   JsonPointer path, Entry e, JsonValue v);
    // TODO: methods for obtaining schema information (e.g. name, description, type information).
    // TODO: methods for creating sort controls.
    /**
     * Returns the non-null JSON schema for this property mapper.
     *
     * @return the non-null JSON schema for this property mapper
     */
    abstract JsonValue toJsonSchema();
}