org.squashtest.csp.tm.domain.event
Class StubRequirementDao
java.lang.Object
org.squashtest.csp.tm.domain.event.StubRequirementDao
- All Implemented Interfaces:
- EntityDao<Requirement>, RequirementDao
public class StubRequirementDao
- extends Object
- implements RequirementDao
- Author:
- Gregory Fouquet
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StubRequirementDao
public StubRequirementDao()
findAllByIdList
public List<Requirement> findAllByIdList(List<Long> requirementsIds)
- Description copied from interface:
RequirementDao
- returns all the requirements matching the given ids.
- Specified by:
findAllByIdList in interface EntityDao<Requirement>- Specified by:
findAllByIdList in interface RequirementDao
- See Also:
RequirementDao.findAllByIdList(java.util.List)
findNamesInFolderStartingWith
public List<String> findNamesInFolderStartingWith(long folderId,
String nameStart)
- Specified by:
findNamesInFolderStartingWith in interface RequirementDao
- See Also:
RequirementDao.findNamesInFolderStartingWith(long, java.lang.String)
findNamesInLibraryStartingWith
public List<String> findNamesInLibraryStartingWith(long libraryId,
String nameStart)
- Specified by:
findNamesInLibraryStartingWith in interface RequirementDao
- See Also:
RequirementDao.findNamesInLibraryStartingWith(long, java.lang.String)
findAllBySearchCriteria
public List<RequirementLibraryNode> findAllBySearchCriteria(RequirementSearchCriteria criteria)
- Specified by:
findAllBySearchCriteria in interface RequirementDao
- See Also:
RequirementDao.findAllBySearchCriteria(org.squashtest.csp.tm.domain.requirement.RequirementSearchCriteria)
findAllBySearchCriteriaOrderByProject
public List<RequirementLibraryNode> findAllBySearchCriteriaOrderByProject(RequirementSearchCriteria criteria)
- Specified by:
findAllBySearchCriteriaOrderByProject in interface RequirementDao
- See Also:
RequirementDao.findAllBySearchCriteriaOrderByProject(org.squashtest.csp.tm.domain.requirement.RequirementSearchCriteria)
findRequirementToExportFromFolder
public List<ExportRequirementData> findRequirementToExportFromFolder(List<Long> folderIds)
- Specified by:
findRequirementToExportFromFolder in interface RequirementDao
- See Also:
RequirementDao.findRequirementToExportFromFolder(java.util.List)
findRequirementToExportFromLibrary
public List<ExportRequirementData> findRequirementToExportFromLibrary(List<Long> folderIds)
- Specified by:
findRequirementToExportFromLibrary in interface RequirementDao
- See Also:
RequirementDao.findRequirementToExportFromLibrary(java.util.List)
findById
public ENTITY findById(long id)
- Specified by:
findById in interface EntityDao<ENTITY>
- See Also:
EntityDao.findById(long)
persist
public void persist(ENTITY transientEntity)
- Specified by:
persist in interface EntityDao<ENTITY>
- See Also:
EntityDao.persist(java.lang.Object)
remove
public void remove(ENTITY entity)
- Specified by:
remove in interface EntityDao<ENTITY>
- See Also:
EntityDao.remove(java.lang.Object)
flush
public void flush()
- Specified by:
flush in interface EntityDao<ENTITY>
- See Also:
EntityDao.flush()
persist
public void persist(List<ENTITY> transientEntities)
- Specified by:
persist in interface EntityDao<ENTITY>
- See Also:
EntityDao.persist(List)
Copyright © 2010-2012 Squashtest TM, Squashtest.org. All Rights Reserved.