|
|||||||||||
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 FormConstructor 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.CreateException
public void ejbRemove()
ejbRemove
in interface javax.ejb.SessionBean
public void ejbActivate()
ejbActivate
in interface javax.ejb.SessionBean
public void ejbPassivate()
ejbPassivate
in interface javax.ejb.SessionBean
public void setSessionContext(javax.ejb.SessionContext sessionContext)
setSessionContext
in interface javax.ejb.SessionBean
public java.util.Collection getSurveys()
getSurveys
in interface SurveyManager
public Survey getSurvey(java.lang.String surveyId) throws SurveyManagerException
getSurvey
in interface SurveyManager
surveyId
- primary key of the survey
SurveyManagerException
public Survey createSurvey(Survey survey)
createSurvey
in interface SurveyManager
survey
- optional reference to a survey template
public Survey updateSurvey(Survey survey) throws SurveyManagerException
updateSurvey
in interface SurveyManager
survey
- object containing the data to be stored
SurveyManagerException
public void deleteSurvey(Survey survey) throws SurveyManagerException
deleteSurvey
in interface SurveyManager
survey
- value object of the survey
SurveyManagerException
public void deleteSurvey(java.lang.String surveyId) throws SurveyManagerException
deleteSurvey
in interface SurveyManager
surveyId
- primary key of the survey
SurveyManagerException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |