| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stratelia.webactiv.almanach.AlmanachContentManager
public class AlmanachContentManager
| Constructor Summary | |
|---|---|
AlmanachContentManager()
 | 
|
| Method Summary | |
|---|---|
 int | 
createSilverContent(Connection con,
                    EventDetail eventDetail,
                    String userId)
add a new content.  | 
 void | 
deleteSilverContent(Connection con,
                    EventPK eventPK)
delete a content.  | 
 List | 
getSilverContentById(List ids,
                     String peasId,
                     String userId,
                     List userRoles)
Find all the SilverContent with the given list of SilverContentId  | 
 int | 
getSilverObjectId(String pubId,
                  String peasId)
 | 
 void | 
updateSilverContentVisibility(EventDetail eventDetail)
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 AlmanachContentManager()
| Method Detail | 
|---|
public List getSilverContentById(List ids,
                                 String peasId,
                                 String userId,
                                 List 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)
                      throws com.stratelia.silverpeas.contentManager.ContentManagerException
com.stratelia.silverpeas.contentManager.ContentManagerException
public int createSilverContent(Connection con,
                               EventDetail eventDetail,
                               String userId)
                        throws com.stratelia.silverpeas.contentManager.ContentManagerException
con - a ConnectionpubDetail - the content to registeruserId - the creator of the content
com.stratelia.silverpeas.contentManager.ContentManagerException
public void deleteSilverContent(Connection con,
                                EventPK eventPK)
                         throws com.stratelia.silverpeas.contentManager.ContentManagerException
con - a ConnectionpubPK - the identifiant of the content to unregister
com.stratelia.silverpeas.contentManager.ContentManagerException
public void updateSilverContentVisibility(EventDetail eventDetail)
                                   throws com.stratelia.silverpeas.contentManager.ContentManagerException
eventDetail - the content
com.stratelia.silverpeas.contentManager.ContentManagerException
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||