org.ow2.dragon.persistence.dao.metadata.hibernate
Class SimpleFileDAOImpl

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
          extended by org.ow2.dragon.persistence.dao.GenericHibernateDAOImpl<SimpleFile,java.lang.String>
              extended by org.ow2.dragon.persistence.dao.metadata.hibernate.SimpleFileDAOImpl
All Implemented Interfaces:
GenericORMDAO<SimpleFile,java.lang.String>, SimpleFileDAO, org.springframework.beans.factory.InitializingBean

public class SimpleFileDAOImpl
extends GenericHibernateDAOImpl<SimpleFile,java.lang.String>
implements SimpleFileDAO

Author:
ofabre - eBM WebSourcing

Field Summary
 
Fields inherited from class org.ow2.dragon.persistence.dao.GenericHibernateDAOImpl
type
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
SimpleFileDAOImpl()
           
 
Method Summary
 java.util.List<SimpleFile> searchEquals(java.lang.String[] criteria, java.lang.String[] properties, RequestOptions requestOptions)
          This method allows to search Objects on String properties, fitting search criteria.
 java.util.List<SimpleFile> searchLike(java.lang.String[] criteria, java.lang.String[] properties, RequestOptions requestOptions)
          This method allows to search Objects on String properties, fitting search criteria.
 
Methods inherited from class org.ow2.dragon.persistence.dao.GenericHibernateDAOImpl
count, exists, findByNamedQuery, get, getAll, getAll, getAll, getAll, getAllDistinct, getManipulatedType, remove, remove, save, search, searchAndCount, searchUnique, setType
 
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
 
Methods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet, initDao
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ow2.dragon.persistence.dao.GenericORMDAO
count, exists, findByNamedQuery, get, getAll, getAll, getAll, getAll, getAllDistinct, getManipulatedType, remove, remove, save, search, searchAndCount, searchUnique
 

Constructor Detail

SimpleFileDAOImpl

public SimpleFileDAOImpl()
Method Detail

searchEquals

public java.util.List<SimpleFile> searchEquals(java.lang.String[] criteria,
                                               java.lang.String[] properties,
                                               RequestOptions requestOptions)
Description copied from class: GenericHibernateDAOImpl
This method allows to search Objects on String properties, fitting search criteria. Properties can be direct object fields or fields of included objects (in this case, fields must be referenced by the doted notation like "foo.bar"). Use a equality statement for each criteria on each property. Results are sorted and paginated in respect of the given request options.

Specified by:
searchEquals in interface GenericORMDAO<SimpleFile,java.lang.String>
Overrides:
searchEquals in class GenericHibernateDAOImpl<SimpleFile,java.lang.String>
Parameters:
criteria - the search criteria
properties - the searched properties
requestOptions - include sort order and pagination information
Returns:
a list of object matching the different criteria sorted and paginated

searchLike

public java.util.List<SimpleFile> searchLike(java.lang.String[] criteria,
                                             java.lang.String[] properties,
                                             RequestOptions requestOptions)
Description copied from class: GenericHibernateDAOImpl
This method allows to search Objects on String properties, fitting search criteria. Properties can be direct object fields or fields of included objects (in this case, fields must be referenced by the doted notation like "foo.bar"). Use a like statement for each criteria on each property. Results are sorted and paginated in respect of the given request options.

Specified by:
searchLike in interface GenericORMDAO<SimpleFile,java.lang.String>
Overrides:
searchLike in class GenericHibernateDAOImpl<SimpleFile,java.lang.String>
Parameters:
criteria - the search criteria
properties - the searched properties
requestOptions - include sort order and pagination information
Returns:
a list of object matching the different criteria sorted and paginated


Copyright © 2008-2010 eBMWebsourcing. All Rights Reserved.