Class UploadArtisteerSkinAction
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.apache.cocoon.acting.AbstractAction
-
- org.apache.cocoon.acting.ServiceableAction
-
- org.ametys.web.skin.actions.UploadSkinAction
-
- org.ametys.plugins.artisteer.actions.UploadArtisteerSkinAction
-
- All Implemented Interfaces:
Component
,Contextualizable
,LogEnabled
,Serviceable
,Action
public class UploadArtisteerSkinAction extends UploadSkinAction
This action receive a form with the "importfile" zip file as an artisteer exported skin. Replace existing skin
-
-
Field Summary
-
Fields inherited from class org.ametys.web.skin.actions.UploadSkinAction
_cocoonContext
-
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 UploadArtisteerSkinAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
_filter(File skinDir, String absoluteSkinPath, boolean isModel)
Filter skin directory-
Methods inherited from class org.ametys.web.skin.actions.UploadSkinAction
_unzip, act, contextualize
-
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
-
UploadArtisteerSkinAction
public UploadArtisteerSkinAction()
-
-
Method Detail
-
_filter
protected void _filter(File skinDir, String absoluteSkinPath, boolean isModel) throws IOException
Description copied from class:UploadSkinAction
Filter skin directory- Overrides:
_filter
in classUploadSkinAction
- Parameters:
skinDir
- the skin directoryabsoluteSkinPath
- the absolute path of tmp skin directoryisModel
- true if the uploaded skin is the model of skin.- Throws:
IOException
- if an error occurred
-
-