|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IGAAsyncUploadHandler
Interface for asynchronous upload handlers used by entries of type upload
| Method Summary | |
|---|---|
void |
addFileItemToUploadedFile(org.apache.commons.fileupload.FileItem fileItem,
String strIdEntry,
String strSessionId)
Add file item to the list of uploaded files |
void |
doRemoveFile(javax.servlet.http.HttpServletRequest request,
String strIdEntry)
Do remove a file of a given entry if a flag is present in the request. |
List<org.apache.commons.fileupload.FileItem> |
getFileItems(String strIdEntry,
String strSessionId)
Gets the fileItem for the entry and the given session. |
boolean |
hasRemoveFlag(javax.servlet.http.HttpServletRequest request,
String strIdEntry)
Check if the request has a remove flag for a given entry. |
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 |
|---|
void removeFileItem(String strIdEntry,
String strSessionId,
int nIndex)
strIdEntry - the id entrystrSessionId - The id of the session of the current usernIndex - the index
List<org.apache.commons.fileupload.FileItem> getFileItems(String strIdEntry,
String strSessionId)
strIdEntry - the entrystrSessionId - The id of the session of the current user
null otherwise.
void addFileItemToUploadedFile(org.apache.commons.fileupload.FileItem fileItem,
String strIdEntry,
String strSessionId)
fileItem - the file itemstrIdEntry - the id entrystrSessionId - the session id
boolean hasRemoveFlag(javax.servlet.http.HttpServletRequest request,
String strIdEntry)
request - The requeststrIdEntry - The id of the entry
void doRemoveFile(javax.servlet.http.HttpServletRequest request,
String strIdEntry)
request - The requeststrIdEntry - The id of the entry
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||