/* * Enregistre une FAQ */ public long saveNewFAQ() throws QuestionReplyException { newQuestion.setStatus(2); // close newQuestion.setReplyNumber(1); newQuestion.setPublicReplyNumber(1); newQuestion.setPrivateReplyNumber(0); newReply.setPublicReply(1); newReply.setPrivateReply(0); WAPrimaryKey pk = newReply.getPK(); pk.setComponentName(getComponentId()); newReply.setPK(pk); return getQuestionManager().createQuestionReply(newQuestion, newReply); }