com.silverpeas.questionReply.control
Class QuestionReplyExport

java.lang.Object
  extended by com.silverpeas.questionReply.control.QuestionReplyExport

public class QuestionReplyExport
extends Object

Author:
ehugonnet

Constructor Summary
QuestionReplyExport(com.stratelia.webactiv.beans.admin.UserDetail currentUser, com.stratelia.silverpeas.util.ResourcesWrapper resource, File file)
           
 
Method Summary
protected  void exportAttachment(org.silverpeas.importExport.attachment.AttachmentDetail attachment, StringBuilder sb)
           
 void exportQuestion(Question question, StringBuilder sb, QuestionReplySessionController scc)
           
protected  void exportReply(QuestionReplySessionController qRSC, Reply reply, StringBuilder sb)
           
 boolean isReplyVisible(Question question, Reply reply, QuestionReplySessionController scc)
           
static boolean isReplyVisible(Question question, Reply reply, com.stratelia.webactiv.SilverpeasRole role, String userId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuestionReplyExport

public QuestionReplyExport(com.stratelia.webactiv.beans.admin.UserDetail currentUser,
                           com.stratelia.silverpeas.util.ResourcesWrapper resource,
                           File file)
Method Detail

exportQuestion

public void exportQuestion(Question question,
                           StringBuilder sb,
                           QuestionReplySessionController scc)
                    throws QuestionReplyException,
                           ParseException
Throws:
QuestionReplyException
ParseException

exportReply

protected void exportReply(QuestionReplySessionController qRSC,
                           Reply reply,
                           StringBuilder sb)
                    throws QuestionReplyException,
                           ParseException
Throws:
QuestionReplyException
ParseException

exportAttachment

protected void exportAttachment(org.silverpeas.importExport.attachment.AttachmentDetail attachment,
                                StringBuilder sb)

isReplyVisible

public boolean isReplyVisible(Question question,
                              Reply reply,
                              QuestionReplySessionController scc)

isReplyVisible

public static boolean isReplyVisible(Question question,
                                     Reply reply,
                                     com.stratelia.webactiv.SilverpeasRole role,
                                     String userId)


Copyright © 2016 Silverpeas. All Rights Reserved.