public interface ResourceCategoryRegistry
Modifier and Type | Method and Description |
---|---|
void |
registerCssCategoryExtensions(String bundleName,
Map<String,List<String>> resources)
Extend some of the CSS categories with CSS files of a plugin.
|
void |
registerCssResourceExtension(String bundleName,
ResourceExtension extension)
Add the CSS resource category extensions and definitions defined in the extension.
|
void |
registerJsCategoryExtensions(String bundleName,
Map<String,List<String>> resources)
Extend some of the JavaScript categories with JavaScript files of a plugin.
|
void |
registerJsResourceExtension(String bundleName,
ResourceExtension extension)
Add the JavaScript resource category extensions and definitions defined in the extension.
|
void |
unregisterCssCategories(String bundleName)
Remove all CSS extensions and definitions added by the given bundle.
|
void |
unregisterJsCategories(String bundleName)
Remove all JavaScript extensions and definitions added by the given bundle.
|
void registerCssCategoryExtensions(String bundleName, Map<String,List<String>> resources) throws ConcatenatedResourceStoreException
bundleName
- the name of the bundle for which the resources should be addedresources
- mapping from category name to a list of resourcesConcatenatedResourceStoreException
- in case a category could not be updatedvoid registerCssResourceExtension(String bundleName, ResourceExtension extension) throws ConcatenatedResourceStoreException
bundleName
- the name of the bundle that provides the resource extensionextension
- the object containing the category extensions and definitionsConcatenatedResourceStoreException
- in case a category could not be updated or addedvoid registerJsCategoryExtensions(String bundleName, Map<String,List<String>> resources) throws ConcatenatedResourceStoreException
bundleName
- the name of the bundle for which the resources should be addedresources
- mapping from category name to a list of resourcesConcatenatedResourceStoreException
- in case a category could not be updatedvoid registerJsResourceExtension(String bundleName, ResourceExtension extension) throws ConcatenatedResourceStoreException
bundleName
- the name of the bundle that provides the resource extensionextension
- the object containing the category extensions and definitionsConcatenatedResourceStoreException
- in case a category could not be updated or addedvoid unregisterCssCategories(String bundleName)
bundleName
- the name of the bundlevoid unregisterJsCategories(String bundleName)
bundleName
- the name of the bundleCopyright © 2019 Communote team. All rights reserved.