|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eaglei.model.webapp.client.searchbar.TermSearchRequest
public class TermSearchRequest
Represents a search request.
| Nested Class Summary | |
|---|---|
static class |
TermSearchRequest.Term
|
static class |
TermSearchRequest.TypeBinding
Set of resource type-specific bindings for a search. |
| Field Summary | |
|---|---|
static int |
DEFAULT_PAGE_SIZE
|
static long |
serialVersionUID
|
| Constructor Summary | |
|---|---|
TermSearchRequest()
|
|
TermSearchRequest(org.eaglei.model.EIURI uri)
|
|
TermSearchRequest(java.lang.String query)
|
|
TermSearchRequest(TermSearchRequest.Term term)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
TermSearchRequest.TypeBinding |
getBinding()
Gets the search resource type binding, may be null. |
org.eaglei.model.EIURI |
getInstitution()
Get the URI for the eagle-i institution instance used to constrain the search term |
int |
getMaxResults()
Gets the max number of results. |
int |
getStartIndex()
Gets the request start index. |
TermSearchRequest.Term |
getTerm()
Gets the search term, may be null. |
int |
hashCode()
|
static TermSearchRequest |
parse(java.lang.String strParams)
Parses a param list into a search request. |
void |
setBinding(TermSearchRequest.TypeBinding binding)
Sets the search resource type binding. |
void |
setInstitution(org.eaglei.model.EIURI institution)
Sets the URI for the eagle-i institution instance used to constrain the search term. |
void |
setMaxResults(int maxResults)
Sets the maximum results to return. |
void |
setStartIndex(int startIndex)
Sets the search request start index. |
void |
setTerm(TermSearchRequest.Term term)
Sets the search term. |
java.lang.String |
toString()
|
java.lang.String |
toURLParams()
Returns a string representation of this request suitable for use as the param list in a catalyst search URL. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final long serialVersionUID
public static final int DEFAULT_PAGE_SIZE
| Constructor Detail |
|---|
public TermSearchRequest()
public TermSearchRequest(java.lang.String query)
public TermSearchRequest(org.eaglei.model.EIURI uri)
public TermSearchRequest(TermSearchRequest.Term term)
| Method Detail |
|---|
public static TermSearchRequest parse(java.lang.String strParams)
strParams -
public org.eaglei.model.EIURI getInstitution()
public void setInstitution(org.eaglei.model.EIURI institution)
institution - Institution URI.public TermSearchRequest.Term getTerm()
public void setTerm(TermSearchRequest.Term term)
term - The search termpublic TermSearchRequest.TypeBinding getBinding()
public void setBinding(TermSearchRequest.TypeBinding binding)
binding - The search result resource type binding.public int getStartIndex()
public void setStartIndex(int startIndex)
startIndex - The start index.public int getMaxResults()
public void setMaxResults(int maxResults)
maxResults - Maximum number of results to return.public java.lang.String toURLParams()
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||