com.silverpeas.thumbnail.control
Class ThumbnailDummyHandledFileConverter

java.lang.Object
  extended by org.silverpeas.process.annotation.AbstractDummyHandledFileConverter<ThumbnailSimulationElement>
      extended by com.silverpeas.thumbnail.control.ThumbnailDummyHandledFileConverter
All Implemented Interfaces:
DummyHandledFileConverter<ThumbnailSimulationElement>

@Named
public class ThumbnailDummyHandledFileConverter
extends AbstractDummyHandledFileConverter<ThumbnailSimulationElement>

User: Yohann Chastagnier Date: 25/10/13


Constructor Summary
ThumbnailDummyHandledFileConverter()
           
 
Method Summary
 List<DummyHandledFile> convert(List<ThumbnailSimulationElement> elements, WAPrimaryKey targetPK, ActionType actionType)
          Method that contains the treatment of the conversion.
 Class<ThumbnailSimulationElement> getSourceElementType()
          Gets the class of the element that has to be converted to a dummy handled file.
 
Methods inherited from class org.silverpeas.process.annotation.AbstractDummyHandledFileConverter
register, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThumbnailDummyHandledFileConverter

public ThumbnailDummyHandledFileConverter()
Method Detail

getSourceElementType

public Class<ThumbnailSimulationElement> getSourceElementType()
Description copied from interface: DummyHandledFileConverter
Gets the class of the element that has to be converted to a dummy handled file.

Returns:

convert

public List<DummyHandledFile> convert(List<ThumbnailSimulationElement> elements,
                                      WAPrimaryKey targetPK,
                                      ActionType actionType)
Description copied from interface: DummyHandledFileConverter
Method that contains the treatment of the conversion.

Parameters:
elements - elements to convert
targetPK - the targets
actionType - the action type used for the conversion
Returns:


Copyright © 2016 Silverpeas. All Rights Reserved.