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