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 CurrentUserProvider
_currentUserProvider
Current user provider.protected SynchronizableContentsCollectionHelper
_sccHelper
The SCC helperstatic String
CDMFR_IMPUT_STREAM_KEY_NAME
The name of the key to get the CDMFr input streamstatic String
REMOTE_CDMFR_SCC_MODEL_ID
The 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 Map
act(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 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
-
_currentUserProvider
protected CurrentUserProvider _currentUserProvider
Current user provider.
-
-
Constructor Detail
-
UploadCDMFrAction
public UploadCDMFrAction()
-
-
Method Detail
-
service
public void service(ServiceManager sManager) throws ServiceException
- 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
-
-