org.squashtest.csp.tm.service
Interface CustomProjectModificationService

All Known Subinterfaces:
ProjectManagerService
All Known Implementing Classes:
CustomProjectModificationServiceImpl

public interface CustomProjectModificationService

Project modification services which cannot be dynamically generated.

Author:
mpagnon

Method Summary
 Project addProjectAndCopySettingsFromTemplate(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)
           
 List<Project> findAllReadable()
           
 

Method Detail

addProjectAndCopySettingsFromTemplate

Project addProjectAndCopySettingsFromTemplate(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)

findAllReadable

List<Project> findAllReadable()


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