Class SetPropertyAction
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.apache.cocoon.acting.AbstractAction
-
- org.apache.cocoon.acting.ServiceableAction
-
- org.ametys.plugins.repositoryapp.jcr.SetPropertyAction
-
- All Implemented Interfaces:
Component
,LogEnabled
,Serviceable
,Action
public class SetPropertyAction extends ServiceableAction
Set value for a property (if the property does not exist, create the property)
-
-
Field Summary
Fields Modifier and Type Field Description protected static DateFormat
_DATE_FORMAT
The input date format.protected RepositoryProvider
_repositoryProvider
The repository provider.-
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 SetPropertyAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map
act(Redirector redirector, SourceResolver sourceResolver, Map objectModel, String source, Parameters parameters)
void
service(ServiceManager serviceManager)
-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Field Detail
-
_DATE_FORMAT
protected static final DateFormat _DATE_FORMAT
The input date format.
-
_repositoryProvider
protected RepositoryProvider _repositoryProvider
The repository provider.
-
-
Constructor Detail
-
SetPropertyAction
public SetPropertyAction()
-
-
Method Detail
-
service
public void service(ServiceManager serviceManager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classServiceableAction
- Throws:
ServiceException
-
act
public Map act(Redirector redirector, SourceResolver sourceResolver, Map objectModel, String source, Parameters parameters) throws Exception
- Throws:
Exception
-
-