org.squashtest.tm.service.internal.campaign
Class CustomCampaignModificationServiceImpl
java.lang.Object
org.squashtest.tm.service.internal.campaign.CustomCampaignModificationServiceImpl
- All Implemented Interfaces:
- CustomCampaignModificationService
@Service(value="CustomCampaignModificationService")
@Transactional
public class CustomCampaignModificationServiceImpl
- extends Object
- implements CustomCampaignModificationService
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomCampaignModificationServiceImpl
public CustomCampaignModificationServiceImpl()
rename
@PreAuthorize(value="hasPermission(#campaignId, \'org.squashtest.tm.domain.campaign.Campaign\' ,\'WRITE\') or hasRole(\'ROLE_ADMIN\')")
public void rename(long campaignId,
String newName)
- Specified by:
rename in interface CustomCampaignModificationService
findCampaignStatistics
public org.squashtest.tm.domain.campaign.TestPlanStatistics findCampaignStatistics(long campaignId)
- Specified by:
findCampaignStatistics in interface CustomCampaignModificationService
- Parameters:
campaignId - the id of the concerned campaign
- Returns:
- the computed
TestPlanStatistics out of each test-plan-item of each campaign's iteration
findIterationsByCampaignId
@PreAuthorize(value="hasPermission(#campaignId, \'org.squashtest.tm.domain.campaign.Campaign\', \'READ\') or hasRole(\'ROLE_ADMIN\')")
public List<org.squashtest.tm.domain.campaign.Iteration> findIterationsByCampaignId(long campaignId)
- Specified by:
findIterationsByCampaignId in interface CustomCampaignModificationService
gatherCampaignStatisticsBundle
@PreAuthorize(value="hasPermission(#campaignId, \'org.squashtest.tm.domain.campaign.Campaign\', \'READ\') or hasRole(\'ROLE_ADMIN\')")
public CampaignStatisticsBundle gatherCampaignStatisticsBundle(long campaignId)
- Specified by:
gatherCampaignStatisticsBundle in interface CustomCampaignModificationService
Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.