at.ac.tuwien.infosys.rnue.interfaces
Interface ISearchRequest

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
SearchRequestImpl

public interface ISearchRequest
extends java.io.Serializable

The SearchRequestImpl class represents a search request. An object of the SearchResponseImpl class is returned by the search remote search.

The class implementing this interface should also provide a constructor that takes three parameters. First, a java.lang.String that defines the search query. Second, the signature of the search query. The signature is generated using the sign method of the ISecurityHelper class. (Takes the value null for task 2.) Third, the human readable name (java.lang.String) of the sender of this search query.


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.
 

Method Detail

getRequestOriginator

public java.lang.String getRequestOriginator()
Retrieve the originator (human readabel name) of this search request.

Returns:
owner (originator) of this search request

getSearchString

public java.lang.String getSearchString()
Retrieve the search string from this search request.

Returns:
search string

getSignature

public byte[] getSignature()
Retrieve the signature of this search request.

Returns:
signature