org.squashtest.tm.service.internal.repository
Interface CustomGenericProjectDao

All Known Subinterfaces:
GenericProjectDao
All Known Implementing Classes:
HibernateGenericProjectDao

public interface CustomGenericProjectDao

Author:
Gregory Fouquet

Method Summary
 org.squashtest.tm.domain.project.Project coerceTemplateIntoProject(long templateId)
          Coerces the template of given id into a projet.
 boolean isProjectTemplate(long projectId)
          Tells whether the project of id 'projectId' is a project template or not
 

Method Detail

coerceTemplateIntoProject

org.squashtest.tm.domain.project.Project coerceTemplateIntoProject(long templateId)
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.

Parameters:
templateId -
Returns:
the coerced project.

isProjectTemplate

boolean isProjectTemplate(long projectId)
Tells whether the project of id 'projectId' is a project template or not

Parameters:
projectId -
Returns:


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