|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TestAutomationProjectDao
| Method Summary | |
|---|---|
org.squashtest.tm.domain.testautomation.TestAutomationProject |
findByExample(org.squashtest.tm.domain.testautomation.TestAutomationProject example)
Given a detached (or even attached) TestAutomationProject example, will fetch a TestAutomationProject
having the same characteristics. |
org.squashtest.tm.domain.testautomation.TestAutomationProject |
findById(Long projectId)
|
void |
persist(org.squashtest.tm.domain.testautomation.TestAutomationProject newProject)
Will persist a new TestAutomationProject. |
org.squashtest.tm.domain.testautomation.TestAutomationProject |
uniquePersist(org.squashtest.tm.domain.testautomation.TestAutomationProject newProject)
Will persist a TestAutomationProject if really new, or return the existing instance if not. |
| Method Detail |
|---|
void persist(org.squashtest.tm.domain.testautomation.TestAutomationProject newProject)
TestAutomationProject. 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.
newProject -
NonUniqueEntityException - if the given server happen to exist already.org.squashtest.tm.domain.testautomation.TestAutomationProject uniquePersist(org.squashtest.tm.domain.testautomation.TestAutomationProject newProject)
newProject -
org.squashtest.tm.domain.testautomation.TestAutomationProject findById(Long projectId)
id -
org.squashtest.tm.domain.testautomation.TestAutomationProject findByExample(org.squashtest.tm.domain.testautomation.TestAutomationProject example)
Given a detached (or even attached) TestAutomationProject example, will fetch a TestAutomationProject
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||