public class GlobalSynchronizationClientSideElement extends AddTaskClientSideElement
ClientSideElement.Script, ClientSideElement.ScriptFile
Modifier and Type | Field and Description |
---|---|
protected SynchronizableContentsCollectionHelper |
_sccHelper
SCCClientSideElement helper
|
_context
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script
Constructor and Description |
---|
GlobalSynchronizationClientSideElement() |
Modifier and Type | Method and Description |
---|---|
protected List<ClientSideElement.Script> |
getClonedScripts(ClientSideElement.Script script,
String[] modelsToSync)
Get cloned scripts from the original script.
|
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, _configureDependencies, _configureScript, configureInitialParameters, contextualize, getDependencies
_configureParameters
_configureImports, _configureRights, _configureRightsMode, configure, getId, getPluginName, getRights, getScripts, hasRight, setPluginInfo, toString
getLogger, setLogger
protected SynchronizableContentsCollectionHelper _sccHelper
public GlobalSynchronizationClientSideElement()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class StaticFileImportsClientSideElement
ServiceException
public 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.protected List<ClientSideElement.Script> getClonedScripts(ClientSideElement.Script script, String[] modelsToSync)
script
- Original scriptmodelsToSync
- SCC models to synchronizeList
of modified scripts