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

Matthew Swift
17.43.2016 0ca095370a648a30730ed9cb7d4dda1d9bd10334
opendj-rest2ldap/src/main/java/org/forgerock/opendj/rest2ldap/NamingStrategy.java
File was renamed from opendj-rest2ldap/src/main/java/org/forgerock/opendj/rest2ldap/NameStrategy.java
@@ -25,15 +25,15 @@
import org.forgerock.opendj.ldap.requests.SearchRequest;
/**
 * A name strategy is responsible for naming REST resources and LDAP entries.
 * A naming strategy is responsible for naming REST resources and LDAP entries.
 */
abstract class NameStrategy {
abstract class NamingStrategy {
    /*
     * This interface is an abstract class so that methods can be made package
     * private until API is finalized.
     */
    NameStrategy() {
    NamingStrategy() {
        // Nothing to do.
    }
@@ -53,7 +53,7 @@
    abstract SearchRequest createSearchRequest(Connection connection, DN baseDN, String resourceId);
    /**
     * Adds the name of any LDAP attribute required by this name strategy to the
     * Adds the name of any LDAP attribute required by this naming strategy to the
     * provided set.
     *
     * @param connection
@@ -62,7 +62,7 @@
     *            The set into which any required LDAP attribute name should be
     *            put.
     */
    abstract void getLDAPAttributes(Connection connection, Set<String> ldapAttributes);
    abstract void getLdapAttributes(Connection connection, Set<String> ldapAttributes);
    /**
     * Retrieves the resource ID from the provided LDAP entry. Implementations