|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stratelia.webactiv.kmelia.KmeliaContentManager
public class KmeliaContentManager
The kmelia implementation of ContentInterface.
| Constructor Summary | |
|---|---|
KmeliaContentManager()
|
|
| Method Summary | |
|---|---|
int |
createSilverContent(Connection con,
com.stratelia.webactiv.util.publication.model.PublicationDetail pubDetail,
String userId)
add a new content. |
void |
deleteSilverContent(Connection con,
com.stratelia.webactiv.util.publication.model.PublicationPK pubPK)
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(com.stratelia.webactiv.util.publication.model.PublicationDetail pubDetail)
update the visibility attributes of the content. |
void |
updateSilverContentVisibility(com.stratelia.webactiv.util.publication.model.PublicationDetail pubDetail,
boolean isVisible)
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 KmeliaContentManager()
| 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)
public int createSilverContent(Connection con,
com.stratelia.webactiv.util.publication.model.PublicationDetail pubDetail,
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 updateSilverContentVisibility(com.stratelia.webactiv.util.publication.model.PublicationDetail pubDetail)
throws com.stratelia.silverpeas.contentManager.ContentManagerException
pubDetail - the contentsilverObjectId - the unique identifier of the content
com.stratelia.silverpeas.contentManager.ContentManagerException
public void updateSilverContentVisibility(com.stratelia.webactiv.util.publication.model.PublicationDetail pubDetail,
boolean isVisible)
throws com.stratelia.silverpeas.contentManager.ContentManagerException
pubDetail - the contentsilverObjectId - the unique identifier of the content
com.stratelia.silverpeas.contentManager.ContentManagerException
public void deleteSilverContent(Connection con,
com.stratelia.webactiv.util.publication.model.PublicationPK pubPK)
throws com.stratelia.silverpeas.contentManager.ContentManagerException
con - a ConnectionpubPK - the identifiant 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 | |||||||||