|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.openfjord.business.workflow.SurveyAssemblerBean
This class will copy a survey structure composed of survey elements from a value object structur to a entity bean structure.
Title: openFJORD
Description: open Flexible Java Online Research Designer
Company: University of Muenster
Field Summary | |
static java.lang.String |
SURVEY_ELEMENT_JNDI
|
Constructor Summary | |
SurveyAssemblerBean()
|
Method Summary | |
void |
ejbActivate()
|
void |
ejbCreate()
|
void |
ejbPassivate()
|
void |
ejbRemove()
|
Survey |
getSurvey(SurveyLocal surveyEJB)
Create a value object with relationship structure of the stored survey. |
void |
setSessionContext(javax.ejb.SessionContext sessionContext)
|
void |
updateSurvey(SurveyLocal surveyEJB,
Survey surveyVO)
This method will trace the survey value object and try to store the data structure into entity beans. |
void |
updateSurveyElementContainer(SurveyElementLocal containerEJB,
SurveyElementContainer containerVO)
The structure is copied from the value object to the entity bean(s). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String SURVEY_ELEMENT_JNDI
Constructor Detail |
public SurveyAssemblerBean()
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 Survey getSurvey(SurveyLocal surveyEJB)
surveyEJB
- - reference to the stored survey bean
public void updateSurvey(SurveyLocal surveyEJB, Survey surveyVO)
public void updateSurveyElementContainer(SurveyElementLocal containerEJB, SurveyElementContainer containerVO)
containerEJB
- reference to the original survey element, must be a SurveyHeader, Footer or ParagraphcontainerVO
- value object containing the new dataSurveyElementBean
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |