org.squashtest.tm.service.internal.repository.hibernate
Class HibernateCustomCustomFieldDao
java.lang.Object
org.squashtest.tm.service.internal.repository.hibernate.HibernateDao<ENTITY_TYPE>
org.squashtest.tm.service.internal.repository.hibernate.HibernateEntityDao<org.squashtest.tm.domain.customfield.CustomField>
org.squashtest.tm.service.internal.repository.hibernate.HibernateCustomCustomFieldDao
- All Implemented Interfaces:
- CustomCustomFieldDao, EntityDao<org.squashtest.tm.domain.customfield.CustomField>, GenericDao<org.squashtest.tm.domain.customfield.CustomField>
@Repository(value="CustomCustomFieldDao")
public class HibernateCustomCustomFieldDao
- extends HibernateEntityDao<org.squashtest.tm.domain.customfield.CustomField>
- implements CustomCustomFieldDao
|
Method Summary |
org.squashtest.tm.domain.customfield.SingleSelectField |
findSingleSelectFieldById(Long customFieldId)
will find the SingleSelectField of the given id |
List<org.squashtest.tm.domain.customfield.CustomField> |
findSortedCustomFields(org.squashtest.tm.core.foundation.collection.PagingAndSorting filter)
Will find all existing custom fields ordered according to the given PagingAndSorting params. |
| Methods inherited from class org.squashtest.tm.service.internal.repository.hibernate.HibernateEntityDao |
collectFromMapList, collectFromMapList, collectFromMapListToSet, collectFromMapListToSet, findAll, findAllByIds, findById, findDescendantIds, findSorted, findSorted, getIdPropertyName |
| Methods inherited from class org.squashtest.tm.service.internal.repository.hibernate.HibernateDao |
clearFromCache, clearFromCache, currentSession, executeEntityNamedQuery, executeEntityNamedQuery, executeEntityNamedQuery, executeListNamedQuery, executeListNamedQuery, executeListNamedQuery, executeListNamedQuery, executeUpdateListQuery, flush, getEntity, persist, persist, persistEntity, remove, removeAll, removeEntity |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateCustomCustomFieldDao
public HibernateCustomCustomFieldDao()
findSortedCustomFields
public List<org.squashtest.tm.domain.customfield.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
PagingAndSorting params.
- Specified by:
findSortedCustomFields in interface CustomCustomFieldDao
- Parameters:
filter - the PagingAndSorting param that holds order and paging requirements.
- Returns:
- the list of all existing
CustomField ordered according to the PagingAndSorting param - See Also:
CustomCustomFieldDao.findSortedCustomFields(org.squashtest.tm.core.foundation.collection.PagingAndSorting)
findSingleSelectFieldById
public org.squashtest.tm.domain.customfield.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-2013 Henix, henix.fr. All Rights Reserved.