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
Import a CDM-fr file from a remote source.
-
Field Summary
Modifier and TypeFieldDescriptionprotected CurrentUserProvider
Current user provider.protected SynchronizableContentsCollectionHelper
The SCC helperstatic final String
The name of the key to get the CDMFr input streamstatic final String
The remote CDMFr SCC model idFields inherited from class org.apache.cocoon.acting.ServiceableAction
manager
Fields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionact
(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 Details
-
REMOTE_CDMFR_SCC_MODEL_ID
The remote CDMFr SCC model id- See Also:
-
CDMFR_IMPUT_STREAM_KEY_NAME
The name of the key to get the CDMFr input stream- See Also:
-
_sccHelper
The SCC helper -
_currentUserProvider
Current user provider.
-
-
Constructor Details
-
UploadCDMFrAction
public UploadCDMFrAction()
-
-
Method Details
-
service
- 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
-