org.iternine.jeppetto.test
Interface SimpleObjectDAO

All Superinterfaces:
GenericDAO<SimpleObject,String>

public interface SimpleObjectDAO
extends GenericDAO<SimpleObject,String>


Method Summary
 double averageIntValues()
           
 int countAll()
           
 int countByIntValue(int intValue)
           
 int countByIntValueGreaterThanEqual(int intValue)
           
 int countByIntValueLessThan(int intValue)
           
 int countByIntValueLessThanEqual(int intValue)
           
 int countDistinctIntValue()
           
 int countIntValue()
           
 int countRelatedItems(int relatedIntValueMax)
           
 void deleteByIntValueWithin(List<Integer> someInts)
           
 void deleteSomeObjects(List<Integer> someInts)
           
 int doAnAnnotationBasedCount(int intValue)
           
 int doAnAnnotationBasedCountGreaterThanEquals(int intValue)
           
 int doAnAnnotationBasedCountLessThanEquals(int intValue)
           
 List<SimpleObject> findAndSortRelatedItems(int relatedIntValueMax)
           
 Iterable<SimpleObject> findAndSortRelatedItemsIterable(int relatedIntValueMax)
           
 List<SimpleObject> findByHavingRelatedObjectsWithRelatedIntValueLessThanOrderByIntValueAndLimitAndSkip(int relatedIntValueMax, int limit, int skipCount)
           
 SimpleObject findByIntValue(int intValue)
           
 SimpleObject findByLongValue(long longValue)
           
 SimpleObject findSimpleObject(int intValue)
           
 List<SimpleObject> findSomeObjects(List<Integer> someInts)
           
 List<SimpleObject> limitAndSkipRelatedItems(int relatedIntValueMax, int limit, int skipCount)
           
 List<SimpleObject> limitRelatedItems(int relatedIntValueMax, int limit)
           
 int maxIntValue()
           
 int minIntValue()
           
 int sumIntValues()
           
 
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)
                            throws NoSuchItemException
Throws:
NoSuchItemException

findByLongValue

SimpleObject findByLongValue(long longValue)
                             throws NoSuchItemException
Throws:
NoSuchItemException

countByIntValue

int countByIntValue(int intValue)

countByIntValueLessThan

int countByIntValueLessThan(int intValue)

findSimpleObject

SimpleObject findSimpleObject(int intValue)
                              throws NoSuchItemException
Throws:
NoSuchItemException

findSomeObjects

List<SimpleObject> findSomeObjects(List<Integer> someInts)

findAndSortRelatedItems

List<SimpleObject> findAndSortRelatedItems(int relatedIntValueMax)

findAndSortRelatedItemsIterable

Iterable<SimpleObject> findAndSortRelatedItemsIterable(int relatedIntValueMax)

countRelatedItems

int countRelatedItems(int relatedIntValueMax)

limitRelatedItems

List<SimpleObject> limitRelatedItems(int relatedIntValueMax,
                                     int limit)

limitAndSkipRelatedItems

List<SimpleObject> limitAndSkipRelatedItems(int relatedIntValueMax,
                                            int limit,
                                            int skipCount)

findByHavingRelatedObjectsWithRelatedIntValueLessThanOrderByIntValueAndLimitAndSkip

List<SimpleObject> findByHavingRelatedObjectsWithRelatedIntValueLessThanOrderByIntValueAndLimitAndSkip(int relatedIntValueMax,
                                                                                                       int limit,
                                                                                                       int skipCount)

doAnAnnotationBasedCount

int doAnAnnotationBasedCount(int intValue)

doAnAnnotationBasedCountGreaterThanEquals

int doAnAnnotationBasedCountGreaterThanEquals(int intValue)

doAnAnnotationBasedCountLessThanEquals

int doAnAnnotationBasedCountLessThanEquals(int intValue)

countByIntValueGreaterThanEqual

int countByIntValueGreaterThanEqual(int intValue)

countByIntValueLessThanEqual

int countByIntValueLessThanEqual(int intValue)

countAll

int countAll()

sumIntValues

int sumIntValues()

averageIntValues

double averageIntValues()

minIntValue

int minIntValue()

maxIntValue

int maxIntValue()

countDistinctIntValue

int countDistinctIntValue()

countIntValue

int countIntValue()

deleteByIntValueWithin

void deleteByIntValueWithin(List<Integer> someInts)

deleteSomeObjects

void deleteSomeObjects(List<Integer> someInts)


Copyright © 2012. All Rights Reserved.