public class GenericProjectDaoImpl extends Object implements CustomGenericProjectDao
| Constructor and Description |
|---|
GenericProjectDaoImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.squashtest.tm.domain.project.Project |
coerceTemplateIntoProject(long templateId)
Coerces the template of given id into a projet.
|
<T extends org.squashtest.tm.domain.project.GenericProject> |
findAllWithTextProperty(Class<T> entity,
org.squashtest.tm.core.foundation.collection.Filtering filtering)
Returns the list of all
GenericProjects which match the given filter. |
boolean |
isProjectTemplate(long projectId)
Tells whether the project of id 'projectId' is a project template or not
|
public org.squashtest.tm.domain.project.Project coerceTemplateIntoProject(long templateId)
CustomGenericProjectDaocoerceTemplateIntoProject in interface CustomGenericProjectDaoorg.squashtest.tm.service.internal.repository.CustomGenericProjectDao.squashtest.tm.service.internal.repository.CustomGenericProjectDao#coerceTemplateIntoProject(long)public boolean isProjectTemplate(long projectId)
CustomGenericProjectDaoisProjectTemplate in interface CustomGenericProjectDaopublic <T extends org.squashtest.tm.domain.project.GenericProject> List<T> findAllWithTextProperty(Class<T> entity, org.squashtest.tm.core.foundation.collection.Filtering filtering)
CustomGenericProjectDaoGenericProjects which match the given filter.findAllWithTextProperty in interface CustomGenericProjectDaoentity - GenericProject or any subtypeCustomGenericProjectDao.findAllWithTextProperty(java.lang.Class,
org.squashtest.tm.core.foundation.collection.Filtering)Copyright © 2010–2017 Henix, henix.fr. All rights reserved.