@Service(value="squashtest.tm.service.MilestoneBindingManagerService") public class CustomMilestoneBindingServiceImpl extends Object implements MilestoneBindingManagerService
| Constructor and Description |
|---|
CustomMilestoneBindingServiceImpl() |
| 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) |
public List<org.squashtest.tm.domain.milestone.Milestone> getAllBindableMilestoneForProject(Long projectId)
MilestoneBindingManagerServicegetAllBindableMilestoneForProject in interface MilestoneBindingManagerServiceprojectId - the id of projectpublic void bindMilestonesToProject(List<Long> milestoneIds, Long projectId)
MilestoneBindingManagerServicebindMilestonesToProject in interface MilestoneBindingManagerServicemilestoneIds - ids of the milestone to bindprojectId - id of the project milestone must be bound topublic void bindProjectsToMilestone(List<Long> projectIds, Long milestoneId)
MilestoneBindingManagerServicebindProjectsToMilestone in interface MilestoneBindingManagerServiceprojectIds - ids of project the milestone must be bound tomilestoneId - the milestone to bindpublic List<org.squashtest.tm.domain.milestone.Milestone> getAllBindedMilestoneForProject(Long projectId)
MilestoneBindingManagerServicegetAllBindedMilestoneForProject in interface MilestoneBindingManagerServiceprojectId - the id of projecpublic List<org.squashtest.tm.domain.project.GenericProject> getAllBindableProjectForMilestone(Long milestoneId)
getAllBindableProjectForMilestone in interface MilestoneBindingManagerServicemilestoneId - the id of milestonepublic List<org.squashtest.tm.domain.project.GenericProject> getAllProjectForMilestone(Long milestoneId)
MilestoneBindingManagerServicegetAllProjectForMilestone in interface MilestoneBindingManagerServicepublic void unbindMilestonesFromProject(List<Long> milestoneIds, Long projectId)
MilestoneBindingManagerServiceunbindMilestonesFromProject in interface MilestoneBindingManagerServicemilestoneIds - ids of the milestoneprojectId - id of the projectpublic void unbindAllMilestonesFromProject(@NotNull
org.squashtest.tm.domain.project.GenericProject project)
MilestoneBindingManagerServiceunbindAllMilestonesFromProject in interface MilestoneBindingManagerServicepublic void unbindProjectsFromMilestone(List<Long> projectIds, Long milestoneId)
MilestoneBindingManagerServiceunbindProjectsFromMilestone in interface MilestoneBindingManagerServiceprojectIds - ids of projectsmilestoneId - id of the milestonepublic List<org.squashtest.tm.domain.milestone.Milestone> getAllBindableMilestoneForProject(Long projectId, String type)
MilestoneBindingManagerServicegetAllBindableMilestoneForProject in interface MilestoneBindingManagerServiceprojectId - 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).public void unbindProjectsFromMilestoneKeepInPerimeter(List<Long> projectIds, Long milestoneId)
MilestoneBindingManagerServiceunbindProjectsFromMilestoneKeepInPerimeter in interface MilestoneBindingManagerServiceprojectIds - ids of projectsmilestoneId - id of the milestonepublic void unbindTemplateFrom(Long milestoneId)
unbindTemplateFrom in interface MilestoneBindingManagerServicepublic void bindMilestonesToProjectAndBindObject(Long projectId, List<Long> milestoneIds)
bindMilestonesToProjectAndBindObject in interface MilestoneBindingManagerServiceCopyright © 2010–2017 Henix, henix.fr. All rights reserved.