KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > data > search > JahiaSearchHitInterface


1 //
2
// ____.
3
// __/\ ______| |__/\. _______
4
// __ .____| | \ | +----+ \
5
// _______| /--| | | - \ _ | : - \_________
6
// \\______: :---| : : | : | \________>
7
// |__\---\_____________:______: :____|____:_____\
8
// /_____|
9
//
10
// . . . i n j a h i a w e t r u s t . . .
11
//
12
package org.jahia.data.search;
13
14 import java.util.ArrayList JavaDoc;
15
16 import org.jahia.services.search.ParsedObject;
17
18 /**
19  * Define the search hit interface
20  *
21  * <p>Title: </p>
22  * <p>Description: </p>
23  * <p>Copyright: Copyright (c) 2002</p>
24  * <p>Company: </p>
25  * @author Khue Nguyen
26  * @version 1.0
27  */

28 public interface JahiaSearchHitInterface extends Comparable JavaDoc {
29
30     /**
31      * Returns the list of locales available for this hit.
32      * @return ArrayList
33      */

34     public abstract ArrayList JavaDoc getLanguageCodes();
35
36     /**
37      * Returns the hit score
38      */

39     public abstract int getScore();
40
41     /**
42      * Returns a small teaser about this hit
43      */

44     public abstract String JavaDoc getTeaser();
45
46     /**
47      * Returns a ParsedObject instance of this hit
48      * @return ParsedObject
49      */

50     public abstract ParsedObject getParsedObject();
51
52 }
53
Popular Tags