|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.openfjord.business.workflow.SurveyManagerBean
Title: openFJORD
Description: open Flexible Java Online Research Designer
Copyright: Copyright (c) by Ingo Düppe 2003
Company: University of Muenster
SurveyManager,
Serialized Form| Constructor Summary | |
SurveyManagerBean()
|
|
| Method Summary | |
Survey |
createSurvey(Survey survey)
creates a new survey |
void |
deleteSurvey(java.lang.String surveyId)
deletes the specified survey by it primary key |
void |
deleteSurvey(Survey survey)
deletes the survey specified by the passed value object |
void |
ejbActivate()
|
void |
ejbCreate()
|
void |
ejbPassivate()
|
void |
ejbRemove()
|
Survey |
getSurvey(java.lang.String surveyId)
get survey data with all relationships |
java.util.Collection |
getSurveys()
lookups all surveys of the current user. |
void |
setSessionContext(javax.ejb.SessionContext sessionContext)
|
Survey |
updateSurvey(Survey survey)
updates the survey entity bean with the passed survey value object |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SurveyManagerBean()
| Method Detail |
public void ejbCreate()
throws javax.ejb.CreateException
javax.ejb.CreateExceptionpublic void ejbRemove()
ejbRemove in interface javax.ejb.SessionBeanpublic void ejbActivate()
ejbActivate in interface javax.ejb.SessionBeanpublic void ejbPassivate()
ejbPassivate in interface javax.ejb.SessionBeanpublic void setSessionContext(javax.ejb.SessionContext sessionContext)
setSessionContext in interface javax.ejb.SessionBeanpublic java.util.Collection getSurveys()
getSurveys in interface SurveyManager
public Survey getSurvey(java.lang.String surveyId)
throws SurveyManagerException
getSurvey in interface SurveyManagersurveyId - primary key of the survey
SurveyManagerExceptionpublic Survey createSurvey(Survey survey)
createSurvey in interface SurveyManagersurvey - optional reference to a survey template
public Survey updateSurvey(Survey survey)
throws SurveyManagerException
updateSurvey in interface SurveyManagersurvey - object containing the data to be stored
SurveyManagerException
public void deleteSurvey(Survey survey)
throws SurveyManagerException
deleteSurvey in interface SurveyManagersurvey - value object of the survey
SurveyManagerException
public void deleteSurvey(java.lang.String surveyId)
throws SurveyManagerException
deleteSurvey in interface SurveyManagersurveyId - primary key of the survey
SurveyManagerException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||