|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.openfjord.business.workflow.SurveyManagerDelegate
Title: openFJORD
Description: open Flexible Java Online Research Designer
Copyright: Copyright (c) by Ingo Düppe 2003
Company: University of Muenster
Implementation of the business delegate pattern.Usage:
SurveyManager manager = new SurveyManagerDelegate();
SurveyManager| Constructor Summary | |
SurveyManagerDelegate()
construtor try to receive a remote object of the SurveyManager |
|
| 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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SurveyManagerDelegate()
| Method Detail |
public java.util.Collection getSurveys()
SurveyManager
getSurveys in interface SurveyManager
public Survey getSurvey(java.lang.String surveyId)
throws SurveyManagerException
SurveyManager
getSurvey in interface SurveyManagersurveyId - - primary key of the survey
SurveyManagerException - - no survey with this given idpublic Survey createSurvey(Survey survey)
SurveyManager
createSurvey in interface SurveyManagersurvey - - optional parameter defining an template structure for the new template
public Survey updateSurvey(Survey survey)
throws SurveyManagerException
SurveyManager
updateSurvey in interface SurveyManagersurvey - containing the new data for survey.
SurveyManagerException - - specified survey not found or could not update the survey
public void deleteSurvey(Survey survey)
throws SurveyManagerException
SurveyManager
deleteSurvey in interface SurveyManagersurvey - the survey to be deleted
SurveyManagerException - could not find or delete the survey
public void deleteSurvey(java.lang.String surveyId)
throws SurveyManagerException
SurveyManager
deleteSurvey in interface SurveyManagersurveyId - primary key of the survey
SurveyManagerException - could not find or delete the survey
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||