Class UploadCDMFrAction
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.apache.cocoon.acting.AbstractAction
-
- org.apache.cocoon.acting.ServiceableAction
-
- org.ametys.plugins.odfsync.cdmfr.actions.UploadCDMFrAction
-
- All Implemented Interfaces:
Component,LogEnabled,Serviceable,Action
public class UploadCDMFrAction extends ServiceableAction
Import a CDM-fr file from a remote source.
-
-
Field Summary
Fields Modifier and Type Field Description protected SynchronizableContentsCollectionHelper_sccHelperThe SCC helperstatic StringCDMFR_IMPUT_STREAM_KEY_NAMEThe name of the key to get the CDMFr input streamstatic StringREMOTE_CDMFR_SCC_MODEL_IDThe remote CDMFr SCC model id-
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 UploadCDMFrAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Mapact(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters)voidservice(ServiceManager sManager)-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Field Detail
-
REMOTE_CDMFR_SCC_MODEL_ID
public static final String REMOTE_CDMFR_SCC_MODEL_ID
The remote CDMFr SCC model id- See Also:
- Constant Field Values
-
CDMFR_IMPUT_STREAM_KEY_NAME
public static final String CDMFR_IMPUT_STREAM_KEY_NAME
The name of the key to get the CDMFr input stream- See Also:
- Constant Field Values
-
_sccHelper
protected SynchronizableContentsCollectionHelper _sccHelper
The SCC helper
-
-
Constructor Detail
-
UploadCDMFrAction
public UploadCDMFrAction()
-
-
Method Detail
-
service
public void service(ServiceManager sManager) throws ServiceException
- Specified by:
servicein interfaceServiceable- Overrides:
servicein classServiceableAction- Throws:
ServiceException
-
act
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
- Throws:
Exception
-
-