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, toStringgetLogger, setLoggerprotected AmetysObjectResolver _resolver
public LockedContentClientSideElement()
public void service(ServiceManager smanager) throws ServiceException
service in interface Serviceableservice in class AbstractContentClientSideElementServiceExceptionpublic Map<String,Object> getLockState(List<String> contentsId)
contentsId - The ids to contents to testprotected String getRightContext(Content content)
content - The content