public class UploadCDMFrAction extends ServiceableAction
| Modifier and Type | Field and Description |
|---|---|
protected ImportCDMFrComponent |
_importCDMFrComponent
The CDM-fr SCC component
|
protected AmetysObjectResolver |
_resolver
The ametys object resolver
|
managerEMPTY_MAP| Constructor and Description |
|---|
UploadCDMFrAction() |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
_convertForResult(Map<String,Object> resultMap)
Convert the resultMap from the
ImportCDMFrComponent to a result map to send as response. |
private Map<String,Set<String>> |
_groupByContentType(Set<String> contentIds) |
Map |
act(Redirector redirector,
SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters) |
void |
service(ServiceManager sManager) |
enableLogging, getLogger, setupLogger, setupLogger, setupLoggerprotected AmetysObjectResolver _resolver
protected ImportCDMFrComponent _importCDMFrComponent
public UploadCDMFrAction()
public void service(ServiceManager sManager) throws ServiceException
service in interface Serviceableservice in class ServiceableActionServiceExceptionpublic Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
Exceptionprotected Map<String,Object> _convertForResult(Map<String,Object> resultMap)
ImportCDMFrComponent to a result map to send as response.resultMap - The result map to transformMap of results as response