Changeset 6004 for DASISH/t5.6/backend/annotator-backend/trunk/annotator-backend/src/main/java/eu/dasish/annotation/backend/dao/TargetDao.java
- Timestamp:
- 02/20/15 15:17:07 (9 years ago)
- 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 37 37 /** 38 38 * 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". 41 41 */ 42 42 public Target getTarget(Number internalID); … … 44 44 /** 45 45 * 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". 49 48 */ 50 49 public List<TargetInfo> getTargetInfos(List<Number> targets); … … 52 51 /** 53 52 * 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". 57 55 */ 58 56 public Map<Number, String> getCachedRepresentationFragmentPairs(Number targetID); … … 62 60 /** 63 61 * 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. 66 64 */ 67 65 public String getLink(Number targetID); … … 69 67 /** 70 68 * 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". 73 71 */ 74 72 public List<Number> getTargetsForLink(String link); 75 73 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 */ 76 79 boolean cachedIsInUse(Number cachedID); 77 80
Note: See TracChangeset
for help on using the changeset viewer.