com.silverpeas.comment
Class CommentInstanciator
java.lang.Object
com.silverpeas.comment.CommentInstanciator
- All Implemented Interfaces:
- ComponentsInstanciatorIntf
public class CommentInstanciator
- extends Object
- implements ComponentsInstanciatorIntf
- Author:
- neysseri
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommentInstanciator
public CommentInstanciator()
create
public void create(Connection con,
String spaceId,
String componentId,
String userId)
throws InstanciationException
- Description copied from interface:
ComponentsInstanciatorIntf
- Create a new instance of the component for a requested user and space.
- Specified by:
create
in interface ComponentsInstanciatorIntf
- Parameters:
con
- - Connection to the database used to save the create information.spaceId
- - Identity of the space where the component will be instancied.componentId
- - Identity of the component to instanciate.userId
- - Identity of the user who want the component
- Throws:
InstanciationException
delete
public void delete(Connection con,
String spaceId,
String componentId,
String userId)
throws InstanciationException
- Description copied from interface:
ComponentsInstanciatorIntf
- Delete the component instance created for the user on the requested space.
- Specified by:
delete
in interface ComponentsInstanciatorIntf
- Parameters:
con
- - Connection to the database where the create information will be destroyed.spaceId
- - Identity of the space where the instanced component will be deleted.componentId
- - Identity of the instanced componentuserId
- - Identity of the user who have instantiate the component.
- Throws:
InstanciationException
Copyright © 2016 Silverpeas. All Rights Reserved.