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)
|
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 persisttemplateId - : the id of the ProjectTemplate to copy the settings fromcopyAssignedUsers - : whether to copy the Template's assigned Users or notcopyCustomFieldsSettings - : whether to copy the Template's CustomFields settings or notcopyBugtrackerSettings - : whether to copy the Template's bug-tracker settings or notcopyTestAutomationSettings - : 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.