public class MilestoneDaoImpl extends Object implements CustomMilestoneDao
CustomMilestoneDao.HolderConsumer| Constructor and Description |
|---|
MilestoneDaoImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
bindMilestoneToProjectRequirementVersions(long projectId,
long milestoneId) |
void |
bindMilestoneToProjectTestCases(long projectId,
long milestoneId) |
Collection<org.squashtest.tm.domain.milestone.Milestone> |
findAllMilestonesForTestCase(long testCaseId) |
Collection<org.squashtest.tm.domain.milestone.Milestone> |
findAssociableMilestonesForCampaign(long campaignId) |
Collection<org.squashtest.tm.domain.milestone.Milestone> |
findAssociableMilestonesForRequirementVersion(long versionId) |
Collection<org.squashtest.tm.domain.milestone.Milestone> |
findAssociableMilestonesForTestCase(long testCaseId) |
Collection<Long> |
findRequirementVersionIdsBoundToMilestones(Collection<Long> milestoneIds) |
Collection<Long> |
findTestCaseIdsBoundToMilestones(Collection<Long> milestoneIds) |
boolean |
isBoundToAtleastOneObject(long milestoneId) |
boolean |
isMilestoneBoundToACampainInProjects(Long milestoneId,
List<Long> projectIds) |
boolean |
isMilestoneBoundToOneObjectOfProject(Long milestoneId,
Long projectId) |
boolean |
isOneMilestoneAlreadyBindToAnotherRequirementVersion(List<Long> reqVIds,
List<Long> milestoneIds) |
boolean |
isTestCaseMilestoneDeletable(long testCaseId) |
boolean |
isTestCaseMilestoneModifiable(long testCaseId) |
void |
performBatchUpdate(CustomMilestoneDao.HolderConsumer consumer)
Warning : This method may clear your session.
|
void |
synchronizeRequirementVersions(long source,
long target,
List<Long> projectIds) |
void |
synchronizeTestCases(long source,
long target,
List<Long> projectIds) |
void |
unbindAllObjects(long milestoneId)
Warning : This method may clear your session.
|
void |
unbindAllObjectsForProject(Long milestoneId,
Long projectId)
Warning : This method may clear your session.
|
void |
unbindAllObjectsForProjects(Long milestoneId,
List<Long> projectIds)
Warning : This method may clear your session.
|
public Collection<org.squashtest.tm.domain.milestone.Milestone> findAssociableMilestonesForTestCase(long testCaseId)
findAssociableMilestonesForTestCase in interface CustomMilestoneDaopublic Collection<org.squashtest.tm.domain.milestone.Milestone> findAllMilestonesForTestCase(long testCaseId)
findAllMilestonesForTestCase in interface CustomMilestoneDaopublic boolean isTestCaseMilestoneDeletable(long testCaseId)
isTestCaseMilestoneDeletable in interface CustomMilestoneDaopublic boolean isTestCaseMilestoneModifiable(long testCaseId)
isTestCaseMilestoneModifiable in interface CustomMilestoneDaopublic Collection<org.squashtest.tm.domain.milestone.Milestone> findAssociableMilestonesForRequirementVersion(long versionId)
findAssociableMilestonesForRequirementVersion in interface CustomMilestoneDaopublic Collection<org.squashtest.tm.domain.milestone.Milestone> findAssociableMilestonesForCampaign(long campaignId)
findAssociableMilestonesForCampaign in interface CustomMilestoneDaopublic void bindMilestoneToProjectTestCases(long projectId,
long milestoneId)
bindMilestoneToProjectTestCases in interface CustomMilestoneDaopublic void bindMilestoneToProjectRequirementVersions(long projectId,
long milestoneId)
bindMilestoneToProjectRequirementVersions in interface CustomMilestoneDaopublic void synchronizeRequirementVersions(long source,
long target,
List<Long> projectIds)
synchronizeRequirementVersions in interface CustomMilestoneDaopublic void synchronizeTestCases(long source,
long target,
List<Long> projectIds)
synchronizeTestCases in interface CustomMilestoneDaopublic void performBatchUpdate(CustomMilestoneDao.HolderConsumer consumer)
CustomMilestoneDaoperformBatchUpdate in interface CustomMilestoneDaoorg.squashtest.tm.service.internal.repository.MilestoneDao#performBatchUpdate(org.squashtest.tm.service.internal.repository.MilestoneDao.HolderConsumer)public boolean isBoundToAtleastOneObject(long milestoneId)
isBoundToAtleastOneObject in interface CustomMilestoneDaopublic void unbindAllObjectsForProject(Long milestoneId, Long projectId)
CustomMilestoneDaounbindAllObjectsForProject in interface CustomMilestoneDaopublic void unbindAllObjectsForProjects(Long milestoneId, List<Long> projectIds)
CustomMilestoneDaounbindAllObjectsForProjects in interface CustomMilestoneDaopublic void unbindAllObjects(long milestoneId)
CustomMilestoneDaounbindAllObjects in interface CustomMilestoneDaopublic boolean isMilestoneBoundToACampainInProjects(Long milestoneId, List<Long> projectIds)
isMilestoneBoundToACampainInProjects in interface CustomMilestoneDaopublic boolean isMilestoneBoundToOneObjectOfProject(Long milestoneId, Long projectId)
isMilestoneBoundToOneObjectOfProject in interface CustomMilestoneDaopublic boolean isOneMilestoneAlreadyBindToAnotherRequirementVersion(List<Long> reqVIds, List<Long> milestoneIds)
isOneMilestoneAlreadyBindToAnotherRequirementVersion in interface CustomMilestoneDaopublic Collection<Long> findTestCaseIdsBoundToMilestones(Collection<Long> milestoneIds)
findTestCaseIdsBoundToMilestones in interface CustomMilestoneDaopublic Collection<Long> findRequirementVersionIdsBoundToMilestones(Collection<Long> milestoneIds)
findRequirementVersionIdsBoundToMilestones in interface CustomMilestoneDaoCopyright © 2010–2017 Henix, henix.fr. All rights reserved.