org.riotfamily.riot.dao
Class Order

java.lang.Object
  extended by org.riotfamily.riot.dao.Order
All Implemented Interfaces:
Serializable, SortDefinition

public class Order
extends Object
implements Serializable, SortDefinition

See Also:
Serialized Form

Constructor Summary
Order(String property, boolean ascending, boolean caseSensitive)
           
 
Method Summary
 String getProperty()
           
 boolean isAscending()
           
 boolean isCaseSensitive()
           
 boolean isIgnoreCase()
           
 boolean isProperty(String property)
           
 void toggleDirection()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Order

public Order(String property,
             boolean ascending,
             boolean caseSensitive)
Method Detail

getProperty

public String getProperty()
Specified by:
getProperty in interface SortDefinition

isAscending

public boolean isAscending()
Specified by:
isAscending in interface SortDefinition

isCaseSensitive

public boolean isCaseSensitive()

isIgnoreCase

public boolean isIgnoreCase()
Specified by:
isIgnoreCase in interface SortDefinition

isProperty

public boolean isProperty(String property)

toggleDirection

public void toggleDirection()