Package org.ametys.web.resources
Class WebDefaultResourceDependenciesList
java.lang.Object
org.ametys.plugins.core.ui.resources.DefaultResourceDependenciesList
org.ametys.web.resources.WebDefaultResourceDependenciesList
- All Implemented Interfaces:
ResourceDependenciesList
,Prioritizable
,Serviceable
Web implementation of the default resource dependencies list component
Allow /preview and /live URIs
-
Field Summary
Fields inherited from class org.ametys.plugins.core.ui.resources.DefaultResourceDependenciesList
_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.DefaultResourceDependenciesList
getPriority, isSupported, service
-
Constructor Details
-
WebDefaultResourceDependenciesList
public WebDefaultResourceDependenciesList()
-
-
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 classDefaultResourceDependenciesList
- 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
-