@Transactional @Service(value="squashtest.tm.service.TestAutomationServerManagementService") public class TestAutomationServerManagerServiceImpl extends Object implements TestAutomationServerManagerService
| Constructor and Description |
|---|
TestAutomationServerManagerServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
changeDescription(long serverId,
String description) |
void |
changeLogin(long serverId,
String login) |
void |
changeManualSlaveSelection(long serverId,
boolean manualSlaveSelection) |
void |
changeName(long serverId,
String newName)
Will change the name of the server.
|
void |
changePassword(long serverId,
String password) |
void |
changeURL(long serverId,
URL url) |
void |
deleteServer(List<Long> serverIds)
Warning : When using this method there is a risk that your Hibernate beans are not up to
date.
|
void |
deleteServer(long serverId)
Warning : When using this method there is a risk that your Hibernate beans are not up to
date.
|
List<org.squashtest.tm.domain.testautomation.TestAutomationServer> |
findAllOrderedByName() |
org.squashtest.tm.domain.testautomation.TestAutomationServer |
findById(long serverId) |
org.springframework.data.domain.Page<org.squashtest.tm.domain.testautomation.TestAutomationServer> |
findSortedTestAutomationServers(org.springframework.data.domain.Pageable pageable) |
boolean |
hasBoundProjects(long serverId) |
boolean |
hasExecutedTests(long serverId) |
void |
persist(org.squashtest.tm.domain.testautomation.TestAutomationServer server)
Will persist a new
TestAutomationServer. |
public TestAutomationServerManagerServiceImpl()
@PreAuthorize(value="hasRole(\'ROLE_ADMIN\') or hasRole(\'ROLE_TM_PROJECT_MANAGER\')") public org.squashtest.tm.domain.testautomation.TestAutomationServer findById(long serverId)
findById in interface TestAutomationServerManagerService@PreAuthorize(value="hasRole(\'ROLE_ADMIN\')") public void persist(org.squashtest.tm.domain.testautomation.TestAutomationServer server)
TestAutomationServerManagerServiceTestAutomationServer.persist in interface TestAutomationServerManagerServiceserver - : the server to persist@PreAuthorize(value="hasRole(\'ROLE_ADMIN\') or hasRole(\'ROLE_TM_PROJECT_MANAGER\')") public boolean hasBoundProjects(long serverId)
hasBoundProjects in interface TestAutomationServerManagerService@PreAuthorize(value="hasRole(\'ROLE_ADMIN\') or hasRole(\'ROLE_TM_PROJECT_MANAGER\')") public boolean hasExecutedTests(long serverId)
hasExecutedTests in interface TestAutomationServerManagerService@PreAuthorize(value="hasRole(\'ROLE_ADMIN\')") public void deleteServer(long serverId)
TestAutomationServerManagerService
Warning : When using this method there is a risk that your Hibernate beans are not up to
date. Use Session.clear() and Session.refresh(Object) to make sure your they are.
deleteServer in interface TestAutomationServerManagerServiceTestAutomationServerManagerService.deleteServer(long)@PreAuthorize(value="hasRole(\'ROLE_ADMIN\')") public void deleteServer(List<Long> serverIds)
TestAutomationServerManagerService
Warning : When using this method there is a risk that your Hibernate beans are not up to
date. Use Session.clear() and Session.refresh(Object) to make sure your they are.
deleteServer in interface TestAutomationServerManagerService@PreAuthorize(value="hasRole(\'ROLE_ADMIN\') or hasRole(\'ROLE_TM_PROJECT_MANAGER\')") public List<org.squashtest.tm.domain.testautomation.TestAutomationServer> findAllOrderedByName()
findAllOrderedByName in interface TestAutomationServerManagerService@PreAuthorize(value="hasRole(\'ROLE_ADMIN\') or hasRole(\'ROLE_TM_PROJECT_MANAGER\')") public org.springframework.data.domain.Page<org.squashtest.tm.domain.testautomation.TestAutomationServer> findSortedTestAutomationServers(org.springframework.data.domain.Pageable pageable)
findSortedTestAutomationServers in interface TestAutomationServerManagerService@PreAuthorize(value="hasRole(\'ROLE_ADMIN\')")
public void changeURL(long serverId,
URL url)
changeURL in interface TestAutomationServerManagerService@PreAuthorize(value="hasRole(\'ROLE_ADMIN\')")
public void changeName(long serverId,
String newName)
TestAutomationServerManagerServicechangeName in interface TestAutomationServerManagerServiceserverId - : id of the TestAutomationServer to change the name ofnewName - : the new name for the concerned server@PreAuthorize(value="hasRole(\'ROLE_ADMIN\')")
public void changeLogin(long serverId,
String login)
changeLogin in interface TestAutomationServerManagerService@PreAuthorize(value="hasRole(\'ROLE_ADMIN\')")
public void changePassword(long serverId,
String password)
changePassword in interface TestAutomationServerManagerService@PreAuthorize(value="hasRole(\'ROLE_ADMIN\')")
public void changeDescription(long serverId,
String description)
changeDescription in interface TestAutomationServerManagerService@PreAuthorize(value="hasRole(\'ROLE_ADMIN\')")
public void changeManualSlaveSelection(long serverId,
boolean manualSlaveSelection)
changeManualSlaveSelection in interface TestAutomationServerManagerServiceCopyright © 2010–2017 Henix, henix.fr. All rights reserved.