Package org.ametys.plugins.frontedition
Class UploadAction
- All Implemented Interfaces:
 Component,LogEnabled,Serviceable,ThreadSafe,Action
Action for uploading a file and store it using the 
UploadManager from FO edition.- 
Field Summary
Fields inherited from class org.ametys.plugins.core.upload.UploadAction
_uploadManagerFields inherited from class org.apache.cocoon.acting.ServiceableAction
managerFields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected String_getUrlForDownload(Upload upload) Get the url for download the uploaded fileprotected String_getUrlForView(Upload upload) Get the url for view the uploaded fileMethods inherited from class org.ametys.plugins.core.upload.UploadAction
_doUpload, _fillSuccess, _getPart, _handleStoreUploadException, _lookupComponents, _storeUpload, actMethods inherited from class org.ametys.core.util.cocoon.AbstractCurrentUserProviderServiceableAction
_getCurrentUserMethods inherited from class org.apache.cocoon.acting.ServiceableAction
serviceMethods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger 
- 
Constructor Details
- 
UploadAction
public UploadAction() 
 - 
 - 
Method Details
- 
_getUrlForView
Description copied from class:UploadActionGet the url for view the uploaded file- Overrides:
 _getUrlForViewin classUploadAction- Parameters:
 upload- The file uploaded- Returns:
 - The url for view
 
 - 
_getUrlForDownload
Description copied from class:UploadActionGet the url for download the uploaded file- Overrides:
 _getUrlForDownloadin classUploadAction- Parameters:
 upload- The file uploaded- Returns:
 - The url for view
 
 
 -