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
Set value for a property (if the property does not exist, create the property)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final DateFormatThe input date format.protected RepositoryProviderThe repository provider.Fields inherited from class org.apache.cocoon.acting.ServiceableAction
managerFields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionact(Redirector redirector, SourceResolver sourceResolver, Map objectModel, String source, Parameters parameters) voidservice(ServiceManager serviceManager) Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Field Details
-
_DATE_FORMAT
The input date format. -
_repositoryProvider
The repository provider.
-
-
Constructor Details
-
SetPropertyAction
public SetPropertyAction()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Overrides:
servicein classServiceableAction- Throws:
ServiceException
-
act
public Map act(Redirector redirector, SourceResolver sourceResolver, Map objectModel, String source, Parameters parameters) throws Exception - Throws:
Exception
-