public class TestAutomationServerDaoImpl extends Object implements CustomTestAutomationServerDao
| Constructor and Description |
|---|
TestAutomationServerDaoImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteServer(long serverId)
Will delete the given TestAutomationServer and dereference it from TM Projects.
|
boolean |
hasBoundProjects(long serverId)
Checks if the
TestAutomationServer is bound to at least one TestAutomationProject |
public boolean hasBoundProjects(long serverId)
CustomTestAutomationServerDaoTestAutomationServer is bound to at least one TestAutomationProjecthasBoundProjects in interface CustomTestAutomationServerDaoserverId - : the id of the concernedTestAutomationServerCustomTestAutomationServerDao.hasBoundProjects(long)public void deleteServer(long serverId)
CustomTestAutomationServerDao
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 CustomTestAutomationServerDaoserverId - the id of the TestAutomationServer to delete.CustomTestAutomationServerDao.deleteServer(long)Copyright © 2010–2017 Henix, henix.fr. All rights reserved.