Uses of Class
org.silverpeas.core.questioncontainer.answer.model.AnswerPK
-
-
Uses of AnswerPK in org.silverpeas.core.questioncontainer.answer.dao
Methods in org.silverpeas.core.questioncontainer.answer.dao with parameters of type AnswerPK Modifier and Type Method Description static void
AnswerDAO. recordThisAnswerAsVote(Connection con, ResourceReference questionPK, AnswerPK answerPK)
Record that the answer (answerPK) has been chosen to the question (questionPK) -
Uses of AnswerPK in org.silverpeas.core.questioncontainer.answer.model
Methods in org.silverpeas.core.questioncontainer.answer.model that return AnswerPK Modifier and Type Method Description AnswerPK
Answer. getPK()
Methods in org.silverpeas.core.questioncontainer.answer.model with parameters of type AnswerPK Modifier and Type Method Description void
Answer. setPK(AnswerPK pk)
Constructors in org.silverpeas.core.questioncontainer.answer.model with parameters of type AnswerPK Constructor Description Answer(AnswerPK pk, ResourceReference questionPK, String label, int nbPoints, boolean isSolution, String comment, int nbVoters, boolean isOpened, String image, String questionLink)
Answer(AnswerPK pk, ResourceReference questionPK, String label, int nbPointsPos, int nbPointsNeg, boolean isSolution, String comment, int nbVoters, boolean isOpened, String image)
Deprecated.Answer(AnswerPK pk, ResourceReference questionPK, String label, String comment, int nbVoters, boolean isOpened, String image, String questionLink)
-
Uses of AnswerPK in org.silverpeas.core.questioncontainer.answer.service
Methods in org.silverpeas.core.questioncontainer.answer.service with parameters of type AnswerPK Modifier and Type Method Description void
AnswerService. recordThisAnswerAsVote(ResourceReference questionPK, AnswerPK answerPK)
Record that the answer (answerPK) has been chosen to the question (questionPK)void
DefaultAnswerService. recordThisAnswerAsVote(ResourceReference questionPK, AnswerPK answerPK)
-
Uses of AnswerPK in org.silverpeas.core.questioncontainer.container.service
Methods in org.silverpeas.core.questioncontainer.container.service with parameters of type AnswerPK Modifier and Type Method Description QuestionResult
DefaultQuestionContainerService. getSuggestion(String userId, QuestionPK questionPK, AnswerPK answerPK)
QuestionResult
QuestionContainerService. getSuggestion(String userId, QuestionPK questionPK, AnswerPK answerPK)
Return the suggestion of the user, for the question and the answer -
Uses of AnswerPK in org.silverpeas.core.questioncontainer.question.service
Methods in org.silverpeas.core.questioncontainer.question.service that return AnswerPK Modifier and Type Method Description AnswerPK
DefaultQuestionService. createAnswerToAQuestion(Answer answerDetail, QuestionPK questionPK)
AnswerPK
QuestionService. createAnswerToAQuestion(Answer answerDetail, QuestionPK questionPK)
Add an answer to a questionMethods in org.silverpeas.core.questioncontainer.question.service with parameters of type AnswerPK Modifier and Type Method Description void
DefaultQuestionService. deleteAnswerToAQuestion(AnswerPK answerPK, QuestionPK questionPK)
void
QuestionService. deleteAnswerToAQuestion(AnswerPK answerPK, QuestionPK questionPK)
Delete an answer to a question -
Uses of AnswerPK in org.silverpeas.core.questioncontainer.result.dao
Methods in org.silverpeas.core.questioncontainer.result.dao with parameters of type AnswerPK Modifier and Type Method Description static QuestionResult
QuestionResultDAO. getUserAnswerToQuestion(Connection con, String userId, ResourceReference questionPK, AnswerPK answerPK)
-
Uses of AnswerPK in org.silverpeas.core.questioncontainer.result.model
Methods in org.silverpeas.core.questioncontainer.result.model that return AnswerPK Modifier and Type Method Description AnswerPK
QuestionResult. getAnswerPK()
Methods in org.silverpeas.core.questioncontainer.result.model with parameters of type AnswerPK Modifier and Type Method Description void
QuestionResult. setAnswerPK(AnswerPK answerPK)
Constructors in org.silverpeas.core.questioncontainer.result.model with parameters of type AnswerPK Constructor Description QuestionResult(QuestionResultPK pk, ResourceReference questionPK, AnswerPK answerPK, String userId, String openedAnswer)
Smallest QuestionResult ConstructorQuestionResult(QuestionResultPK pk, ResourceReference questionPK, AnswerPK answerPK, String userId, String openedAnswer, int nbPoints, String voteDate, int elapsedTime, int participationId)
QuestionResult(QuestionResultPK pk, ResourceReference questionPK, AnswerPK answerPK, String userId, String openedAnswer, String voteDate)
QuestionResult(QuestionResultPK pk, ResourceReference questionPK, AnswerPK answerPK, String userId, String openedAnswer, String voteDate, int elapsedTime, int participationId)
-
Uses of AnswerPK in org.silverpeas.core.questioncontainer.result.service
Methods in org.silverpeas.core.questioncontainer.result.service with parameters of type AnswerPK Modifier and Type Method Description QuestionResult
DefaultQuestionResultService. getUserAnswerToQuestion(String userId, ResourceReference questionPK, AnswerPK answerPK)
QuestionResult
QuestionResultService. getUserAnswerToQuestion(String userId, ResourceReference questionPK, AnswerPK answerPK)
Return result for a question and an answer of a user
-