Ignore:
Timestamp:
08/25/13 21:05:37 (11 years ago)
Author:
olhsha
Message:

making javadoc comments for signatures in all dao-s (except dispatcher)

File:
1 edited

Legend:

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

    r3465 r3475  
    3434     *
    3535     * @param internalID
    36      * @return the instance of Version.class  with the internal Id equal to "internalID"
     36     * @return the Version-object build from the version  with the "internalID".
    3737     *
    3838     */
     
    4343     *
    4444     * @param versionID
    45      * @return The list of the cached representation internal id-s of all the cached representations of the version with "versionID"
     45     * @return The list of the cached-representation internal ID-s of all the cached representations of the version with "versionID".
    4646     */
    4747    public List<Number> retrieveCachedRepresentationList(Number versionID);
    4848   
    4949     
    50     // Not tested
    51     public boolean versionIsInUse(Number versionsID);
     50    /**
     51     *
     52     * @param versionsID
     53     * @return true if "versionID" occurs in the table "versions_cached_representations".
     54     */
     55    public boolean versionIsInUse(Number versionID);
    5256   
    5357   
     
    5660     **/
    5761   
    58    
     62    /**
     63     *
     64     * @param versionID
     65     * @param cachedID
     66     * @return # rows added to the table "versions_cached_representations", when adding the pair (versionID, sourceID). Should be 1, if it has been added.
     67     */
    5968    public int addVersionCachedRepresentation(Number versionID, Number cachedID);
    6069   
     
    6372     *
    6473     * @param version
    65      * @return the internal Id of the just added version
     74     * @return the internal Id of the just added "version", or null if it has not been added.
    6675     *
    6776     */
     
    7685     
    7786    /** @param versionID
    78      * @return deleted rows in "version" table
     87     * @return # deleted rows in "version" table after deleting the version with "versionID". Should be "1" if the version has been deleted.
    7988     */
    8089   
    8190    public int deleteVersion(Number versionID);
    8291   
    83    
     92    /**
     93     *
     94     * @param versionID
     95     * @param cachedID
     96     * @return # deleted rows in the table "versions_cached_representations" after deleting the pair (versionID, cachedID).
     97     */
    8498    public int deleteVersionCachedRepresentation(Number versionID, Number cachedID);
    8599   
    86100   
    87    
     101    /**
     102     *
     103     * @param versionID
     104     * @return # deleted rows in the table "versions_cached_representations" after deleting all the pairs of the form (versionID, *).
     105     */
    88106    public int deleteAllVersionCachedRepresentation(Number versionID);
    89107   
Note: See TracChangeset for help on using the changeset viewer.