public class GetContentAction extends ServiceableAction
| Modifier and Type | Field and Description |
|---|---|
protected ContentTypeExtensionPoint |
_contentTypeExtensionPoint
The content type extension point
|
protected ContentTypesHelper |
_contentTypeshelper
Helper for content types
|
protected AmetysObjectResolver |
_resolver
The ametys object resolver
|
static String |
RESULT_CONTENTTYPE
The key for content type
|
static String |
RESULT_CONTENTVERSION
The key for content version
|
static String |
RESULT_PLUGINNAME
The key for plugin's name
|
static String |
RESULT_RENDERINGLANGUAGE
The key for rendering language
|
managerEMPTY_MAP| Constructor and Description |
|---|
GetContentAction() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
act(Redirector redirector,
SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters) |
void |
service(ServiceManager serviceManager) |
enableLogging, getLogger, setupLogger, setupLogger, setupLoggerpublic static final String RESULT_PLUGINNAME
public static final String RESULT_CONTENTTYPE
public static final String RESULT_CONTENTVERSION
public static final String RESULT_RENDERINGLANGUAGE
protected ContentTypeExtensionPoint _contentTypeExtensionPoint
protected AmetysObjectResolver _resolver
protected ContentTypesHelper _contentTypeshelper
public GetContentAction()
public void service(ServiceManager serviceManager) throws ServiceException
service in interface Serviceableservice in class ServiceableActionServiceExceptionpublic Map<String,String> act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
Exception