| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.questionReply.control.QuestionReplyContentManager
public class QuestionReplyContentManager
The questionReply implementation of ContentInterface.
| Constructor Summary | |
|---|---|
QuestionReplyContentManager()
 | 
|
| Method Summary | |
|---|---|
 int | 
createSilverContent(Connection con,
                    Question question)
Add a new content.  | 
 void | 
deleteSilverContent(Connection con,
                    com.stratelia.webactiv.persistence.IdPK pk)
delete a content.  | 
 List<com.stratelia.silverpeas.contentManager.SilverContentInterface> | 
getSilverContentById(List<Integer> ids,
                     String peasId,
                     String userId,
                     List<String> userRoles)
Find all the SilverContent with the given SilverContentId  | 
 int | 
getSilverObjectId(String id,
                  String peasId)
 | 
 void | 
updateSilverContentVisibility(Question question)
update the visibility attributes of the content.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public QuestionReplyContentManager()
| Method Detail | 
|---|
public List<com.stratelia.silverpeas.contentManager.SilverContentInterface> getSilverContentById(List<Integer> ids,
                                                                                                 String peasId,
                                                                                                 String userId,
                                                                                                 List<String> userRoles)
getSilverContentById in interface com.stratelia.silverpeas.contentManager.ContentInterfaceids - userId - peasId - userRoles - 
public int getSilverObjectId(String id,
                             String peasId)
                      throws QuestionReplyException
QuestionReplyException
public int createSilverContent(Connection con,
                               Question question)
                        throws com.stratelia.silverpeas.contentManager.ContentManagerException
con - question - 
com.stratelia.silverpeas.contentManager.ContentManagerException
public void updateSilverContentVisibility(Question question)
                                   throws com.stratelia.silverpeas.contentManager.ContentManagerException
question - the content
com.stratelia.silverpeas.contentManager.ContentManagerException
public void deleteSilverContent(Connection con,
                                com.stratelia.webactiv.persistence.IdPK pk)
                         throws com.stratelia.silverpeas.contentManager.ContentManagerException
con - a Connectionpk - the identity of the content to unregister
com.stratelia.silverpeas.contentManager.ContentManagerException
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||