@ApplicationScoped public class DummyPluginServices extends Object implements PluginServices
| Constructor and Description |
|---|
DummyPluginServices() |
public void delete(Path path, String comment)
delete in interface SupportsDeletepublic Path copy(Path path, String newName, String comment)
copy in interface SupportsCopypublic Path copy(Path path, String newName, Path targetDirectory, String comment)
copy in interface SupportsCopypublic Path saveAndRename(Path path, String newFileName, DefaultMetadata metadata, Plugin content, String comment)
saveAndRename in interface SupportsSaveAndRename<Plugin,DefaultMetadata>public Path rename(Path path, String newName, String comment)
rename in interface SupportsRenamepublic Path save(Path path, Plugin content, DefaultMetadata metadata, String comment)
save in interface SupportsUpdate<Plugin,DefaultMetadata>public String getMediaServletURI()
getMediaServletURI in interface PluginServicespublic Collection<RuntimePlugin> listRuntimePlugins()
listRuntimePlugins in interface PluginServicespublic Collection<RuntimePlugin> listPluginRuntimePlugins(Path pluginPath)
listPluginRuntimePlugins in interface PluginServicespublic Collection<Plugin> listPlugins()
listPlugins in interface PluginServicespublic Collection<Plugin> listPlugins(PluginType type)
listPlugins in interface PluginServicespublic Plugin createNewPlugin(String name, PluginType type)
createNewPlugin in interface PluginServicespublic PluginContent getPluginContent(Path path)
getPluginContent in interface PluginServicespublic void deleteMedia(Media media)
deleteMedia in interface PluginServicespublic DynamicMenu getDynamicMenuContent(Path path)
getDynamicMenuContent in interface PluginServicespublic Path save(Plugin plugin, String commitMessage)
save in interface PluginServicespublic LayoutEditorModel getLayoutEditor(Path path, PluginType pluginType)
getLayoutEditor in interface PluginServicespublic Path saveMenu(DynamicMenu menu, String commitMessage)
saveMenu in interface PluginServicespublic Path saveLayout(LayoutEditorModel layoutContent, String commitMessage)
saveLayout in interface PluginServicespublic Collection<DynamicMenu> listDynamicMenus()
listDynamicMenus in interface PluginServicespublic Collection<LayoutEditorModel> listLayoutEditor(PluginType pluginType)
listLayoutEditor in interface PluginServicesCopyright © 2012–2020 JBoss by Red Hat. All rights reserved.