|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.openexchange.mail.search.service.MailAttributeFetcher
public final class MailAttributeFetcher
MailAttributeFetcher - The attribute fetcher for mail module.
| Method Summary | ||
|---|---|---|
|
getAttribute(java.lang.String attributeName,
MailMessage candidate)
Fetches specified attribute from given candidate. |
|
static MailAttributeFetcher |
getInstance()
Gets the mail attribute fetcher instance. |
|
SearchTerm<?> |
getSearchTerm(java.lang.String attributeName,
com.openexchange.search.SingleSearchTerm.SingleOperation operation,
java.lang.Object constant)
Gets the mail search term for given simple search term identifier |
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static MailAttributeFetcher getInstance()
public <T> T getAttribute(java.lang.String attributeName,
MailMessage candidate)
com.openexchange.search.SearchAttributeFetcher
getAttribute in interface com.openexchange.search.SearchAttributeFetcher<MailMessage>attributeName - The attribute namecandidate - The candidate to fetch from
public SearchTerm<?> getSearchTerm(java.lang.String attributeName,
com.openexchange.search.SingleSearchTerm.SingleOperation operation,
java.lang.Object constant)
attributeName - The attribute nameoperation - The operationconstant - The constant to compare to
java.lang.IllegalArgumentException - If search term cannot be returned
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||