| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stratelia.silverpeas.infoLetter.InfoLetterContentManager
public class InfoLetterContentManager
The infoletter implementation of ContentInterface.
| Constructor Summary | |
|---|---|
InfoLetterContentManager()
 | 
|
| Method Summary | |
|---|---|
 int | 
createSilverContent(Connection con,
                    InfoLetterPublicationPdC ilPub,
                    String userId)
add a new content.  | 
 void | 
deleteSilverContent(Connection con,
                    String pubId,
                    String componentId)
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 list of SilverContentId  | 
 int | 
getSilverObjectId(String pubId,
                  String peasId)
 | 
 void | 
updateSilverContentVisibility(InfoLetterPublicationPdC ilPub)
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 InfoLetterContentManager()
| 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 - list of silverContentId to retrievepeasId - the id of the instanceuserId - the id of the user who wants to retrieve silverContentuserRoles - the roles of the user
public int getSilverObjectId(String pubId,
                             String peasId)
public int createSilverContent(Connection con,
                               InfoLetterPublicationPdC ilPub,
                               String userId)
                        throws com.stratelia.silverpeas.contentManager.ContentManagerException
con - a ConnectionilPub - the content to registeruserId - the creator of the content
com.stratelia.silverpeas.contentManager.ContentManagerException
public void updateSilverContentVisibility(InfoLetterPublicationPdC ilPub)
                                   throws com.stratelia.silverpeas.contentManager.ContentManagerException
ilPub - the content
com.stratelia.silverpeas.contentManager.ContentManagerException
public void deleteSilverContent(Connection con,
                                String pubId,
                                String componentId)
                         throws com.stratelia.silverpeas.contentManager.ContentManagerException
con - a ConnectionpubId - the identifiant of the content to unregistercomponentId - the identifiant of the component instance where the content to unregister is
com.stratelia.silverpeas.contentManager.ContentManagerException
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||