fr.paris.lutece.plugins.genericattributes.service.upload
Interface IGAAsyncUploadHandler

All Superinterfaces:
fr.paris.lutece.portal.web.upload.IAsynchronousUploadHandler

public interface IGAAsyncUploadHandler
extends fr.paris.lutece.portal.web.upload.IAsynchronousUploadHandler

Interface for asynchronous upload handlers used by entries of type upload


Method Summary
 List<org.apache.commons.fileupload.FileItem> getFileItems(String strIdEntry, String strSessionId)
          Gets the fileItem for the entry and the given session.
 void removeFileItem(String strIdEntry, String strSessionId, int nIndex)
          Remove file Item
 
Methods inherited from interface fr.paris.lutece.portal.web.upload.IAsynchronousUploadHandler
isInvoked, process
 

Method Detail

removeFileItem

void removeFileItem(String strIdEntry,
                    String strSessionId,
                    int nIndex)
Remove file Item

Parameters:
strIdEntry - the id entry
strSessionId - The id of the session of the current user
nIndex - the index

getFileItems

List<org.apache.commons.fileupload.FileItem> getFileItems(String strIdEntry,
                                                          String strSessionId)
Gets the fileItem for the entry and the given session.

Parameters:
strIdEntry - the entry
strSessionId - The id of the session of the current user
Returns:
the fileItem found, null otherwise.


Copyright © 2014 Mairie de Paris. All Rights Reserved.