|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--at.ac.tuwien.infosys.rnue.helpers.search.SearchRequestImpl
The SearchRequestImpl class represents a search request. An object
of the SearchResponseImpl class is returned by the search
remote search.
SearchRequestImpl provides a constructor to create a new search request and methods to query the encapsulated variables.
Constructor Summary | |
SearchRequestImpl(java.lang.String searchString,
byte[] sig,
java.lang.String originator)
Creates a new search request. |
Method Summary | |
java.lang.String |
getRequestOriginator()
Retrieve the originator (human readabel name) of this search request. |
java.lang.String |
getSearchString()
Retrieve the search string from this search request. |
byte[] |
getSignature()
Retrieve the signature of this search request. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SearchRequestImpl(java.lang.String searchString, byte[] sig, java.lang.String originator)
searchString
- java.lang.String that defines the search query.sig
- Signature of the search query. The signature is
generated using the sign
method of the SecurityHelperImpl
class. (Takes the value null
for task 2.)originator
- Human readable name of the sender of this search query.Method Detail |
public java.lang.String getRequestOriginator()
getRequestOriginator
in interface ISearchRequest
public java.lang.String getSearchString()
getSearchString
in interface ISearchRequest
public byte[] getSignature()
getSignature
in interface ISearchRequest
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |