@Transactional
public interface MilestoneBindingManagerService
| Modifier and Type | Method and Description |
|---|---|
void |
bindMilestonesToProject(List<Long> milestoneIds,
Long projectId)
Bind multiple milestones to a project
|
void |
bindMilestonesToProjectAndBindObject(Long projectId,
List<Long> milestoneIds) |
void |
bindProjectsToMilestone(List<Long> projectIds,
Long milestoneId)
Bind a milestone to multiples projects
|
List<org.squashtest.tm.domain.milestone.Milestone> |
getAllBindableMilestoneForProject(Long projectId)
The list of milestone the current user can bind to the project
|
List<org.squashtest.tm.domain.milestone.Milestone> |
getAllBindableMilestoneForProject(Long projectId,
String type)
The list of milestone the current user can bind to the project
|
List<org.squashtest.tm.domain.project.GenericProject> |
getAllBindableProjectForMilestone(Long milestoneId) |
List<org.squashtest.tm.domain.milestone.Milestone> |
getAllBindedMilestoneForProject(Long projectId)
Get the list of all milestone bound to the project
|
List<org.squashtest.tm.domain.project.GenericProject> |
getAllProjectForMilestone(Long milestoneId)
If the milestone range is GLOBAL, the bound project are returned.
|
void |
unbindAllMilestonesFromProject(org.squashtest.tm.domain.project.GenericProject project)
Unbinds a project from all its Milestones if any.
|
void |
unbindMilestonesFromProject(List<Long> milestoneIds,
Long projectId)
Unbind multiple milestone from a project.
|
void |
unbindProjectsFromMilestone(List<Long> projectIds,
Long milestoneId)
Unbind multiple projects from a milestone.
|
void |
unbindProjectsFromMilestoneKeepInPerimeter(List<Long> projectIds,
Long milestoneId)
Unbind multiple projects from a milestone.
|
void |
unbindTemplateFrom(Long milestoneId) |
void bindMilestonesToProject(List<Long> milestoneIds, Long projectId)
milestoneIds - ids of the milestone to bindprojectId - id of the project milestone must be bound tovoid bindProjectsToMilestone(List<Long> projectIds, Long milestoneId)
projectIds - ids of project the milestone must be bound tomilestoneId - the milestone to bindList<org.squashtest.tm.domain.milestone.Milestone> getAllBindedMilestoneForProject(Long projectId)
projectId - the id of projecList<org.squashtest.tm.domain.milestone.Milestone> getAllBindableMilestoneForProject(Long projectId)
projectId - the id of projectList<org.squashtest.tm.domain.milestone.Milestone> getAllBindableMilestoneForProject(Long projectId, String type)
projectId - the id of projecttype - the filter to be applied. If set to "global", will find only global milestone. If set to
"personal" will find non global milestone owned by current user. If any other value is supplied will
return all non global non owned milestone (that the user can see).List<org.squashtest.tm.domain.project.GenericProject> getAllBindableProjectForMilestone(Long milestoneId)
milestoneId - the id of milestoneList<org.squashtest.tm.domain.project.GenericProject> getAllProjectForMilestone(Long milestoneId)
milestoneId - void unbindMilestonesFromProject(List<Long> milestoneIds, Long projectId)
milestoneIds - ids of the milestoneprojectId - id of the projectvoid unbindAllMilestonesFromProject(org.squashtest.tm.domain.project.GenericProject project)
project - void unbindProjectsFromMilestone(List<Long> projectIds, Long milestoneId)
projectIds - ids of projectsmilestoneId - id of the milestonevoid unbindProjectsFromMilestoneKeepInPerimeter(List<Long> projectIds, Long milestoneId)
projectIds - ids of projectsmilestoneId - id of the milestonevoid unbindTemplateFrom(Long milestoneId)
Copyright © 2010–2017 Henix, henix.fr. All rights reserved.