public class GetServerValuesAction extends GetMetadataSetDefAction
Modifier and Type | Field and Description |
---|---|
protected FileMetadataManager |
_fileMetadataManager
Our metatadata manager for file
|
protected LockContentManager |
_lockContentManager
Lock Content Manager
|
protected RenderingContextHandler |
_renderingContextHandler
The rendering context handler
|
protected AmetysObjectResolver |
_resolver
The ametys object resolver
|
protected UserHelper |
_userHelper
User helper
|
_contentHelper, _contentTypeExtensionPoint, _contentTypesHelper, _currentUserProvider, _externalizableMetaProvider, _rightManager
manager
EMPTY_MAP
Constructor and Description |
---|
GetServerValuesAction() |
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 UserIdentity |
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
protected UserHelper _userHelper
protected LockContentManager _lockContentManager
protected FileMetadataManager _fileMetadataManager
public GetServerValuesAction()
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 UserIdentity isContentLocked(Content content)
content
- The contentprivate Map<String,Object> _contentMetadata2Json(String metadataSetName, Content content, String metadataPath) throws ProcessingException
ProcessingException