org.squashtest.csp.tm.internal.service
Class CustomCampaignModificationServiceImpl
java.lang.Object
org.squashtest.csp.tm.internal.service.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()
findById
@PostAuthorize(value="hasPermission(returnObject,\'READ\') or hasRole(\'ROLE_ADMIN\')")
public Campaign findById(long campaignId)
- Specified by:
findById in interface CustomCampaignModificationService
rename
@PreAuthorize(value="hasPermission(#campaignId, \'org.squashtest.csp.tm.domain.campaign.Campaign\' ,\'WRITE\') or hasRole(\'ROLE_ADMIN\')")
public void rename(long campaignId,
String newName)
- Specified by:
rename in interface CustomCampaignModificationService
findTestPlanByCampaignId
@PreAuthorize(value="hasPermission(#campaignId, \'org.squashtest.csp.tm.domain.campaign.Campaign\' ,\'READ\') or hasRole(\'ROLE_ADMIN\')")
public FilteredCollectionHolder<List<CampaignTestPlanItem>> findTestPlanByCampaignId(long campaignId,
CollectionSorting filter)
- Specified by:
findTestPlanByCampaignId in interface CustomCampaignModificationService
Copyright © 2010-2012 Squashtest TM, Squashtest.org. All Rights Reserved.