public class ExplorerClientSideElement extends StaticClientSideElement
ClientSideElement.Script, ClientSideElement.ScriptFile
Modifier and Type | Field and Description |
---|---|
private ExplorerApplicationExtensionPoint |
_appExtPt |
private boolean |
_initialized |
private SiteManager |
_siteManager |
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script
Constructor and Description |
---|
ExplorerClientSideElement() |
Modifier and Type | Method and Description |
---|---|
private void |
_lazyInitialize(Map<String,Object> contextParameters) |
Map<String,Object> |
getRoot(String siteName)
Get the root id of resources
|
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) |
_configureClass, _configureParameters, _configureScript, configureInitialParameters
_configureDependencies, _configureImports, _configureRights, _configureRightsMode, configure, getDependencies, getId, getPluginName, getRights, getScripts, hasRight, setPluginInfo, toString
getLogger, setLogger
private ExplorerApplicationExtensionPoint _appExtPt
private SiteManager _siteManager
private boolean _initialized
public ExplorerClientSideElement()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class StaticFileImportsClientSideElement
ServiceException
private void _lazyInitialize(Map<String,Object> contextParameters)
public Map<String,Object> getRoot(String siteName)
siteName
- The site namepublic 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.