Class CropImageAction
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.acting.AbstractAction
org.apache.cocoon.acting.ServiceableAction
org.ametys.core.util.cocoon.AbstractCurrentUserProviderServiceableAction
org.ametys.plugins.core.upload.UploadAction
org.ametys.plugins.core.upload.image.CropImageAction
org.ametys.plugins.frontedition.upload.image.CropImageAction
- All Implemented Interfaces:
Component
,LogEnabled
,Serviceable
,ThreadSafe
,Action
FO edition for
CropImageAction
.-
Nested Class Summary
Nested classes/interfaces inherited from class org.ametys.plugins.core.upload.image.CropImageAction
CropImageAction.Cropping
-
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
-
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.image.CropImageAction
_doCrop, _doUpload, _getCroppedImageFilename, _getFormatName, _getUploadObject, _storeCroppedImage, _uploadAsBufferedImage
Methods inherited from class org.ametys.plugins.core.upload.UploadAction
_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 Details
-
CropImageAction
public CropImageAction()
-
-
Method Details
-
_getUrlForView
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
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
-