Ignore:
Timestamp:
08/18/13 16:21:58 (11 years ago)
Author:
olhsha
Message:

refactored DAO-s tests are added, but not all working yet. Also: add 8 more tests to dispatcher class

File:
1 edited

Legend:

Unmodified
Added
Removed
  • DASISH/t5.6/backend/annotator-backend/trunk/annotator-backend/src/main/java/eu/dasish/annotation/backend/dao/SourceDao.java

    r3407 r3408  
    1919
    2020import eu.dasish.annotation.backend.identifiers.SourceIdentifier;
    21 import eu.dasish.annotation.schema.NewOrExistingSourceInfo;
    2221import eu.dasish.annotation.schema.Source;
    2322import eu.dasish.annotation.schema.SourceInfo;
    2423import java.sql.SQLException;
    2524import java.util.List;
    26 import java.util.Map;
    2725
    2826/**
     
    5351     *
    5452     * @param internalId
    55      * @return result[0] # deleted rows in "sources_versions" table name
    56      * result[1] # deleted rows in "source" table
     53     * @return # deleted rows in "source" table
    5754     */
    58     public int[] deleteSource(Number internalID);
     55    public int deleteSource(Number internalID);
    5956   
    6057    /**
     
    6966   
    7067    public int addSourceVersion(Number sourceID, Number versionID) throws SQLException; 
     68   
     69    public int deleteAllSourceVersion(Number sourceID) throws SQLException; 
     70   
    7171   
    7272   
Note: See TracChangeset for help on using the changeset viewer.