org.squashtest.csp.tm.internal.repository.hibernate
Class HibernateCustomCustomFieldDao

java.lang.Object
  extended by org.squashtest.csp.tm.internal.repository.hibernate.HibernateDao<ENTITY_TYPE>
      extended by org.squashtest.csp.tm.internal.repository.hibernate.HibernateEntityDao<CustomField>
          extended by org.squashtest.csp.tm.internal.repository.hibernate.HibernateCustomCustomFieldDao
All Implemented Interfaces:
CustomCustomFieldDao, EntityDao<CustomField>, GenericDao<CustomField>

@Repository(value="CustomCustomFieldDao")
public class HibernateCustomCustomFieldDao
extends HibernateEntityDao<CustomField>
implements CustomCustomFieldDao


Field Summary
 
Fields inherited from class org.squashtest.csp.tm.internal.repository.hibernate.HibernateDao
entityType
 
Constructor Summary
HibernateCustomCustomFieldDao()
           
 
Method Summary
 SingleSelectField findSingleSelectFieldById(Long customFieldId)
          will find the SingleSelectField of the given id
 List<CustomField> findSortedCustomFields(org.squashtest.tm.core.foundation.collection.PagingAndSorting filter)
          Will find all existing custom fields ordered according to the given CollectionSorting params.
 
Methods inherited from class org.squashtest.csp.tm.internal.repository.hibernate.HibernateEntityDao
findAll, findAllByIds, findById, findDescendantIds, findSorted, findSorted, findSorted, getIdPropertyName
 
Methods inherited from class org.squashtest.csp.tm.internal.repository.hibernate.HibernateDao
clearFromCache, clearFromCache, currentSession, executeEntityNamedQuery, executeEntityNamedQuery, executeEntityNamedQuery, executeListNamedQuery, executeListNamedQuery, executeListNamedQuery, executeListNamedQuery, executeUpdateListQuery, flush, getEntity, persist, persist, persistEntity, remove, removeEntity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.squashtest.csp.tm.internal.repository.GenericDao
clearFromCache, clearFromCache, flush, persist, persist, remove
 

Constructor Detail

HibernateCustomCustomFieldDao

public HibernateCustomCustomFieldDao()
Method Detail

findSortedCustomFields

public List<CustomField> findSortedCustomFields(org.squashtest.tm.core.foundation.collection.PagingAndSorting filter)
Description copied from interface: CustomCustomFieldDao
Will find all existing custom fields ordered according to the given CollectionSorting params.

Specified by:
findSortedCustomFields in interface CustomCustomFieldDao
Parameters:
filter - the CollectionSorting param that holds order and paging requirements.
Returns:
the list of all existing CustomField ordered according to the CollectionSorting param
See Also:
CustomCustomFieldDao.findSortedCustomFields(org.squashtest.tm.core.foundation.collection.PagingAndSorting)

findSingleSelectFieldById

public SingleSelectField findSingleSelectFieldById(Long customFieldId)
Description copied from interface: CustomCustomFieldDao
will find the SingleSelectField of the given id

Specified by:
findSingleSelectFieldById in interface CustomCustomFieldDao
Parameters:
customFieldId - the id of the wanted SingleSelectField
Returns:
the SingleSelectField or null


Copyright © 2010-2012 Henix, henix.fr. All Rights Reserved.