|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TestAutomationServerDao
| Method Summary | |
|---|---|
List<org.squashtest.tm.domain.testautomation.TestAutomationProject> |
findAllHostedProjects(long serverId)
return all the projects that the given server hosts. |
org.squashtest.tm.domain.testautomation.TestAutomationServer |
findByExample(org.squashtest.tm.domain.testautomation.TestAutomationServer example)
Given a detached (or even attached) TestAutomationServer example, will fetch a TestAutomationServer
having the same characteristics. |
org.squashtest.tm.domain.testautomation.TestAutomationServer |
findById(Long id)
|
void |
persist(org.squashtest.tm.domain.testautomation.TestAutomationServer server)
Will persist a new TestAutomationServer. |
org.squashtest.tm.domain.testautomation.TestAutomationServer |
uniquePersist(org.squashtest.tm.domain.testautomation.TestAutomationServer server)
Will persist a TestAutomationServer if really new, or return the existing instance if not. |
| Method Detail |
|---|
void persist(org.squashtest.tm.domain.testautomation.TestAutomationServer server)
TestAutomationServer. Note : each server must have different characteristics, more exactly each combination of
attributes is unique. Therefore if the object to be persisted already exists in the database an exception will be raised instead.
server -
NonUniqueEntityException - if the given server happen to exist already.org.squashtest.tm.domain.testautomation.TestAutomationServer uniquePersist(org.squashtest.tm.domain.testautomation.TestAutomationServer server)
server -
org.squashtest.tm.domain.testautomation.TestAutomationServer findById(Long id)
id -
org.squashtest.tm.domain.testautomation.TestAutomationServer findByExample(org.squashtest.tm.domain.testautomation.TestAutomationServer example)
Given a detached (or even attached) TestAutomationServer example, will fetch a TestAutomationServer
having the same characteristics. Null attributes will be discarded before the comparison.
NonUniqueEntityException - if more than one match. Causes are either a not restrictive enough example... or a bug.List<org.squashtest.tm.domain.testautomation.TestAutomationProject> findAllHostedProjects(long serverId)
serverId -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||