org.exoplatform.forum.ext.impl
Class AnswersSpaceActivityPublisher
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.faq.service.impl.AnswerEventListener
org.exoplatform.forum.ext.impl.AnswersSpaceActivityPublisher
- All Implemented Interfaces:
- org.exoplatform.container.component.ComponentPlugin, org.exoplatform.faq.service.AnswerEventLifeCycle, org.exoplatform.faq.service.ExtendedAnswerEventLifeCycle
public class AnswersSpaceActivityPublisher
- extends org.exoplatform.faq.service.impl.AnswerEventListener
- Version:
- $Revision$
- Author:
- Patrice
Lamarque
| Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin |
desc, name |
|
Method Summary |
void |
moveQuestions(List<String> questions,
String catId)
|
void |
removeAnswer(String questionPath,
String answerActivityId)
|
void |
removeComment(String questionActivityId,
String commentActivityId,
String questionPath)
|
void |
removeQuestion(String questionActivityId)
|
void |
saveAnswer(String questionId,
org.exoplatform.faq.service.Answer[] answers,
boolean isNew)
|
void |
saveAnswer(String questionId,
org.exoplatform.faq.service.Answer answer,
boolean isNew)
|
void |
saveComment(String questionId,
org.exoplatform.faq.service.Comment cm,
String language)
|
void |
saveQuestion(org.exoplatform.faq.service.Question question,
boolean isNew)
|
void |
unVoteQuestion(String questionId)
|
void |
voteQuestion(String questionId)
|
| Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin |
getDescription, getName, setDescription, setName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SPACE_APP_ID
public static final String SPACE_APP_ID
- See Also:
- Constant Field Values
ANSWER_APP_ID
public static final String ANSWER_APP_ID
- See Also:
- Constant Field Values
QUESTION_ID
public static final String QUESTION_ID
- See Also:
- Constant Field Values
LINK_KEY
public static final String LINK_KEY
- See Also:
- Constant Field Values
LANGUAGE_KEY
public static final String LANGUAGE_KEY
- See Also:
- Constant Field Values
QUESTION_RATING
public static final String QUESTION_RATING
- See Also:
- Constant Field Values
NUMBER_OF_ANSWERS
public static final String NUMBER_OF_ANSWERS
- See Also:
- Constant Field Values
NUMBER_OF_COMMENTS
public static final String NUMBER_OF_COMMENTS
- See Also:
- Constant Field Values
SPACE_GROUP_ID
public static final String SPACE_GROUP_ID
- See Also:
- Constant Field Values
AnswersSpaceActivityPublisher
public AnswersSpaceActivityPublisher()
moveQuestions
public void moveQuestions(List<String> questions,
String catId)
- Specified by:
moveQuestions in interface org.exoplatform.faq.service.ExtendedAnswerEventLifeCycle- Overrides:
moveQuestions in class org.exoplatform.faq.service.impl.AnswerEventListener
saveAnswer
public void saveAnswer(String questionId,
org.exoplatform.faq.service.Answer answer,
boolean isNew)
saveComment
public void saveComment(String questionId,
org.exoplatform.faq.service.Comment cm,
String language)
saveQuestion
public void saveQuestion(org.exoplatform.faq.service.Question question,
boolean isNew)
saveAnswer
public void saveAnswer(String questionId,
org.exoplatform.faq.service.Answer[] answers,
boolean isNew)
voteQuestion
public void voteQuestion(String questionId)
unVoteQuestion
public void unVoteQuestion(String questionId)
removeQuestion
public void removeQuestion(String questionActivityId)
removeAnswer
public void removeAnswer(String questionPath,
String answerActivityId)
removeComment
public void removeComment(String questionActivityId,
String commentActivityId,
String questionPath)
Copyright © 2003–2014 eXo Platform SAS. All rights reserved.