public interface MilestoneDao extends EntityDao<org.squashtest.tm.domain.milestone.Milestone>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
MilestoneDao.HolderConsumer |
| Modifier and Type | Method and Description |
|---|---|
void |
bindMilestoneToProjectRequirementVersions(long projectId,
long milestoneId) |
void |
bindMilestoneToProjectTestCases(long projectId,
long milestoneId) |
void |
checkLabelAvailability(String label) |
long |
countMilestones() |
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<org.squashtest.tm.domain.milestone.Milestone> |
findAssociableMilestonesForUser(long UserId) |
org.squashtest.tm.domain.milestone.Milestone |
findByName(String name) |
Collection<org.squashtest.tm.domain.campaign.Campaign> |
findCampaignsForMilestone(long milestoneId) |
Collection<org.squashtest.tm.domain.milestone.Milestone> |
findMilestonesForCampaign(long campaignId) |
Collection<org.squashtest.tm.domain.milestone.Milestone> |
findMilestonesForIteration(long iterationId) |
Collection<org.squashtest.tm.domain.milestone.Milestone> |
findMilestonesForRequirementVersion(long versionId) |
Collection<org.squashtest.tm.domain.milestone.Milestone> |
findMilestonesForTestSuite(long suiteId) |
Collection<org.squashtest.tm.domain.milestone.Milestone> |
findProjectMilestones(long projectId)
returns the milestones available for the given project
|
boolean |
isBoundToAtleastOneObject(long milestoneId) |
boolean |
isMilestoneBoundToOneObjectOfProject(Long milestoneId,
Long projectId) |
boolean |
isOneMilestoneAlreadyBindToAnotherRequirementVersion(List<Long> reqVIds,
List<Long> milestoneIds) |
boolean |
isTestCaseMilestoneDeletable(long testCaseId) |
boolean |
isTestCaseMilestoneModifiable(long testCaseId) |
void |
performBatchUpdate(MilestoneDao.HolderConsumer consumer) |
void |
synchronizeRequirementVersions(long source,
long target,
List<Long> projectIds) |
void |
synchronizeTestCases(long source,
long target,
List<Long> projectIds) |
void |
unbindAllObjects(long milestoneId) |
void |
unbindAllObjectsForProject(Long id,
Long projectId) |
void |
unbindAllObjectsForProjects(Long milestoneId,
List<Long> projectIds) |
findAll, findAllByIds, findByIdclearFromCache, clearFromCache, flush, persist, persist, remove, removeAlllong countMilestones()
void checkLabelAvailability(String label)
Collection<org.squashtest.tm.domain.milestone.Milestone> findProjectMilestones(long projectId)
projectId - Collection<org.squashtest.tm.domain.milestone.Milestone> findAssociableMilestonesForTestCase(long testCaseId)
Collection<org.squashtest.tm.domain.milestone.Milestone> findAllMilestonesForTestCase(long testCaseId)
boolean isTestCaseMilestoneDeletable(long testCaseId)
boolean isTestCaseMilestoneModifiable(long testCaseId)
Collection<org.squashtest.tm.domain.milestone.Milestone> findAssociableMilestonesForUser(long UserId)
void bindMilestoneToProjectTestCases(long projectId,
long milestoneId)
void bindMilestoneToProjectRequirementVersions(long projectId,
long milestoneId)
Collection<org.squashtest.tm.domain.milestone.Milestone> findAssociableMilestonesForRequirementVersion(long versionId)
Collection<org.squashtest.tm.domain.milestone.Milestone> findMilestonesForRequirementVersion(long versionId)
Collection<org.squashtest.tm.domain.milestone.Milestone> findAssociableMilestonesForCampaign(long campaignId)
Collection<org.squashtest.tm.domain.milestone.Milestone> findMilestonesForCampaign(long campaignId)
Collection<org.squashtest.tm.domain.milestone.Milestone> findMilestonesForIteration(long iterationId)
Collection<org.squashtest.tm.domain.milestone.Milestone> findMilestonesForTestSuite(long suiteId)
Collection<org.squashtest.tm.domain.campaign.Campaign> findCampaignsForMilestone(long milestoneId)
void synchronizeRequirementVersions(long source,
long target,
List<Long> projectIds)
void performBatchUpdate(MilestoneDao.HolderConsumer consumer)
boolean isBoundToAtleastOneObject(long milestoneId)
void unbindAllObjects(long milestoneId)
org.squashtest.tm.domain.milestone.Milestone findByName(String name)
boolean isMilestoneBoundToOneObjectOfProject(Long milestoneId, Long projectId)
void unbindAllObjectsForProjects(Long milestoneId, List<Long> projectIds)
Copyright © 2010-2015 Henix, henix.fr. All Rights Reserved.