|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stratelia.webactiv.util.question.control.QuestionBmEJB
public class QuestionBmEJB
Question Business Manager See QuestionBmBusinessSkeleton for methods documentation
| Constructor Summary | |
|---|---|
QuestionBmEJB()
|
|
| Method Summary | |
|---|---|
void |
createAnswersToAQuestion(Question questionDetail)
Create some answers to a question |
AnswerPK |
createAnswerToAQuestion(Answer answerDetail,
QuestionPK questionPK)
Add an answer to a question |
QuestionPK |
createQuestion(Question question)
Create a new question |
void |
createQuestions(Collection<Question> questions,
String fatherId)
Create some questions to a given father |
void |
deleteAnswersToAQuestion(QuestionPK questionPK)
Delete all answers to a question |
void |
deleteAnswerToAQuestion(AnswerPK answerPK,
QuestionPK questionPK)
Delete an answer to a question |
void |
deleteQuestion(QuestionPK questionPK)
Delete a question |
void |
deleteQuestionsByFatherPK(QuestionPK questionPK,
String fatherId)
Delete the questions of a father |
Question |
getQuestion(QuestionPK questionPK)
Get a question |
Collection<Question> |
getQuestionsByFatherPK(QuestionPK questionPK,
String fatherId)
Get all questions for a given father |
void |
updateAnswersToAQuestion(Question questionDetail)
Update the answers to a question |
void |
updateAnswerToAQuestion(Answer answerDetail)
Update an answer to a question |
void |
updateQuestion(Question questionDetail)
Update a question |
void |
updateQuestionHeader(Question questionDetail)
Update a question header (self attributes) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QuestionBmEJB()
| Method Detail |
|---|
public Question getQuestion(QuestionPK questionPK)
QuestionBm
getQuestion in interface QuestionBmquestionPK - the question id
public Collection<Question> getQuestionsByFatherPK(QuestionPK questionPK,
String fatherId)
QuestionBm
getQuestionsByFatherPK in interface QuestionBmquestionPK - the question idfatherId - the father id
public QuestionPK createQuestion(Question question)
QuestionBm
createQuestion in interface QuestionBmquestion - the question to create
public void createQuestions(Collection<Question> questions,
String fatherId)
QuestionBm
createQuestions in interface QuestionBmquestions - a Collection of Question to createfatherId - the father id
public void deleteQuestionsByFatherPK(QuestionPK questionPK,
String fatherId)
QuestionBm
deleteQuestionsByFatherPK in interface QuestionBmquestionPK - the question contextfatherId - the father idpublic void deleteQuestion(QuestionPK questionPK)
QuestionBm
deleteQuestion in interface QuestionBmquestionPK - the question id to deletepublic void updateQuestion(Question questionDetail)
QuestionBm
updateQuestion in interface QuestionBmquestionDetail - the question to updatepublic void updateQuestionHeader(Question questionDetail)
QuestionBm
updateQuestionHeader in interface QuestionBmquestionDetail - the question attributespublic void updateAnswersToAQuestion(Question questionDetail)
QuestionBm
updateAnswersToAQuestion in interface QuestionBmquestionDetail - the question containing the answerspublic void updateAnswerToAQuestion(Answer answerDetail)
QuestionBm
updateAnswerToAQuestion in interface QuestionBmanswerDetail - the answer to updatepublic void deleteAnswersToAQuestion(QuestionPK questionPK)
QuestionBm
deleteAnswersToAQuestion in interface QuestionBmquestionPK - the question
public void deleteAnswerToAQuestion(AnswerPK answerPK,
QuestionPK questionPK)
QuestionBm
deleteAnswerToAQuestion in interface QuestionBmanswerPK - the answer id to deletequestionPK - the question idpublic void createAnswersToAQuestion(Question questionDetail)
QuestionBm
createAnswersToAQuestion in interface QuestionBmquestionDetail - the question which contains the answers
public AnswerPK createAnswerToAQuestion(Answer answerDetail,
QuestionPK questionPK)
QuestionBm
createAnswerToAQuestion in interface QuestionBmanswerDetail - the new answerquestionPK - the question id
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||