@ApplicationScoped public class PluginServicesImpl extends Object implements PluginServices
| Modifier and Type | Field and Description |
|---|---|
protected com.google.gson.Gson |
gson |
| Constructor and Description |
|---|
PluginServicesImpl() |
@PostConstruct public void init()
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 Plugin createNewPlugin(String pluginName, PluginType type)
createNewPlugin in interface PluginServicespublic PluginContent getPluginContent(Path path)
getPluginContent in interface PluginServicespublic Path save(PluginSimpleContent plugin, String commitMessage)
save in interface PluginServicespublic void delete(Path path, String comment)
delete in interface org.uberfire.ext.editor.commons.service.support.SupportsDeletepublic Path copy(Path path, String newName, String comment)
copy in interface org.uberfire.ext.editor.commons.service.support.SupportsCopypublic Path copy(Path path, String newName, Path targetDirectory, String comment)
copy in interface org.uberfire.ext.editor.commons.service.support.SupportsCopypublic Path rename(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(Path path)
getDynamicMenuContent in interface PluginServicespublic LayoutEditorModel getLayoutEditor(Path path, PluginType pluginType)
getLayoutEditor in interface PluginServicespublic Path saveMenu(DynamicMenu plugin, String commitMessage)
saveMenu in interface PluginServicespublic 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–2017 JBoss by Red Hat. All rights reserved.