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
FieldsModifier and TypeFieldDescriptionprotected CurrentUserProviderCurrent user provider.protected SynchronizableContentsCollectionHelperThe SCC helperstatic final StringThe name of the key to get the CDMFr input streamstatic final StringThe remote CDMFr SCC model idFields 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 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 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:
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
-