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 |
---|---|
protected String |
getRightContext(Content content)
Get the context to check rights
|
List<ClientSideElement.Script> |
getScripts(boolean ignoreRights,
Map<String,Object> contextParameters)
This method return the scripts that will be used on client side.
|
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, 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
protected String getRightContext(Content content)
content
- The contentpublic List<ClientSideElement.Script> getScripts(boolean ignoreRights, Map<String,Object> contextParameters)
ClientSideElement
getScripts
in interface ClientSideElement
getScripts
in class StaticFileImportsClientSideElement
ignoreRights
- True to ignore the rights verification.contextParameters
- Contextuals parameters transmitted by the environment.