|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silverpeas.whitePages.control.WhitePagesContentManager
public class WhitePagesContentManager
The whitePages implementation of ContentInterface.
Constructor Summary | |
---|---|
WhitePagesContentManager()
|
Method Summary | |
---|---|
int |
createSilverContent(Connection con,
Card card)
add a new content. |
void |
deleteSilverContent(Connection con,
com.stratelia.webactiv.persistence.IdPK pk)
delete a content. |
List |
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(Card card)
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 WhitePagesContentManager()
Method Detail |
---|
public List getSilverContentById(List<Integer> ids, String peasId, String userId, List<String> userRoles)
getSilverContentById
in interface com.stratelia.silverpeas.contentManager.ContentInterface
public int getSilverObjectId(String id, String peasId) throws WhitePagesException
WhitePagesException
public int createSilverContent(Connection con, Card card) 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(Card card) 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.persistence.IdPK pk) 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 |