All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.dspace.content.dao.DSpaceObjectLegacySupportDAO Maven / Gradle / Ivy

There is a newer version: 8.0
Show newest version
/**
 * The contents of this file are subject to the license and copyright
 * detailed in the LICENSE and NOTICE files at the root of the source
 * tree and available online at
 *
 * http://www.dspace.org/license/
 */
package org.dspace.content.dao;

import java.sql.SQLException;

import org.dspace.content.DSpaceObject;
import org.dspace.core.Context;

/**
 * Database Access Object interface interface class that adds support to retrieve DSpaceObject by the old integer
 * based identifier which was used
 * to identify DSpaceObjects prior to DSpace 6.0
 *
 * @param  some implementation of DSpaceObject
 * @author kevinvandevelde at atmire.com
 */
public interface DSpaceObjectLegacySupportDAO extends DSpaceObjectDAO {

    public T findByLegacyId(Context context, int legacyId, Class clazz) throws SQLException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy