Class AddOrUpdateFileAction
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.acting.AbstractAction
org.apache.cocoon.acting.ServiceableAction
org.ametys.plugins.skineditor.resources.AddOrUpdateFileAction
- All Implemented Interfaces:
Component
,LogEnabled
,Serviceable
,Action
This action creates or updates a resource file.
-
Field Summary
Modifier and TypeFieldDescriptionprotected SkinLockManager
The lock managerprotected SkinEditionHelper
The skin edition helperstatic final String
Constant for skin editor tool idFields 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 TypeMethodDescriptionact
(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) void
service
(ServiceManager smanager) Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Field Details
-
SKIN_EDITOR_TOOL_ID
Constant for skin editor tool id- See Also:
-
_lockManager
The lock manager -
_skinHelper
The skin edition helper
-
-
Constructor Details
-
AddOrUpdateFileAction
public AddOrUpdateFileAction()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classServiceableAction
- Throws:
ServiceException
-
act
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception - Throws:
Exception
-