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
|
manager
EMPTY_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, setupLogger
protected AmetysObjectResolver _resolver
protected ImportCDMFrComponent _importCDMFrComponent
public UploadCDMFrAction()
public void service(ServiceManager sManager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableAction
ServiceException
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
Exception
protected 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