org.dspace.content.dao.DSpaceObjectLegacySupportDAO Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dspace-api Show documentation
Show all versions of dspace-api Show documentation
DSpace core data model and service APIs.
/**
* 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