public class ConvertResource2ImagesAction extends ServiceableAction
Modifier and Type | Field and Description |
---|---|
protected AmetysObjectResolver |
_resolver
The ametys object resolver.
|
protected ConvertResource2ImagesComponent |
_resourceComponent
The component for conversion
|
manager
EMPTY_MAP
Constructor and Description |
---|
ConvertResource2ImagesAction() |
Modifier and Type | Method and Description |
---|---|
protected String |
_decodePath(String path)
Decode the resource path
|
Map |
act(Redirector redirector,
SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters) |
void |
service(ServiceManager serviceManager) |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
protected AmetysObjectResolver _resolver
protected ConvertResource2ImagesComponent _resourceComponent
public ConvertResource2ImagesAction()
public void service(ServiceManager serviceManager) 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 String _decodePath(String path) throws UnsupportedEncodingException
path
- the resource pathUnsupportedEncodingException
- if UTF-8 encoding is not supported