com.stratelia.webactiv.forums.instanciator
Class ForumsInstanciator

java.lang.Object
  extended by com.stratelia.webactiv.beans.admin.SQLRequest
      extended by 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


Field Summary
 
Fields inherited from interface com.silverpeas.admin.components.ComponentsInstanciatorIntf
PROCESS_XML_FILE_NAME
 
Constructor Summary
ForumsInstanciator()
          Creates new ForumsInstanciator
 
Method Summary
 void create(Connection con, String spaceId, String componentId, String userId)
           
 void delete(Connection con, String spaceId, String componentId, String userId)
          Delete some rows of an instance of a forum.
 
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
 

Constructor Detail

ForumsInstanciator

public ForumsInstanciator()
Creates new ForumsInstanciator

Method Detail

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 base
spaceId - (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.