com.stratelia.webactiv.forums.instanciator
Class ForumsInstanciator
java.lang.Object
com.stratelia.webactiv.beans.admin.SQLRequest
com.stratelia.webactiv.forums.instanciator.ForumsInstanciator
- All Implemented Interfaces:
- com.silverpeas.admin.components.ComponentsInstanciatorIntf
public class ForumsInstanciator
- extends com.stratelia.webactiv.beans.admin.SQLRequest
- implements com.silverpeas.admin.components.ComponentsInstanciatorIntf
Fields inherited from interface com.silverpeas.admin.components.ComponentsInstanciatorIntf |
PROCESS_XML_FILE_NAME |
Methods inherited from class com.stratelia.webactiv.beans.admin.SQLRequest |
getCreateQuery, getDeleteQuery, getInsertQuery, getUpdateQuery, setCreateQueries, setDeleteQueries, setInsertQueries, setUpdateQueries |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ForumsInstanciator
public ForumsInstanciator()
- Creates new ForumsInstanciator
create
public void create(Connection con,
String spaceId,
String componentId,
String userId)
throws com.silverpeas.admin.components.InstanciationException
- Specified by:
create
in interface com.silverpeas.admin.components.ComponentsInstanciatorIntf
- Throws:
com.silverpeas.admin.components.InstanciationException
delete
public void delete(Connection con,
String spaceId,
String componentId,
String userId)
throws com.silverpeas.admin.components.InstanciationException
- Delete some rows of an instance of a forum.
- Specified by:
delete
in interface com.silverpeas.admin.components.ComponentsInstanciatorIntf
- Parameters:
con
- (Connection) the connection to the data basespaceId
- (String) the id of a the space where the component exist.componentId
- (String) the instance id of the Silverpeas component forum.userId
- (String) the owner of the component
- Throws:
com.silverpeas.admin.components.InstanciationException
Copyright © 2016 Silverpeas. All Rights Reserved.