org.squashtest.csp.tm.internal.service
Class CustomRequirementModificationServiceImpl

java.lang.Object
  extended by org.squashtest.csp.tm.internal.service.CustomRequirementModificationServiceImpl
All Implemented Interfaces:
CustomRequirementModificationService

@Service(value="CustomRequirementModificationService")
public class CustomRequirementModificationServiceImpl
extends Object
implements CustomRequirementModificationService


Constructor Summary
CustomRequirementModificationServiceImpl()
           
 
Method Summary
 Requirement findById(long reqId)
           
 org.squashtest.csp.core.infrastructure.collection.PagedCollectionHolder<List<TestCase>> findVerifyingTestCasesByRequirementId(long requirementId, org.squashtest.csp.core.infrastructure.collection.PagingAndSorting pagingAndSorting)
           
 void rename(long reqId, String newName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomRequirementModificationServiceImpl

public CustomRequirementModificationServiceImpl()
Method Detail

findById

@PostAuthorize(value="hasPermission(returnObject,\'READ\') or hasRole(\'ROLE_ADMIN\')")
public Requirement findById(long reqId)
Specified by:
findById in interface CustomRequirementModificationService

rename

@PreAuthorize(value="hasPermission(#reqId, \'org.squashtest.csp.tm.domain.requirement.Requirement\', \'WRITE\') or hasRole(\'ROLE_ADMIN\')")
public void rename(long reqId,
                                String newName)
Specified by:
rename in interface CustomRequirementModificationService

findVerifyingTestCasesByRequirementId

@PreAuthorize(value="hasPermission(#requirementId, \'org.squashtest.csp.tm.domain.requirement.Requirement\', \'READ\') or hasRole(\'ROLE_ADMIN\')")
public org.squashtest.csp.core.infrastructure.collection.PagedCollectionHolder<List<TestCase>> findVerifyingTestCasesByRequirementId(long requirementId,
                                                                                                                                                  org.squashtest.csp.core.infrastructure.collection.PagingAndSorting pagingAndSorting)
Specified by:
findVerifyingTestCasesByRequirementId in interface CustomRequirementModificationService
Returns:


Copyright © 2010-2012 Squashtest TM, Squashtest.org. All Rights Reserved.