org.silverpeas.connecteurJDBC.control
Class ConnecteurJDBCInstanciator

java.lang.Object
  extended by com.stratelia.webactiv.beans.admin.SQLRequest
      extended by org.silverpeas.connecteurJDBC.control.ConnecteurJDBCInstanciator
All Implemented Interfaces:
com.silverpeas.admin.components.ComponentsInstanciatorIntf

public class ConnecteurJDBCInstanciator
extends com.stratelia.webactiv.beans.admin.SQLRequest
implements com.silverpeas.admin.components.ComponentsInstanciatorIntf

Title: Connecteur JDBC Description: Ce composant a pour objet de permettre de recuperer rapidement et simplement des donnees du systeme d'information de l'entreprise.

Version:
1.0
Author:
Eric BURGEL

Field Summary
 
Fields inherited from interface com.silverpeas.admin.components.ComponentsInstanciatorIntf
PROCESS_XML_FILE_NAME
 
Constructor Summary
ConnecteurJDBCInstanciator()
           
 
Method Summary
 void create(Connection connection, 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

ConnecteurJDBCInstanciator

public ConnecteurJDBCInstanciator()
Method Detail

create

public void create(Connection connection,
                   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.