@RequestScope @Component(value="blResourcesRequest") public class ResourcesRequest extends Object
| Modifier and Type | Field and Description | 
|---|---|
| protected List<ResourcesRequestBundle> | bundlesRequested | 
| Constructor and Description | 
|---|
| ResourcesRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| ResourcesRequestBundle | getBundle(String name,
         String mappingPrefix,
         List<String> files)Gets the bundle for the bundle name, prefix, and file list if previously used on this request. | 
| void | saveBundle(String name,
          String mappingPrefix,
          List<String> files,
          List<String> bundledFilePaths)Saves the bundled file to the request so it can be recalled later in the template | 
| void | saveBundle(String name,
          String mappingPrefix,
          List<String> files,
          String bundlePath)Saves the bundled file to the request so it can be recalled later in the template | 
protected List<ResourcesRequestBundle> bundlesRequested
public ResourcesRequestBundle getBundle(@Nonnull String name, String mappingPrefix, List<String> files)
Note that the mapping prefix and file list will be assumed to be the same if not provided.
name - the name of the bundle to search formappingPrefix - the mapping prefix of the bundle request, or null if not providedfiles - the list of files of the bundle request, or null if not providedpublic void saveBundle(String name, String mappingPrefix, List<String> files, String bundlePath)
name - the name of the bundlemappingPrefix - the mapping prefix of the bundlefiles - the list of files in the bundlebundlePath - the path of the resulting bundlepublic void saveBundle(String name, String mappingPrefix, List<String> files, List<String> bundledFilePaths)
name - the name of the bundlemappingPrefix - the mapping prefix of the bundlefiles - the list of files in the bundlebundledFilePaths - the list of unbundled file paths to include in the templateCopyright © 2020. All rights reserved.