org.squashtest.tm.service.project
Interface CustomProjectModificationService

All Superinterfaces:
ProjectFinder
All Known Subinterfaces:
ProjectManagerService
All Known Implementing Classes:
CustomProjectModificationServiceImpl

public interface CustomProjectModificationService
extends ProjectFinder

Project modification services which cannot be dynamically generated.

Author:
mpagnon

Method Summary
 org.squashtest.tm.domain.project.Project addProjectAndCopySettingsFromTemplate(org.squashtest.tm.domain.project.Project newProject, long templateId, boolean copyAssignedUsers, boolean copyCustomFieldsSettings, boolean copyBugtrackerSettings, boolean copyTestAutomationSettings)
          Will persist the new Project and add settings copied from a given ProjectTemplate.
 void deleteProject(long projectId)
           
 
Methods inherited from interface org.squashtest.tm.service.project.ProjectFinder
findAllReadable
 

Method Detail

addProjectAndCopySettingsFromTemplate

org.squashtest.tm.domain.project.Project addProjectAndCopySettingsFromTemplate(org.squashtest.tm.domain.project.Project newProject,
                                                                               long templateId,
                                                                               boolean copyAssignedUsers,
                                                                               boolean copyCustomFieldsSettings,
                                                                               boolean copyBugtrackerSettings,
                                                                               boolean copyTestAutomationSettings)
Will persist the new Project and add settings copied from a given ProjectTemplate.

Parameters:
newProject - : the new Project entity to persist
templateId - : the id of the ProjectTemplate to copy the settings from
copyAssignedUsers - : whether to copy the Template's assigned Users or not
copyCustomFieldsSettings - : whether to copy the Template's CustomFields settings or not
copyBugtrackerSettings - : whether to copy the Template's bug-tracker settings or not
copyTestAutomationSettings - : whether to copy the Template's automation settings or not
Returns:
the persisted new Project

deleteProject

void deleteProject(long projectId)


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