public interface CampaignLibraryNavigationService extends LibraryNavigationService<org.squashtest.tm.domain.campaign.CampaignLibrary,org.squashtest.tm.domain.campaign.CampaignFolder,org.squashtest.tm.domain.campaign.CampaignLibraryNode>, CampaignLibraryFinderService
| Modifier and Type | Method and Description |
|---|---|
void |
addCampaignToCampaignFolder(long folderId,
org.squashtest.tm.domain.campaign.Campaign campaign)
Adds a campaign to a folder.
|
void |
addCampaignToCampaignFolder(long folderId,
org.squashtest.tm.domain.campaign.Campaign campaign,
Map<Long,org.squashtest.tm.domain.customfield.RawValue> customFieldValues)
Adds a campaign to a folder, and its initial custom field values.
|
void |
addCampaignToCampaignLibrary(long libraryId,
org.squashtest.tm.domain.campaign.Campaign campaign)
Adds a Campaign to the root of the library.
|
void |
addCampaignToCampaignLibrary(long libraryId,
org.squashtest.tm.domain.campaign.Campaign campaign,
Map<Long,org.squashtest.tm.domain.customfield.RawValue> customFieldValues)
Adds a Campaign to the root of the Library, and its initial custom field values.
|
int |
addIterationToCampaign(org.squashtest.tm.domain.campaign.Iteration iteration,
long campaignId,
boolean copyTestPlan)
Adds a new iteration to a campaign.
|
int |
addIterationToCampaign(org.squashtest.tm.domain.campaign.Iteration iteration,
long campaignId,
boolean copyTestPlan,
Map<Long,org.squashtest.tm.domain.customfield.RawValue> customFieldValues)
Adds a new iteration to a campaign.
|
List<org.squashtest.tm.domain.campaign.Iteration> |
copyIterationsToCampaign(long campaignId,
Long[] iterationsIds) |
List<org.squashtest.tm.domain.campaign.CampaignLibraryNode> |
copyNodesToFolder(long destinationId,
Long[] sourceNodesIds)
will create a deep copy of the given LibraryNodes, paste them in the destination folder, and return the copies.
|
List<org.squashtest.tm.domain.campaign.CampaignLibraryNode> |
copyNodesToLibrary(long destinationId,
Long[] targetId)
same, when the destination is a Library.
|
OperationReport |
deleteIterations(List<Long> targetIds)
that method should delete the iterations.
|
OperationReport |
deleteNodes(List<Long> targetIds)
that method should delete the nodes.
|
OperationReport |
deleteSuites(List<Long> suiteIds,
boolean removeFromIter)
that method should delete test suites, and remove its references in iteration and iteration test plan item
|
org.squashtest.tm.domain.campaign.export.CampaignExportCSVModel |
exportCampaignToCSV(Long campaignId,
String exportType)
given a campaign Id, returns a model.
|
List<Long> |
findAllCampaignIdsForMilestone(org.squashtest.tm.domain.milestone.Milestone milestone) |
List<org.squashtest.tm.domain.campaign.TestSuite> |
findIterationContent(long iterationId) |
List<org.squashtest.tm.domain.campaign.Iteration> |
findIterationsByCampaignId(long campaignId) |
List<org.squashtest.tm.domain.campaign.CampaignLibrary> |
findLinkableCampaignLibraries()
Returns the collection of
CampaignLibrarys which Campaigns can be linked by a Campaign via a
CallTestStep |
List<String> |
getParentNodesAsStringList(Long elementId) |
void |
moveIterationsWithinCampaign(long destinationId,
Long[] nodeIds,
int position) |
void |
moveNodesToFolder(long destinationId,
Long[] targetId) |
void |
moveNodesToFolder(long destinationId,
Long[] targetId,
int position) |
void |
moveNodesToLibrary(long destinationId,
Long[] targetId) |
void |
moveNodesToLibrary(long destinationId,
Long[] targetId,
int position) |
List<SuppressionPreviewReport> |
simulateIterationDeletion(List<Long> targetIds)
that method should investigate the consequences of the deletion request of iterations, and return a report about
what will happen.
|
List<SuppressionPreviewReport> |
simulateSuiteDeletion(List<Long> targetIds)
that method should investigate the consequences of the deletion request of tes suites, and return a report about
what will happen.
|
addFolderToFolder, addFolderToLibrary, findCreatableLibrary, findFolder, findFolderContent, findLibrary, findLibraryOfRootNodeIfExist, findLibraryRootContent, findParentIfExists, simulateDeletionfindCampaignIdsFromSelection, gatherCampaignStatisticsBundleByMilestone, getPathAsStringvoid addCampaignToCampaignLibrary(long libraryId,
org.squashtest.tm.domain.campaign.Campaign campaign)
libraryId - campaign - void addCampaignToCampaignLibrary(long libraryId,
org.squashtest.tm.domain.campaign.Campaign campaign,
Map<Long,org.squashtest.tm.domain.customfield.RawValue> customFieldValues)
CustomField to the values of the corresponding CustomFieldValue.
Read that last sentence again.libraryId - campaign - customFieldValues - void addCampaignToCampaignFolder(long folderId,
org.squashtest.tm.domain.campaign.Campaign campaign)
libraryId - campaign - void addCampaignToCampaignFolder(long folderId,
org.squashtest.tm.domain.campaign.Campaign campaign,
Map<Long,org.squashtest.tm.domain.customfield.RawValue> customFieldValues)
CustomField to the values of the corresponding CustomFieldValue.
Read that last sentence again.libraryId - campaign - customFieldValues - void moveIterationsWithinCampaign(long destinationId,
Long[] nodeIds,
int position)
int addIterationToCampaign(org.squashtest.tm.domain.campaign.Iteration iteration,
long campaignId,
boolean copyTestPlan)
iteration - campaignId - int addIterationToCampaign(org.squashtest.tm.domain.campaign.Iteration iteration,
long campaignId,
boolean copyTestPlan,
Map<Long,org.squashtest.tm.domain.customfield.RawValue> customFieldValues)
CustomField to the values of the corresponding CustomFieldValue.
Read that last sentence again.iteration - campaignId - customFieldValues - List<org.squashtest.tm.domain.campaign.Iteration> findIterationsByCampaignId(long campaignId)
List<org.squashtest.tm.domain.campaign.Iteration> copyIterationsToCampaign(long campaignId, Long[] iterationsIds)
List<org.squashtest.tm.domain.campaign.TestSuite> findIterationContent(long iterationId)
List<org.squashtest.tm.domain.campaign.CampaignLibrary> findLinkableCampaignLibraries()
CampaignLibraryFinderServiceCampaignLibrarys which Campaigns can be linked by a Campaign via a
CallTestStepfindLinkableCampaignLibraries in interface CampaignLibraryFinderService - List<SuppressionPreviewReport> simulateIterationDeletion(List<Long> targetIds)
targetIds - OperationReport deleteIterations(List<Long> targetIds)
targetIds - List<SuppressionPreviewReport> simulateSuiteDeletion(List<Long> targetIds)
targetIds - OperationReport deleteSuites(List<Long> suiteIds, boolean removeFromIter)
removeFromIter - testSuites - org.squashtest.tm.domain.campaign.export.CampaignExportCSVModel exportCampaignToCSV(Long campaignId, String exportType)
campaignId - List<Long> findAllCampaignIdsForMilestone(org.squashtest.tm.domain.milestone.Milestone milestone)
List<org.squashtest.tm.domain.campaign.CampaignLibraryNode> copyNodesToFolder(long destinationId, Long[] sourceNodesIds)
LibraryNavigationServicecopyNodesToFolder in interface LibraryNavigationService<org.squashtest.tm.domain.campaign.CampaignLibrary,org.squashtest.tm.domain.campaign.CampaignFolder,org.squashtest.tm.domain.campaign.CampaignLibraryNode>destinationId - the id of the folder where you need to copy to.sourceNodesIds - the list of the librarynodes we want copies of.List<org.squashtest.tm.domain.campaign.CampaignLibraryNode> copyNodesToLibrary(long destinationId, Long[] targetId)
LibraryNavigationServicecopyNodesToLibrary in interface LibraryNavigationService<org.squashtest.tm.domain.campaign.CampaignLibrary,org.squashtest.tm.domain.campaign.CampaignFolder,org.squashtest.tm.domain.campaign.CampaignLibraryNode>destinationId - the id of the library where you need to copy to.targetId - the list of the librarynodes we want copies of.void moveNodesToFolder(long destinationId,
Long[] targetId)
moveNodesToFolder in interface LibraryNavigationService<org.squashtest.tm.domain.campaign.CampaignLibrary,org.squashtest.tm.domain.campaign.CampaignFolder,org.squashtest.tm.domain.campaign.CampaignLibraryNode>void moveNodesToFolder(long destinationId,
Long[] targetId,
int position)
moveNodesToFolder in interface LibraryNavigationService<org.squashtest.tm.domain.campaign.CampaignLibrary,org.squashtest.tm.domain.campaign.CampaignFolder,org.squashtest.tm.domain.campaign.CampaignLibraryNode>void moveNodesToLibrary(long destinationId,
Long[] targetId)
moveNodesToLibrary in interface LibraryNavigationService<org.squashtest.tm.domain.campaign.CampaignLibrary,org.squashtest.tm.domain.campaign.CampaignFolder,org.squashtest.tm.domain.campaign.CampaignLibraryNode>void moveNodesToLibrary(long destinationId,
Long[] targetId,
int position)
moveNodesToLibrary in interface LibraryNavigationService<org.squashtest.tm.domain.campaign.CampaignLibrary,org.squashtest.tm.domain.campaign.CampaignFolder,org.squashtest.tm.domain.campaign.CampaignLibraryNode>OperationReport deleteNodes(List<Long> targetIds)
LibraryNavigationServicedeleteNodes in interface LibraryNavigationService<org.squashtest.tm.domain.campaign.CampaignLibrary,org.squashtest.tm.domain.campaign.CampaignFolder,org.squashtest.tm.domain.campaign.CampaignLibraryNode>Copyright © 2010–2017 Henix, henix.fr. All rights reserved.