com.todoroo.astrid.data
Class StoreObjectApiDao.StoreObjectCriteria

java.lang.Object
  extended by com.todoroo.astrid.data.StoreObjectApiDao.StoreObjectCriteria
Enclosing class:
StoreObjectApiDao

public static class StoreObjectApiDao.StoreObjectCriteria
extends java.lang.Object

Generates SQL clauses


Constructor Summary
StoreObjectApiDao.StoreObjectCriteria()
           
 
Method Summary
static Criterion byType(java.lang.String type)
          Returns all store objects with given type
static Criterion byTypeAndItem(java.lang.String type, java.lang.String item)
          Returns store object with type and key
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StoreObjectApiDao.StoreObjectCriteria

public StoreObjectApiDao.StoreObjectCriteria()
Method Detail

byType

public static Criterion byType(java.lang.String type)
Returns all store objects with given type


byTypeAndItem

public static Criterion byTypeAndItem(java.lang.String type,
                                      java.lang.String item)
Returns store object with type and key