org.squashtest.csp.tm.internal.repository.hibernate
Class HibernateGenericProjectDao
java.lang.Object
org.squashtest.csp.tm.internal.repository.hibernate.HibernateGenericProjectDao
- All Implemented Interfaces:
- CustomGenericProjectDao
@Repository(value="CustomGenericProjectDao")
public class HibernateGenericProjectDao
- extends Object
- implements CustomGenericProjectDao
- Author:
- Gregory Fouquet
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateGenericProjectDao
public HibernateGenericProjectDao()
coerceTemplateIntoProject
public Project coerceTemplateIntoProject(long templateId)
- Description copied from interface:
CustomGenericProjectDao
- Coerces the template of given id into a projet. This method evicts the template from the session cache, yet it
should not be invoked when the template is loaded.
- Specified by:
coerceTemplateIntoProject in interface CustomGenericProjectDao
- Returns:
- the coerced project
- See Also:
org.squashtest.csp.tm.internal.repository.project.CustomGenericProjectDao#coerceTemplateIntoProject(long)
isProjectTemplate
public boolean isProjectTemplate(long projectId)
- Description copied from interface:
CustomGenericProjectDao
- Tells whether the project of id 'projectId' is a project template or not
- Specified by:
isProjectTemplate in interface CustomGenericProjectDao
- Returns:
Copyright © 2010-2012 Henix, henix.fr. All Rights Reserved.