public class GetServerValueAction extends GetMetadataSetDefAction
Modifier and Type | Field and Description |
---|---|
protected RenderingContextHandler |
_renderingContextHandler
The rendering context handler
|
protected AmetysObjectResolver |
_resolver
The ametys object resolver
|
_contentTypeExtensionPoint, _contentTypesHelper, _currentUserProvider, _externalizableMetaProvider, _rightManager
manager
EMPTY_MAP
Constructor and Description |
---|
GetServerValueAction() |
Modifier and Type | Method and Description |
---|---|
private Map<String,Object> |
_contentMetadata2Json(String metadataSetName,
Content content,
String metadataPath) |
Map |
act(Redirector redirector,
SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters) |
protected boolean |
isContentLocked(Content content)
Check if the content is locked
|
void |
service(ServiceManager serviceManager) |
_getMetadataDefinition, content2Json, content2Json, metadataDefinition2JsonObject, metadataSetElement2JsonObject
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
protected AmetysObjectResolver _resolver
protected RenderingContextHandler _renderingContextHandler
public GetServerValueAction()
public void service(ServiceManager serviceManager) throws ServiceException
service
in interface Serviceable
service
in class GetMetadataSetDefAction
ServiceException
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
act
in interface Action
act
in class GetMetadataSetDefAction
Exception
protected boolean isContentLocked(Content content)
content
- The contentprivate Map<String,Object> _contentMetadata2Json(String metadataSetName, Content content, String metadataPath) throws ProcessingException
ProcessingException