public interface CustomProjectModificationService extends CustomProjectFinder
| Modifier and Type | Method and Description |
|---|---|
org.squashtest.tm.domain.project.Project |
addProjectFromtemplate(org.squashtest.tm.domain.project.Project newProject,
long templateId,
GenericProjectCopyParameter params)
Will persist the new Project and add settings copied from a given ProjectTemplate.
|
void |
deleteProject(long projectId) |
findAllICanManage, findAllReadableorg.squashtest.tm.domain.project.Project addProjectFromtemplate(org.squashtest.tm.domain.project.Project newProject,
long templateId,
GenericProjectCopyParameter params)
throws org.squashtest.tm.exception.NameAlreadyInUseException
newProject - : the new Project entity to persisttemplateId - : the id of the ProjectTemplate to copy the settings fromparams - : conf object containing the following params :
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
copyInfolists : whether to use the Template's custom categories/natures/types
copyMilestoneProjectorg.squashtest.tm.exception.NameAlreadyInUseExceptionvoid deleteProject(long projectId)
Copyright © 2010–2017 Henix, henix.fr. All rights reserved.