Package org.ametys.plugins.frontedition
Class UploadAction
-
- All Implemented Interfaces:
Component
,LogEnabled
,Serviceable
,ThreadSafe
,Action
public class UploadAction extends UploadAction
Action for uploading a file and store it using theUploadManager
from FO edition.
-
-
Field Summary
-
Fields inherited from class org.ametys.plugins.core.upload.UploadAction
_uploadManager
-
Fields inherited from class org.apache.cocoon.acting.ServiceableAction
manager
-
Fields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP
-
-
Constructor Summary
Constructors Constructor Description UploadAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
_getUrlForDownload(Upload upload)
Get the url for download the uploaded fileprotected String
_getUrlForView(Upload upload)
Get the url for view the uploaded file-
Methods inherited from class org.ametys.plugins.core.upload.UploadAction
_doUpload, _fillSuccess, _getPart, _handleStoreUploadException, _lookupComponents, _storeUpload, act
-
Methods inherited from class org.ametys.core.util.cocoon.AbstractCurrentUserProviderServiceableAction
_getCurrentUser
-
Methods inherited from class org.apache.cocoon.acting.ServiceableAction
service
-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Constructor Detail
-
UploadAction
public UploadAction()
-
-
Method Detail
-
_getUrlForView
protected String _getUrlForView(Upload upload)
Description copied from class:UploadAction
Get the url for view the uploaded file- Overrides:
_getUrlForView
in classUploadAction
- Parameters:
upload
- The file uploaded- Returns:
- The url for view
-
_getUrlForDownload
protected String _getUrlForDownload(Upload upload)
Description copied from class:UploadAction
Get the url for download the uploaded file- Overrides:
_getUrlForDownload
in classUploadAction
- Parameters:
upload
- The file uploaded- Returns:
- The url for view
-
-