public class SimpleSearchClientSideElement extends StaticClientSideElement implements Contextualizable, Disposable
ClientSideElement.Script, ClientSideElement.ScriptFile| Modifier and Type | Field and Description |
|---|---|
protected Context |
_context
The context.
|
protected ThreadSafeComponentManager<Enumerator> |
_enumeratorManager
Manager component for enumerators
|
private String |
_enumeratorToLookup |
protected ServiceManager |
_manager
The service manager
|
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script| Constructor and Description |
|---|
SimpleSearchClientSideElement() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
_configureContentTypeEnumerator()
Configures the content type enumerator
|
void |
configure(Configuration configuration) |
void |
contextualize(Context context) |
void |
dispose() |
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) |
protected void |
setEnumeratorValues(ClientSideElement.Script script,
Enumerator enumerator,
String prefix)
Set the enumerator values in script parameters
|
_configureClass, _configureParameters, _configureScript, configureInitialParameters_configureDependencies, _configureImports, _configureRights, _configureRightsMode, getDependencies, getId, getPluginName, getRights, getScripts, hasRight, setPluginInfo, toStringgetLogger, setLoggerprotected ThreadSafeComponentManager<Enumerator> _enumeratorManager
protected ServiceManager _manager
private String _enumeratorToLookup
public SimpleSearchClientSideElement()
public void service(ServiceManager smanager) throws ServiceException
service in interface Serviceableservice in class StaticFileImportsClientSideElementServiceExceptionpublic void contextualize(Context context) throws ContextException
contextualize in interface ContextualizableContextExceptionpublic void configure(Configuration configuration) throws ConfigurationException
configure in interface Configurableconfigure in class StaticFileImportsClientSideElementConfigurationExceptionpublic List<ClientSideElement.Script> getScripts(boolean ignoreRights, Map<String,Object> contextParameters)
ClientSideElementgetScripts in interface ClientSideElementgetScripts in class StaticFileImportsClientSideElementignoreRights - True to ignore the rights verification.contextParameters - Contextuals parameters transmitted by the environment.protected String _configureContentTypeEnumerator() throws ConfigurationException
ConfigurationException - If the configuration has an issueprotected void setEnumeratorValues(ClientSideElement.Script script, Enumerator enumerator, String prefix) throws Exception
script - The script into which set the parametersenumerator - The enumeratorprefix - The parameters prefixException - If the enumerator has an issuepublic void dispose()
dispose in interface Disposable