org.exoplatform.faq.service
Interface FAQServiceLegacy

All Known Subinterfaces:
FAQService
All Known Implementing Classes:
FAQServiceImpl

public interface FAQServiceLegacy

This interface contains all deprecated methods of the ContactService API. Don't rely on them as they will be removed in future.


Method Summary
 void addWatch(java.lang.String id, Watch watch, org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
          Deprecated. use FAQService#addWatch(String id, Watch watch)
 void addWatchQuestion(java.lang.String questionId, Watch watch, boolean isNew, org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider)
          Deprecated. use FAQService.addWatchQuestion(String questionId, Watch watch, boolean isNew)
 void changeStatusCategoryView(java.util.List<java.lang.String> listCateIds, org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
          Deprecated. use FAQService#changeStatusCategoryView(List listCateIds)
 void deleteAnswer(java.lang.String questionId, java.lang.String answerId, org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
          Deprecated. use FAQService.deleteAnswer(String questionId, String answerId)
 void deleteComment(java.lang.String questionId, java.lang.String commentId, org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
          Deprecated. use FAQService.deleteComment(String questionId, String commentId)
 void deleteMailInWatch(java.lang.String categoryId, org.exoplatform.services.jcr.ext.common.SessionProvider sProvider, java.lang.String user)
          Deprecated. use FAQService#deleteMailInWatch(String categoryId, String emails)
 java.util.List<Category> getAllCategories(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
          Deprecated. use FAQService.getAllCategories()
 QuestionPageList getAllQuestions(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
          Deprecated. use FAQService.getAllQuestions()
 QuestionPageList getAllQuestionsByCatetory(java.lang.String categoryId, org.exoplatform.services.jcr.ext.common.SessionProvider sProvider, FAQSetting faqSetting)
          Deprecated. use FAQService#getAllQuestionsByCatetory(String categoryId, FAQSetting faqSetting()
 Answer getAnswerById(java.lang.String questionId, java.lang.String answerid, org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
          Deprecated. use FAQService.getAnswerById(String questionId, String answerid)
 Category getCategoryById(java.lang.String categoryId, org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
          Deprecated. use FAQService.getCategoryById(String categoryId)
 long[] getCategoryInfo(java.lang.String categoryId, org.exoplatform.services.jcr.ext.common.SessionProvider sProvider, FAQSetting setting)
          Deprecated. use FAQService#getCategoryInfo(String categoryId, FAQSetting setting()
 javax.jcr.Node getCategoryNodeById(java.lang.String categoryId, org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
          Deprecated. use FAQService.getCategoryNodeById(String categoryId)
 java.util.List<java.lang.String> getCategoryPath(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider, java.lang.String categoryId)
          Deprecated. use FAQService.getCategoryPath(String categoryId)
 java.lang.String getCategoryPathOfQuestion(java.lang.String categoryId, org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
          Deprecated. use FAQService.getCategoryPathOfQuestion(String categoryId)
 Comment getCommentById(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider, java.lang.String questionId, java.lang.String commentId)
          Deprecated. use FAQService.getCommentById(String questionId, String commentId)
 QuestionPageList getListCategoriesWatch(java.lang.String userId, org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
          Deprecated. use FAQService#getListCategoriesWatch(String userId)
 java.util.List<java.lang.String> getListCateIdByModerator(java.lang.String user, org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
          Deprecated. use FAQService.getListCateIdByModerator(String user)
 QuestionPageList getListQuestionsWatch(FAQSetting faqSetting, java.lang.String currentUser, org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
          Deprecated. use FAQService.getListQuestionsWatch(FAQSetting faqSetting, String currentUser)
 long getMaxindexCategory(java.lang.String parentId, org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
          Deprecated. use FAQService.getMaxindexCategory(String parentId)
 JCRPageList getPageListAnswer(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider, java.lang.String questionId, java.lang.Boolean isSortByVote)
          Deprecated. use FAQService.getPageListAnswer(String questionId, Boolean isSortByVote)
 JCRPageList getPageListComment(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider, java.lang.String questionId)
          Deprecated. use FAQService.getPageListComment(String questionId)
 QuestionPageList getPendingQuestionsByCategory(java.lang.String categoryId, org.exoplatform.services.jcr.ext.common.SessionProvider sProvider, FAQSetting faqSetting)
          Deprecated. use FAQService.getPendingQuestionsByCategory(String categoryId, FAQSetting faqSetting)
 Question getQuestionById(java.lang.String questionId, org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
          Deprecated. use FAQService.getQuestionById(String questionId)
 java.util.List<QuestionLanguage> getQuestionLanguages(java.lang.String questionId, org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
          Deprecated. use FAQService.getQuestionLanguages(String questionId)
 QuestionPageList getQuestionsByCatetory(java.lang.String categoryId, org.exoplatform.services.jcr.ext.common.SessionProvider sProvider, FAQSetting faqSetting)
          Deprecated. use FAQService#getQuestionsByCatetory(String categoryId, FAQSetting faqSetting()
 QuestionPageList getQuestionsByListCatetory(java.util.List<java.lang.String> listCategoryId, boolean isNotYetAnswer, org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
          Deprecated. use FAQService#getQuestionsByListCatetory(List listCategoryId, boolean isNotYetAnswer)
 javax.jcr.NodeIterator getQuestionsIterator(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
          Deprecated. use FAQService.getQuestionsIterator()
 QuestionPageList getQuestionsNotYetAnswer(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider, java.lang.String categoryId, FAQSetting setting)
          Deprecated. use FAQService#getQuestionsNotYetAnswer(String categoryId, FAQSetting setting()
 java.util.List<Category> getSubCategories(java.lang.String categoryId, org.exoplatform.services.jcr.ext.common.SessionProvider sProvider, FAQSetting faqSetting, boolean isGetAll, java.util.List<java.lang.String> userView)
          Deprecated. use FAQService#getSubCategories(String categoryId, FAQSetting faqSetting, List userView)
 FileAttachment getUserAvatar(java.lang.String userName, org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider)
          Deprecated. use FAQService.getUserAvatar(String userName)
 void getUserSetting(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider, java.lang.String userName, FAQSetting faqSetting)
          Deprecated. use FAQService.getUserSetting(String userName, FAQSetting faqSetting)
 boolean getWatchByUser(java.lang.String userId, java.lang.String cateId, org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider)
          Deprecated. use FAQService#getWatchByUser(String userId, String cateId()
 void importData(java.lang.String categoryId, javax.jcr.Session session, java.io.InputStream inputStream, boolean isImportCategory, org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
          Deprecated. use FAQService.importData(String categoryId, InputStream inputStream, boolean isImportCategory)
 boolean isAdminRole(java.lang.String userName, org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider)
          Deprecated. use FAQService.isAdminRole(String userName)
 void moveCategory(java.lang.String categoryId, java.lang.String destCategoryId, org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
          Deprecated. use FAQService.moveCategory(String categoryId, String destCategoryId)
 void moveQuestions(java.util.List<java.lang.String> questions, java.lang.String destCategoryId, org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
          Deprecated. use FAQService#moveQuestions(List questions, String destCategoryId)
 void removeCategory(java.lang.String categoryId, org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
          Deprecated. use FAQService.removeCategory(String categoryId)
 void removeQuestion(java.lang.String questionId, org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
          Deprecated. use FAQService.removeQuestion(String questionId)
 void saveAnswer(java.lang.String questionId, Answer[] answers, org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
          Deprecated. use FAQService.saveAnswer(String questionId, Answer[] answers)
 void saveAnswer(java.lang.String questionId, Answer answer, boolean isNew, org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
          Deprecated. use FAQService.saveAnswer(String questionId, Answer answer, boolean isNew)
 void saveCategory(java.lang.String parentId, Category cat, boolean isAddNew, org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
          Deprecated. use FAQService.saveCategory(String parentId, Category cat, boolean isAddNew)
 void saveComment(java.lang.String questionId, Comment comment, boolean isNew, org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
          Deprecated. use FAQService.saveComment(String questionId, Comment comment, boolean isNew)
 void saveFAQSetting(FAQSetting faqSetting, java.lang.String userName, org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
          Deprecated. use FAQService.saveFAQSetting(FAQSetting faqSetting,String userName)
 javax.jcr.Node saveQuestion(Question question, boolean isAddNew, org.exoplatform.services.jcr.ext.common.SessionProvider sProvider, FAQSetting faqSetting)
          Deprecated. use FAQService.saveQuestion(Question question, boolean isAddNew, FAQSetting faqSetting)
 void saveTopicIdDiscussQuestion(java.lang.String questionId, java.lang.String pathDiscuss, org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider)
          Deprecated. use FAQService.saveTopicIdDiscussQuestion(String questionId, String pathDiscuss)
 void saveUserAvatar(java.lang.String userId, FileAttachment fileAttachment, org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider)
          Deprecated. use FAQService.saveUserAvatar(String userId, FileAttachment fileAttachment)
 void setDefaultAvatar(java.lang.String userName, org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider)
          Deprecated. use FAQService.setDefaultAvatar(String userName)
 void swapCategories(java.lang.String parentCateId, java.lang.String cateId1, java.lang.String cateId2, org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider)
          Deprecated. use FAQService#swapCategories(String parentCateId, String cateId1, String cateId2)
 void UnWatch(java.lang.String categoryId, org.exoplatform.services.jcr.ext.common.SessionProvider sProvider, java.lang.String userCurrent)
          Deprecated. use FAQService#unWatch(String categoryId, String userCurrent)
 void UnWatchQuestion(java.lang.String questionID, org.exoplatform.services.jcr.ext.common.SessionProvider sProvider, java.lang.String userCurrent)
          Deprecated. use FAQService.unWatchQuestion(String questionID, String userCurrent)
 

Method Detail

changeStatusCategoryView

void changeStatusCategoryView(java.util.List<java.lang.String> listCateIds,
                              org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
                              throws java.lang.Exception
Deprecated. use FAQService#changeStatusCategoryView(List listCateIds)

Throws:
java.lang.Exception

saveCategory

void saveCategory(java.lang.String parentId,
                  Category cat,
                  boolean isAddNew,
                  org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
                  throws java.lang.Exception
Deprecated. use FAQService.saveCategory(String parentId, Category cat, boolean isAddNew)

Throws:
java.lang.Exception

removeCategory

void removeCategory(java.lang.String categoryId,
                    org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
                    throws java.lang.Exception
Deprecated. use FAQService.removeCategory(String categoryId)

Throws:
java.lang.Exception

getCategoryById

Category getCategoryById(java.lang.String categoryId,
                         org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
                         throws java.lang.Exception
Deprecated. use FAQService.getCategoryById(String categoryId)

Throws:
java.lang.Exception

getAllCategories

java.util.List<Category> getAllCategories(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
                                          throws java.lang.Exception
Deprecated. use FAQService.getAllCategories()

Throws:
java.lang.Exception

getListCateIdByModerator

java.util.List<java.lang.String> getListCateIdByModerator(java.lang.String user,
                                                          org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
                                                          throws java.lang.Exception
Deprecated. use FAQService.getListCateIdByModerator(String user)

Throws:
java.lang.Exception

getSubCategories

java.util.List<Category> getSubCategories(java.lang.String categoryId,
                                          org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
                                          FAQSetting faqSetting,
                                          boolean isGetAll,
                                          java.util.List<java.lang.String> userView)
                                          throws java.lang.Exception
Deprecated. use FAQService#getSubCategories(String categoryId, FAQSetting faqSetting, List userView)

Parameters:
userView - TODO
Throws:
java.lang.Exception

moveCategory

void moveCategory(java.lang.String categoryId,
                  java.lang.String destCategoryId,
                  org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
                  throws java.lang.Exception
Deprecated. use FAQService.moveCategory(String categoryId, String destCategoryId)

Throws:
java.lang.Exception

saveQuestion

javax.jcr.Node saveQuestion(Question question,
                            boolean isAddNew,
                            org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
                            FAQSetting faqSetting)
                            throws java.lang.Exception
Deprecated. use FAQService.saveQuestion(Question question, boolean isAddNew, FAQSetting faqSetting)

Throws:
java.lang.Exception

removeQuestion

void removeQuestion(java.lang.String questionId,
                    org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
                    throws java.lang.Exception
Deprecated. use FAQService.removeQuestion(String questionId)

Throws:
java.lang.Exception

getQuestionById

Question getQuestionById(java.lang.String questionId,
                         org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
                         throws java.lang.Exception
Deprecated. use FAQService.getQuestionById(String questionId)

Throws:
java.lang.Exception

getAllQuestions

QuestionPageList getAllQuestions(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
                                 throws java.lang.Exception
Deprecated. use FAQService.getAllQuestions()

Throws:
java.lang.Exception

getQuestionsNotYetAnswer

QuestionPageList getQuestionsNotYetAnswer(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
                                          java.lang.String categoryId,
                                          FAQSetting setting)
                                          throws java.lang.Exception
Deprecated. use FAQService#getQuestionsNotYetAnswer(String categoryId, FAQSetting setting()

Throws:
java.lang.Exception

getQuestionsByCatetory

QuestionPageList getQuestionsByCatetory(java.lang.String categoryId,
                                        org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
                                        FAQSetting faqSetting)
                                        throws java.lang.Exception
Deprecated. use FAQService#getQuestionsByCatetory(String categoryId, FAQSetting faqSetting()

Throws:
java.lang.Exception

getAllQuestionsByCatetory

QuestionPageList getAllQuestionsByCatetory(java.lang.String categoryId,
                                           org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
                                           FAQSetting faqSetting)
                                           throws java.lang.Exception
Deprecated. use FAQService#getAllQuestionsByCatetory(String categoryId, FAQSetting faqSetting()

Throws:
java.lang.Exception

getCategoryInfo

long[] getCategoryInfo(java.lang.String categoryId,
                       org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
                       FAQSetting setting)
                       throws java.lang.Exception
Deprecated. use FAQService#getCategoryInfo(String categoryId, FAQSetting setting()

Throws:
java.lang.Exception

getQuestionsByListCatetory

QuestionPageList getQuestionsByListCatetory(java.util.List<java.lang.String> listCategoryId,
                                            boolean isNotYetAnswer,
                                            org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
                                            throws java.lang.Exception
Deprecated. use FAQService#getQuestionsByListCatetory(List listCategoryId, boolean isNotYetAnswer)

Throws:
java.lang.Exception

getCategoryPathOfQuestion

java.lang.String getCategoryPathOfQuestion(java.lang.String categoryId,
                                           org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
                                           throws java.lang.Exception
Deprecated. use FAQService.getCategoryPathOfQuestion(String categoryId)

Throws:
java.lang.Exception

getQuestionLanguages

java.util.List<QuestionLanguage> getQuestionLanguages(java.lang.String questionId,
                                                      org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
                                                      throws java.lang.Exception
Deprecated. use FAQService.getQuestionLanguages(String questionId)

Throws:
java.lang.Exception

moveQuestions

void moveQuestions(java.util.List<java.lang.String> questions,
                   java.lang.String destCategoryId,
                   org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
                   throws java.lang.Exception
Deprecated. use FAQService#moveQuestions(List questions, String destCategoryId)

Throws:
java.lang.Exception

saveFAQSetting

void saveFAQSetting(FAQSetting faqSetting,
                    java.lang.String userName,
                    org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
                    throws java.lang.Exception
Deprecated. use FAQService.saveFAQSetting(FAQSetting faqSetting,String userName)

Throws:
java.lang.Exception

addWatch

void addWatch(java.lang.String id,
              Watch watch,
              org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
              throws java.lang.Exception
Deprecated. use FAQService#addWatch(String id, Watch watch)

Throws:
java.lang.Exception

deleteMailInWatch

void deleteMailInWatch(java.lang.String categoryId,
                       org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
                       java.lang.String user)
                       throws java.lang.Exception
Deprecated. use FAQService#deleteMailInWatch(String categoryId, String emails)

Throws:
java.lang.Exception

UnWatch

void UnWatch(java.lang.String categoryId,
             org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
             java.lang.String userCurrent)
             throws java.lang.Exception
Deprecated. use FAQService#unWatch(String categoryId, String userCurrent)

Throws:
java.lang.Exception

UnWatchQuestion

void UnWatchQuestion(java.lang.String questionID,
                     org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
                     java.lang.String userCurrent)
                     throws java.lang.Exception
Deprecated. use FAQService.unWatchQuestion(String questionID, String userCurrent)

Throws:
java.lang.Exception

getCategoryPath

java.util.List<java.lang.String> getCategoryPath(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
                                                 java.lang.String categoryId)
                                                 throws java.lang.Exception
Deprecated. use FAQService.getCategoryPath(String categoryId)

Throws:
java.lang.Exception

getUserSetting

void getUserSetting(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
                    java.lang.String userName,
                    FAQSetting faqSetting)
                    throws java.lang.Exception
Deprecated. use FAQService.getUserSetting(String userName, FAQSetting faqSetting)

Throws:
java.lang.Exception

isAdminRole

boolean isAdminRole(java.lang.String userName,
                    org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider)
                    throws java.lang.Exception
Deprecated. use FAQService.isAdminRole(String userName)

Throws:
java.lang.Exception

addWatchQuestion

void addWatchQuestion(java.lang.String questionId,
                      Watch watch,
                      boolean isNew,
                      org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider)
                      throws java.lang.Exception
Deprecated. use FAQService.addWatchQuestion(String questionId, Watch watch, boolean isNew)

Throws:
java.lang.Exception

saveTopicIdDiscussQuestion

void saveTopicIdDiscussQuestion(java.lang.String questionId,
                                java.lang.String pathDiscuss,
                                org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider)
                                throws java.lang.Exception
Deprecated. use FAQService.saveTopicIdDiscussQuestion(String questionId, String pathDiscuss)

Throws:
java.lang.Exception

getListQuestionsWatch

QuestionPageList getListQuestionsWatch(FAQSetting faqSetting,
                                       java.lang.String currentUser,
                                       org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
                                       throws java.lang.Exception
Deprecated. use FAQService.getListQuestionsWatch(FAQSetting faqSetting, String currentUser)

Throws:
java.lang.Exception

getCategoryNodeById

javax.jcr.Node getCategoryNodeById(java.lang.String categoryId,
                                   org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
                                   throws java.lang.Exception
Deprecated. use FAQService.getCategoryNodeById(String categoryId)

Throws:
java.lang.Exception

importData

void importData(java.lang.String categoryId,
                javax.jcr.Session session,
                java.io.InputStream inputStream,
                boolean isImportCategory,
                org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
                throws java.lang.Exception
Deprecated. use FAQService.importData(String categoryId, InputStream inputStream, boolean isImportCategory)

Throws:
java.lang.Exception

swapCategories

void swapCategories(java.lang.String parentCateId,
                    java.lang.String cateId1,
                    java.lang.String cateId2,
                    org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider)
                    throws java.lang.Exception
Deprecated. use FAQService#swapCategories(String parentCateId, String cateId1, String cateId2)

Throws:
java.lang.Exception

getMaxindexCategory

long getMaxindexCategory(java.lang.String parentId,
                         org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
                         throws java.lang.Exception
Deprecated. use FAQService.getMaxindexCategory(String parentId)

Throws:
java.lang.Exception

deleteAnswer

void deleteAnswer(java.lang.String questionId,
                  java.lang.String answerId,
                  org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
                  throws java.lang.Exception
Deprecated. use FAQService.deleteAnswer(String questionId, String answerId)

Throws:
java.lang.Exception

deleteComment

void deleteComment(java.lang.String questionId,
                   java.lang.String commentId,
                   org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
                   throws java.lang.Exception
Deprecated. use FAQService.deleteComment(String questionId, String commentId)

Throws:
java.lang.Exception

saveAnswer

void saveAnswer(java.lang.String questionId,
                Answer answer,
                boolean isNew,
                org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
                throws java.lang.Exception
Deprecated. use FAQService.saveAnswer(String questionId, Answer answer, boolean isNew)

Throws:
java.lang.Exception

saveComment

void saveComment(java.lang.String questionId,
                 Comment comment,
                 boolean isNew,
                 org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
                 throws java.lang.Exception
Deprecated. use FAQService.saveComment(String questionId, Comment comment, boolean isNew)

Throws:
java.lang.Exception

getCommentById

Comment getCommentById(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
                       java.lang.String questionId,
                       java.lang.String commentId)
                       throws java.lang.Exception
Deprecated. use FAQService.getCommentById(String questionId, String commentId)

Throws:
java.lang.Exception

getAnswerById

Answer getAnswerById(java.lang.String questionId,
                     java.lang.String answerid,
                     org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
                     throws java.lang.Exception
Deprecated. use FAQService.getAnswerById(String questionId, String answerid)

Throws:
java.lang.Exception

saveAnswer

void saveAnswer(java.lang.String questionId,
                Answer[] answers,
                org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
                throws java.lang.Exception
Deprecated. use FAQService.saveAnswer(String questionId, Answer[] answers)

Throws:
java.lang.Exception

getPageListComment

JCRPageList getPageListComment(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
                               java.lang.String questionId)
                               throws java.lang.Exception
Deprecated. use FAQService.getPageListComment(String questionId)

Throws:
java.lang.Exception

getPageListAnswer

JCRPageList getPageListAnswer(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
                              java.lang.String questionId,
                              java.lang.Boolean isSortByVote)
                              throws java.lang.Exception
Deprecated. use FAQService.getPageListAnswer(String questionId, Boolean isSortByVote)

Throws:
java.lang.Exception

getListCategoriesWatch

QuestionPageList getListCategoriesWatch(java.lang.String userId,
                                        org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
                                        throws java.lang.Exception
Deprecated. use FAQService#getListCategoriesWatch(String userId)

Throws:
java.lang.Exception

getUserAvatar

FileAttachment getUserAvatar(java.lang.String userName,
                             org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider)
                             throws java.lang.Exception
Deprecated. use FAQService.getUserAvatar(String userName)

Throws:
java.lang.Exception

saveUserAvatar

void saveUserAvatar(java.lang.String userId,
                    FileAttachment fileAttachment,
                    org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider)
                    throws java.lang.Exception
Deprecated. use FAQService.saveUserAvatar(String userId, FileAttachment fileAttachment)

Throws:
java.lang.Exception

getWatchByUser

boolean getWatchByUser(java.lang.String userId,
                       java.lang.String cateId,
                       org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider)
                       throws java.lang.Exception
Deprecated. use FAQService#getWatchByUser(String userId, String cateId()

Throws:
java.lang.Exception

setDefaultAvatar

void setDefaultAvatar(java.lang.String userName,
                      org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider)
                      throws java.lang.Exception
Deprecated. use FAQService.setDefaultAvatar(String userName)

Throws:
java.lang.Exception

getQuestionsIterator

javax.jcr.NodeIterator getQuestionsIterator(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
                                            throws java.lang.Exception
Deprecated. use FAQService.getQuestionsIterator()

Throws:
java.lang.Exception

getPendingQuestionsByCategory

QuestionPageList getPendingQuestionsByCategory(java.lang.String categoryId,
                                               org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
                                               FAQSetting faqSetting)
                                               throws java.lang.Exception
Deprecated. use FAQService.getPendingQuestionsByCategory(String categoryId, FAQSetting faqSetting)

Throws:
java.lang.Exception


Copyright © 2011 eXo Platform SAS. All Rights Reserved.