|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Title: open Flexible Java Online Research Designer
Description: Business Interface
Copyright: Copyright (c) 2003 Ingo Düppe
Company: University of Muenster
Method Summary | |
Survey |
createSurvey(Survey survey)
Creates a new survey. |
void |
deleteSurvey(java.lang.String surveyId)
Deletes the specified survey object |
void |
deleteSurvey(Survey survey)
Deletes the specified survey object |
Survey |
getSurvey(java.lang.String surveyId)
Look up for a special survey defined by its id. |
java.util.Collection |
getSurveys()
Gives back a collection of survey objects belonging to the researcher |
Survey |
updateSurvey(Survey survey)
Updates a survey specified by his given primary key. |
Method Detail |
public java.util.Collection getSurveys() throws java.rmi.RemoteException
java.rmi.RemoteException
public Survey getSurvey(java.lang.String surveyId) throws SurveyManagerException, java.rmi.RemoteException
surveyId
- - primary key of the survey
SurveyManagerException
- - no survey with this given id
java.rmi.RemoteException
- - something gone wrongpublic Survey createSurvey(Survey survey) throws java.rmi.RemoteException
survey
- - optional parameter defining an template structure for the new template
java.rmi.RemoteException
- - somthing gone wrongpublic Survey updateSurvey(Survey survey) throws SurveyManagerException, java.rmi.RemoteException
survey
- containing the new data for survey.
SurveyManagerException
- - specified survey not found or could not update the survey
java.rmi.RemoteException
- - somthing gone wrongpublic void deleteSurvey(Survey survey) throws SurveyManagerException, java.rmi.RemoteException
survey
- the survey to be deleted
SurveyManagerException
- could not find or delete the survey
java.rmi.RemoteException
- something gone wrongpublic void deleteSurvey(java.lang.String surveyId) throws SurveyManagerException, java.rmi.RemoteException
surveyId
- primary key of the survey
SurveyManagerException
- could not find or delete the survey
java.rmi.RemoteException
- something gone wrong
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |