org.objectweb.telosys.service.search
Interface SearchMessages

All Known Implementing Classes:
StandardSearchMessages

public interface SearchMessages

Interface for search services messages


Method Summary
 ScreenMessage noRow()
          Returns the ScreenMessage for the case "no row found"
 ScreenMessage numberOfRows(int n)
          Returns the ScreenMessage saying the number of rows found
 ScreenMessage tooMuchRows(int max)
          Returns the ScreenMessage for the case "too much row"
 ScreenMessage tooMuchRows(int n, int max)
          Returns the ScreenMessage for the case "too much row"
 

Method Detail

noRow

public ScreenMessage noRow()
Returns the ScreenMessage for the case "no row found"

Returns:

tooMuchRows

public ScreenMessage tooMuchRows(int max)
Returns the ScreenMessage for the case "too much row"

Parameters:
max - maximum number of rows
Returns:

tooMuchRows

public ScreenMessage tooMuchRows(int n,
                                 int max)
Returns the ScreenMessage for the case "too much row"

Parameters:
n - number of rows found
max - maximum number of rows
Returns:

numberOfRows

public ScreenMessage numberOfRows(int n)
Returns the ScreenMessage saying the number of rows found

Parameters:
n - number of rows found
Returns: