Package org.ametys.web.resources
Class WebCssDependenciesList
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.plugins.core.ui.resources.css.CssDependenciesList
org.ametys.web.resources.WebCssDependenciesList
- All Implemented Interfaces:
ResourceDependenciesList
,LogEnabled
,Prioritizable
,Serviceable
Web implementation of the Css resource dependencies list component
Allow /preview and /live URIs
-
Field Summary
Fields inherited from class org.ametys.plugins.core.ui.resources.css.CssDependenciesList
_requestAttributesHelper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetDependenciesList
(String uri, Map<String, String> data, boolean onlyFirstLevel) Get the list of dependenciesMethods inherited from class org.ametys.plugins.core.ui.resources.css.CssDependenciesList
getPriority, isSupported, service
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
WebCssDependenciesList
public WebCssDependenciesList()
-
-
Method Details
-
getDependenciesList
public Set<HashCache.UriData> getDependenciesList(String uri, Map<String, String> data, boolean onlyFirstLevel) Description copied from interface:ResourceDependenciesList
Get the list of dependencies- Specified by:
getDependenciesList
in interfaceResourceDependenciesList
- Overrides:
getDependenciesList
in classCssDependenciesList
- Parameters:
uri
- The input sourcedata
- Additional data, specific per ResourceDependenciesList implementationsonlyFirstLevel
- if true, only data corresponding to the given uris should be returned- Returns:
- The list of dependencies URIs
-