public class LockedContentClientSideElement extends StaticClientSideElement
ClientSideElement.Script, ClientSideElement.ScriptFile
Modifier and Type | Field and Description |
---|---|
protected AmetysObjectResolver |
_resolver
Repository content
|
protected UserManager |
_userManager
Runtime users manager
|
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script
Constructor and Description |
---|
LockedContentClientSideElement() |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Object> |
getContentDefaultParameters(Content content)
Get the default content's parameters
|
Map<String,Object> |
getLockState(List<String> contentsId)
Get the lock state of given contents
|
protected String |
getRightContext(Content content)
Get the context to check rights
|
void |
service(ServiceManager smanager) |
_configureClass, _configureParameters, _configureScript, configureInitialParameters
_configureDependencies, _configureImports, _configureRights, _configureRightsMode, configure, getDependencies, getId, getPluginName, getRights, getScripts, getScripts, hasRight, setPluginInfo, toString
getLogger, setLogger
protected UserManager _userManager
protected AmetysObjectResolver _resolver
public LockedContentClientSideElement()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class StaticFileImportsClientSideElement
ServiceException
public Map<String,Object> getLockState(List<String> contentsId)
contentsId
- The ids to contents to testprotected Map<String,Object> getContentDefaultParameters(Content content)
content
- The contentprotected String getRightContext(Content content)
content
- The content