@ApplicationScoped public class DummyPerspectiveServices extends Object implements PerspectiveServices
| Constructor and Description |
|---|
DummyPerspectiveServices() |
| Modifier and Type | Method and Description |
|---|---|
LayoutTemplate |
convertToLayoutTemplate(String layoutModel) |
Path |
copy(Path path,
String newName,
Path targetDirectory,
String comment) |
Path |
copy(Path path,
String newName,
String comment) |
Plugin |
createNewPerspective(String name,
LayoutTemplate.Style style) |
void |
delete(Path path,
String comment) |
LayoutTemplate |
getLayoutTemplate(Path perspectivePath) |
LayoutTemplate |
getLayoutTemplate(Plugin perspectivePlugin) |
LayoutTemplate |
getLayoutTemplate(String perspectiveName) |
Collection<LayoutTemplate> |
listLayoutTemplates() |
Path |
rename(Path path,
String newName,
String comment) |
Path |
save(Path path,
LayoutTemplate content,
DefaultMetadata metadata,
String comment) |
Path |
saveAndRename(Path path,
String newFileName,
DefaultMetadata metadata,
LayoutTemplate content,
String comment) |
Path |
saveLayoutTemplate(Path perspectivePath,
LayoutTemplate layoutTemplate,
String commitMessage) |
public 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 void delete(Path path, String comment)
delete in interface SupportsDeletepublic Path saveAndRename(Path path, String newFileName, DefaultMetadata metadata, LayoutTemplate content, String comment)
saveAndRename in interface SupportsSaveAndRename<LayoutTemplate,DefaultMetadata>public Path rename(Path path, String newName, String comment)
rename in interface SupportsRenamepublic Path save(Path path, LayoutTemplate content, DefaultMetadata metadata, String comment)
save in interface SupportsUpdate<LayoutTemplate,DefaultMetadata>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 LayoutTemplate convertToLayoutTemplate(String layoutModel)
convertToLayoutTemplate in interface PerspectiveServicespublic Path saveLayoutTemplate(Path perspectivePath, LayoutTemplate layoutTemplate, String commitMessage)
saveLayoutTemplate in interface PerspectiveServicesCopyright © 2012–2020 JBoss by Red Hat. All rights reserved.