Interface DSpaceObjectLegacySupportService<T extends DSpaceObject>

    • Method Detail

      • findByLegacyId

        T findByLegacyId​(Context context,
                         int id)
                  throws SQLException
        Generic find for when the precise type of a DSO is not known, just the a pair of type number and database ID.
        Parameters:
        context - - the context
        id - - the legacy id within table of type'd objects
        Returns:
        the object found, or null if it does not exist.
        Throws:
        SQLException - only upon failure accessing the database.
      • getSupportsTypeConstant

        int getSupportsTypeConstant()
        Returns the Constants which this service supports
        Returns:
        a org.dspace.core.Constants that represents a DSpaceObjct type