public interface PluginServices extends SupportsDelete, SupportsCopy, SupportsSaveAndRename<Plugin,DefaultMetadata>
Modifier and Type | Method and Description |
---|---|
Plugin |
createNewPlugin(String name,
PluginType type) |
void |
deleteMedia(Media media) |
DynamicMenu |
getDynamicMenuContent(Path path) |
LayoutEditorModel |
getLayoutEditor(Path path,
PluginType pluginType) |
String |
getMediaServletURI() |
PluginContent |
getPluginContent(Path path) |
Collection<DynamicMenu> |
listDynamicMenus() |
Collection<LayoutEditorModel> |
listLayoutEditor(PluginType pluginType) |
Collection<RuntimePlugin> |
listPluginRuntimePlugins(Path pluginPath) |
Collection<Plugin> |
listPlugins() |
Collection<RuntimePlugin> |
listRuntimePlugins() |
Path |
save(Plugin plugin,
String commitMessage) |
Path |
saveLayout(LayoutEditorModel layoutContent,
String commitMessage) |
Path |
saveMenu(DynamicMenu menu,
String commitMessage) |
delete
copy, copy
saveAndRename
rename
save
String getMediaServletURI()
Collection<RuntimePlugin> listRuntimePlugins()
Collection<RuntimePlugin> listPluginRuntimePlugins(Path pluginPath)
Collection<Plugin> listPlugins()
Plugin createNewPlugin(String name, PluginType type)
PluginContent getPluginContent(Path path)
void deleteMedia(Media media)
DynamicMenu getDynamicMenuContent(Path path)
LayoutEditorModel getLayoutEditor(Path path, PluginType pluginType)
Path saveMenu(DynamicMenu menu, String commitMessage)
Path saveLayout(LayoutEditorModel layoutContent, String commitMessage)
Collection<DynamicMenu> listDynamicMenus()
Collection<LayoutEditorModel> listLayoutEditor(PluginType pluginType)
Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.