Class AddOrUpdateResourceAction
- 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.core.observation.AbstractNotifierAction
-
- org.ametys.plugins.explorer.resources.actions.AddOrUpdateResourceAction
-
- All Implemented Interfaces:
Component
,LogEnabled
,Serviceable
,ThreadSafe
,Action
public class AddOrUpdateResourceAction extends AbstractNotifierAction
Action for adding or updating a resource file.
-
-
Field Summary
Fields Modifier and Type Field Description protected AddOrUpdateResourceHelper
_addOrUpdateResourceHelper
resource operation helper-
Fields inherited from class org.ametys.core.observation.AbstractNotifierAction
_observationManager
-
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 AddOrUpdateResourceAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
_parameters2Attributes(Request request)
Map
act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters)
void
service(ServiceManager serviceManager)
-
Methods inherited from class org.ametys.core.util.cocoon.AbstractCurrentUserProviderServiceableAction
_getCurrentUser
-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Field Detail
-
_addOrUpdateResourceHelper
protected AddOrUpdateResourceHelper _addOrUpdateResourceHelper
resource operation helper
-
-
Constructor Detail
-
AddOrUpdateResourceAction
public AddOrUpdateResourceAction()
-
-
Method Detail
-
service
public void service(ServiceManager serviceManager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classAbstractNotifierAction
- Throws:
ServiceException
-
act
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
- Throws:
Exception
-
_parameters2Attributes
private void _parameters2Attributes(Request request)
-
-