/*
 * Copyright (C) 2001-2004 Red Hat Inc. All Rights Reserved.
 *
 * The contents of this file are subject to the CCM Public
 * License (the "License"); you may not use this file except in
 * compliance with the License. You may obtain a copy of the
 * License at http://www.redhat.com/licenses/ccmpl.html.
 *
 * Software distributed under the License is distributed on an
 * "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express
 * or implied. See the License for the specific language
 * governing rights and limitations under the License.
 *
 */
package com.arsdigita.search;

import com.arsdigita.persistence.DataQuery;
import com.arsdigita.persistence.SessionManager;
import java.util.HashMap;
import java.util.Map;
import java.util.Iterator;

/**
 * @deprecated moved to com.arsdigita.search.intermedia package
 * @see com.arsdigita.search.intermedia.SearchSpecification
 **/

public class SearchSpecification 
    extends com.arsdigita.search.intermedia.SearchSpecification{


    /**
     * Create a SearchSpecification object.
     * @param sql Sql select statement to perform the search.  See
     *    example above.
     * @param columns The names of columns returned by the
     *    search.
     * @param maxRows The maximum number of result rows retrieved
     *    by the search.
     * @param rowsPerPage The maximum number of rows per result
     * page returned by method getPage.
     **/
    public SearchSpecification(String sql, String[] columns,
                               int maxRows, int rowsPerPage) {

        super(sql, columns, maxRows, rowsPerPage);
    }

    /**
     * Create a SearchSpecification object, using the default values
     * for maxRows and rowsPerPage.
     * @param sql Sql select statement to perform the search.  See
     *    example above.
     * @param columns The names of columns returned by the
     *    search.
     **/
    public SearchSpecification(String sql, String[] columns) {
        super(sql, columns);
    }

}
