@ApplicationScoped public class PerspectiveServicesImpl extends Object implements PerspectiveServices
| Constructor and Description |
|---|
PerspectiveServicesImpl(PluginServicesImpl pluginServices,
LayoutServicesImpl layoutServices,
SaveAndRenameServiceImpl<LayoutTemplate,DefaultMetadata> saveAndRenameService) |
@Inject public PerspectiveServicesImpl(PluginServicesImpl pluginServices, LayoutServicesImpl layoutServices, SaveAndRenameServiceImpl<LayoutTemplate,DefaultMetadata> saveAndRenameService)
@PostConstruct public void init()
public Plugin createNewPerspective(String name, LayoutTemplate.Style style)
createNewPerspective in interface PerspectiveServicespublic Collection<LayoutTemplate> listLayoutTemplates()
listLayoutTemplates in interface PerspectiveServicespublic LayoutTemplate getLayoutTemplate(String perspectiveName)
getLayoutTemplate in interface PerspectiveServicespublic LayoutTemplate getLayoutTemplate(Path perspectivePath)
getLayoutTemplate in interface PerspectiveServicespublic LayoutTemplate getLayoutTemplate(Plugin perspectivePlugin)
getLayoutTemplate in interface PerspectiveServicespublic Path saveLayoutTemplate(Path perspectivePath, LayoutTemplate layoutTemplate, String commitMessage)
saveLayoutTemplate in interface PerspectiveServicespublic LayoutTemplate convertToLayoutTemplate(String layoutModel)
convertToLayoutTemplate in interface PerspectiveServicespublic 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 rename(Path path, String newName, String comment)
rename in interface SupportsRenamepublic void delete(Path path, String comment)
delete in interface SupportsDeletepublic Path save(Path path, LayoutTemplate content, DefaultMetadata metadata, String comment)
save in interface SupportsUpdate<LayoutTemplate,DefaultMetadata>public Path saveAndRename(Path path, String newFileName, DefaultMetadata metadata, LayoutTemplate content, String comment)
saveAndRename in interface SupportsSaveAndRename<LayoutTemplate,DefaultMetadata>Copyright © 2012–2021 JBoss by Red Hat. All rights reserved.