Ignore:
Timestamp:
02/20/15 15:17:07 (9 years ago)
Author:
olhsha@mpi.nl
Message:

Javadoc are updated for the interfaces NotebookDao?, ResourceDao?, TargetDao? and some helpers.

File:
1 edited

Legend:

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

    r5385 r6004  
    3737    /**
    3838     *
    39      * @param inernalID
    40      * @return the Target with the intrenal Id "internalID".
     39     * @param inernalID the internal database id of a target.
     40     * @return the {@link Target} object with the intrenal Id "internalID".
    4141     */
    4242    public Target getTarget(Number internalID);
     
    4444    /**
    4545     *
    46      * @param targets
    47      * @return the list of TargetInfo objects corresponding to the Targets with
    48      * the internalIds from the list "Targets".
     46     * @param targets the list of internal database ids of targets.
     47     * @return the list of {@link TargetInfo} objects corresponding to the targets with the internalIds from the list "targets".
    4948     */
    5049    public List<TargetInfo> getTargetInfos(List<Number> targets);
     
    5251    /**
    5352     *
    54      * @param targetID
    55      * @return the list of pairs (cached_representation_id, fragment_descriptor)
    56      * for the target with the internal ID "targetID".
     53     * @param targetID the internal database id of a target.
     54     * @return the list of pairs "cached_representation_id -> fragment_descriptor" for the target with the internal ID "targetID".
    5755     */
    5856    public Map<Number, String> getCachedRepresentationFragmentPairs(Number targetID);
     
    6260    /**
    6361     *
    64      * @param targetID
    65      * @return The link (uri) to the source to which the target refers
     62     * @param targetID the internal database id of a target.
     63     * @return The link (uri) to the source to which the target refers.
    6664     */
    6765    public String getLink(Number targetID);
     
    6967    /**
    7068     *
    71      * @param link
    72      * @return the list of Target ID's which link-fields is exactly "link"
     69     * @param link a string representing a link (uri) to a target source.
     70     * @return the list of internal database target ID's whose link-fields is exactly "link".
    7371     */
    7472    public List<Number> getTargetsForLink(String link);
    7573
     74  /**
     75   *
     76   * @param cachedID the internal database id of a cached representation.
     77   * @return true iff "cachedID" is referred to for some target in "targets_cached_representations" table.
     78   */
    7679    boolean cachedIsInUse(Number cachedID);
    7780
Note: See TracChangeset for help on using the changeset viewer.