public class LockedContentClientSideElement extends AbstractContentClientSideElement
ClientSideElement.Script, ClientSideElement.ScriptFile
Modifier and Type | Field and Description |
---|---|
protected AmetysObjectResolver |
_resolver
Repository content
|
_contentHelper, _userManager
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script
Constructor and Description |
---|
LockedContentClientSideElement() |
Modifier and Type | Method and Description |
---|---|
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) |
getAllRightContentDescription, getContentDefaultParameters, getLockedContentDescription, getNoModifiableContentDescription, getNoRightContentDescription, hasRight, isLocked
_configureClass, _configureParameters, _configureScript, configureInitialParameters
_configureDependencies, _configureImports, _configureRights, _configureRightsMode, configure, getDependencies, getId, getPluginName, getRights, getScripts, getScripts, hasRight, setPluginInfo, toString
getLogger, setLogger
protected AmetysObjectResolver _resolver
public LockedContentClientSideElement()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class AbstractContentClientSideElement
ServiceException
public Map<String,Object> getLockState(List<String> contentsId)
contentsId
- The ids to contents to testprotected String getRightContext(Content content)
content
- The content