|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.util.search.SearchFailure
@Entity public class SearchFailure
an entity representing a fruitless search.
| Constructor Summary | |
|---|---|
protected |
SearchFailure()
Deprecated. |
|
SearchFailure(java.util.Locale loc,
java.lang.String query)
creates a new SearchFailure for the given locale and query. |
| Method Summary | |
|---|---|
void |
addRecurrence()
adds another recurrence of the search being the base of the failure. |
java.lang.String |
getId()
|
double |
getImportance()
returns the importance ( recurrence / 2) of the failure for
ordering. |
long |
getLastRecurrence()
returns the timestamp of the last recurrence of the search being the base of the failure. |
java.util.Locale |
getLocale()
returns the locale of the failure. |
long |
getRecurrences()
returns the number of recurrences of the search being the base of the failure. |
java.lang.String |
getSearchQuery()
returns the search query of the search being the base of the failure. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated protected SearchFailure()
public SearchFailure(java.util.Locale loc,
java.lang.String query)
SearchFailure for the given locale and query.
loc - the locale of the searchquery - the search query (limited to 80 characters)| Method Detail |
|---|
public final java.lang.String getId()
public final java.util.Locale getLocale()
public final long getLastRecurrence()
public final long getRecurrences()
public final java.lang.String getSearchQuery()
public final void addRecurrence()
public final double getImportance()
recurrence / 2) of the failure for
ordering.
Higher values mean greater importance.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||