com.silverpeas.thumbnail
Class ThumbnailInstanciator
java.lang.Object
com.stratelia.webactiv.beans.admin.SQLRequest
com.silverpeas.thumbnail.ThumbnailInstanciator
- All Implemented Interfaces:
- ComponentsInstanciatorIntf
public class ThumbnailInstanciator
- extends SQLRequest
- implements ComponentsInstanciatorIntf
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThumbnailInstanciator
public ThumbnailInstanciator()
ThumbnailInstanciator
public ThumbnailInstanciator(String fullPathName)
create
public void create(Connection connection,
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:
connection
- - 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 connection,
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:
connection
- - 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.