|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.heckmansoft.surjey.model.datastore.Datastore
com.heckmansoft.surjey.model.datastore.ResponseDatastore
com.heckmansoft.surjey.model.manager.ResponseManager
Manages Response objects.
| Constructor Summary | |
ResponseManager()
|
|
| Method Summary | |
Response |
createResponse()
Create a new response. |
ValueObjectList |
getResponseAnswers(java.lang.String id)
For a given response id, get the subordinate answers. |
boolean |
insert(Response response)
Creates a managed Response instance from response. |
boolean |
remove(Response response)
Removes given response. |
boolean |
remove(java.lang.String id)
Removes response with given id. |
| Methods inherited from class com.heckmansoft.surjey.model.datastore.ResponseDatastore |
extract, findById, findBySurveyIdAndAddress, getArgs |
| Methods inherited from class com.heckmansoft.surjey.model.datastore.Datastore |
executeDelete, executeInsert, executeUpdate, extract, extractList, extractSingle, findAll, generateDeleteSQL, generateInsertSQL, generateSelectSQL, generateUpdateSQL, getConnection, getTransaction, insert, insert, populateStatement, remove, remove, selectAll, selectById, selectWhere, update, update |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ResponseManager()
| Method Detail |
public boolean insert(Response response)
throws DatastoreException
response - A response instance
DatastoreException
public boolean remove(Response response)
throws DatastoreException
response - Response to be removed.
DatastoreException
public boolean remove(java.lang.String id)
throws DatastoreException
remove in class Datastoreid - Id of response to be removed.
DatastoreException
public ValueObjectList getResponseAnswers(java.lang.String id)
throws DatastoreException
id - Response id to get the answers for.
DatastoreExceptionpublic Response createResponse()
createResponse in class ResponseDatastore
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||