nl.gx.webmanager.services.usermanager
Interface SortOptions<T extends java.lang.Enum<?>>

Type Parameters:
T -

public interface SortOptions<T extends java.lang.Enum<?>>


Method Summary
 T getOption()
          Returns the sort option.
 boolean isAscending()
          Returns true if sort order is ascending or false if it is descending.
 void setAscending(boolean ascending)
          Sets the sort order.
 void setOption(T sort)
          Sets the sort option.
 

Method Detail

isAscending

boolean isAscending()
Returns true if sort order is ascending or false if it is descending.

Returns:
true if sort order is ascending, false otherwise

setAscending

void setAscending(boolean ascending)
Sets the sort order. If set to true, sort order is set to ascending, otherwise it is descending.

Parameters:
ascending - the sort order to set, true for ascending or false for descending

getOption

T getOption()
Returns the sort option.

Returns:
the sort option

setOption

void setOption(T sort)
Sets the sort option.

Parameters:
sort - the sort option to set


Copyright © 2007-2010 GX creative online development BV. All Rights Reserved.