org.iternine.jeppetto.test
Interface SimpleObjectDSLDAO

All Superinterfaces:
GenericDAO<SimpleObject,String>

public interface SimpleObjectDSLDAO
extends GenericDAO<SimpleObject,String>


Method Summary
 SimpleObject findByAnotherIntValue(int intValue)
           
 SimpleObject findByIntValue(int intValue)
           
 List<SimpleObject> findByIntValueAndAnotherIntValueGreaterThan(int intValue, int anotherIntValue)
           
 Set<SimpleObject> findByIntValueGreaterThan(int intValue)
           
 SimpleObject findByIntValueHavingRelatedObjectWithRelatedIntValue(int intValue, int relatedIntValue)
           
 List<SimpleObject> findByOrderByIntValueDesc()
           
 
Methods inherited from interface org.iternine.jeppetto.dao.GenericDAO
delete, deleteById, deleteByIds, findAll, findById, findByIds, flush, referenceByIds, save, updateReferences
 

Method Detail

findByIntValue

SimpleObject findByIntValue(int intValue)

findByAnotherIntValue

SimpleObject findByAnotherIntValue(int intValue)
                                   throws NoSuchItemException
Throws:
NoSuchItemException

findByIntValueAndAnotherIntValueGreaterThan

List<SimpleObject> findByIntValueAndAnotherIntValueGreaterThan(int intValue,
                                                               int anotherIntValue)

findByIntValueHavingRelatedObjectWithRelatedIntValue

SimpleObject findByIntValueHavingRelatedObjectWithRelatedIntValue(int intValue,
                                                                  int relatedIntValue)

findByOrderByIntValueDesc

List<SimpleObject> findByOrderByIntValueDesc()

findByIntValueGreaterThan

Set<SimpleObject> findByIntValueGreaterThan(int intValue)


Copyright © 2012. All Rights Reserved.