org.silverpeas.attachment.process
Class SimpleDocumentDummyHandledFileConverter

java.lang.Object
  extended by org.silverpeas.process.annotation.AbstractDummyHandledFileConverter<SimpleDocumentSimulationElement>
      extended by org.silverpeas.attachment.process.SimpleDocumentDummyHandledFileConverter
All Implemented Interfaces:
DummyHandledFileConverter<SimpleDocumentSimulationElement>

@Named
public class SimpleDocumentDummyHandledFileConverter
extends AbstractDummyHandledFileConverter<SimpleDocumentSimulationElement>

User: Yohann Chastagnier Date: 25/10/13


Constructor Summary
SimpleDocumentDummyHandledFileConverter()
           
 
Method Summary
 List<DummyHandledFile> convert(List<SimpleDocumentSimulationElement> elements, WAPrimaryKey targetPK, ActionType actionType)
          Method that contains the treatment of the conversion.
 Class<SimpleDocumentSimulationElement> 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

SimpleDocumentDummyHandledFileConverter

public SimpleDocumentDummyHandledFileConverter()
Method Detail

getSourceElementType

public Class<SimpleDocumentSimulationElement> 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<SimpleDocumentSimulationElement> 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.