com.silverpeas.wiki.control
Class WikiPageDAO
java.lang.Object
com.silverpeas.wiki.control.WikiPageDAO
public class WikiPageDAO
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WikiPageDAO
public WikiPageDAO()
openConnection
public Connection openConnection()
throws WikiException
- Throws:
WikiException
closeConnection
public void closeConnection(Connection con)
throws WikiException
- Throws:
WikiException
createPage
public int createPage(PageDetail page)
throws WikiException
- Throws:
WikiException
getNbOfPages
public int getNbOfPages(String instanceId)
throws WikiException
- Throws:
WikiException
getPage
public PageDetail getPage(String pageName,
String instanceId)
throws WikiException
- Throws:
WikiException
getPage
public PageDetail getPage(int id,
String instanceId)
throws WikiException
- Throws:
WikiException
deletePage
public void deletePage(String page,
String instanceId)
throws WikiException
- Throws:
WikiException
deleteAllPages
public void deleteAllPages(String instanceId)
throws WikiException
- Throws:
WikiException
renamePage
public void renamePage(String from,
String to,
String instanceId)
throws WikiException
- Throws:
WikiException
Copyright © 2016 Silverpeas. All Rights Reserved.