@ApplicationScoped public class PluginServicesImpl extends Object implements PluginServices
| Modifier and Type | Field and Description |
|---|---|
protected com.google.gson.Gson |
gson |
| Constructor and Description |
|---|
PluginServicesImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.uberfire.backend.vfs.Path |
copy(org.uberfire.backend.vfs.Path path,
String newName,
String comment) |
Plugin |
createNewPlugin(String pluginName,
PluginType type) |
void |
delete(org.uberfire.backend.vfs.Path path,
String comment) |
void |
deleteMedia(Media media) |
DynamicMenu |
getDynamicMenuContent(org.uberfire.backend.vfs.Path path) |
LayoutEditorModel |
getLayoutEditor(org.uberfire.backend.vfs.Path path,
PluginType pluginType) |
String |
getMediaServletURI() |
PluginContent |
getPluginContent(org.uberfire.backend.vfs.Path path) |
void |
init() |
Collection<DynamicMenu> |
listDynamicMenus() |
Collection<LayoutEditorModel> |
listLayoutEditor(PluginType pluginType) |
Collection<Plugin> |
listPlugins() |
Collection<RuntimePlugin> |
listRuntimePlugins() |
org.uberfire.backend.vfs.Path |
rename(org.uberfire.backend.vfs.Path path,
String newName,
String comment) |
org.uberfire.backend.vfs.Path |
save(PluginSimpleContent plugin,
String commitMessage) |
org.uberfire.backend.vfs.Path |
saveLayout(LayoutEditorModel plugin,
String commitMessage) |
org.uberfire.backend.vfs.Path |
saveMenu(DynamicMenu plugin,
String commitMessage) |
@PostConstruct public void init()
public String getMediaServletURI()
getMediaServletURI in interface PluginServicespublic Collection<RuntimePlugin> listRuntimePlugins()
listRuntimePlugins in interface PluginServicespublic Collection<Plugin> listPlugins()
listPlugins in interface PluginServicespublic Plugin createNewPlugin(String pluginName, PluginType type)
createNewPlugin in interface PluginServicespublic PluginContent getPluginContent(org.uberfire.backend.vfs.Path path)
getPluginContent in interface PluginServicespublic org.uberfire.backend.vfs.Path save(PluginSimpleContent plugin, String commitMessage)
save in interface PluginServicespublic 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 rename(org.uberfire.backend.vfs.Path path,
String newName,
String comment)
rename in interface org.uberfire.ext.editor.commons.service.support.SupportsRenamepublic void deleteMedia(Media media)
deleteMedia in interface PluginServicespublic DynamicMenu getDynamicMenuContent(org.uberfire.backend.vfs.Path path)
getDynamicMenuContent in interface PluginServicespublic LayoutEditorModel getLayoutEditor(org.uberfire.backend.vfs.Path path, PluginType pluginType)
getLayoutEditor in interface PluginServicespublic org.uberfire.backend.vfs.Path saveMenu(DynamicMenu plugin, String commitMessage)
saveMenu in interface PluginServicespublic org.uberfire.backend.vfs.Path saveLayout(LayoutEditorModel plugin, String commitMessage)
saveLayout in interface PluginServicespublic Collection<DynamicMenu> listDynamicMenus()
listDynamicMenus in interface PluginServicespublic Collection<LayoutEditorModel> listLayoutEditor(PluginType pluginType)
listLayoutEditor in interface PluginServicesCopyright © 2012–2016 JBoss by Red Hat. All rights reserved.