public class HtmlEditorServiceImpl extends Object implements HtmlEditorService
| Constructor and Description |
|---|
HtmlEditorServiceImpl(VFSService vfsServices,
DeleteService deleteService,
RenameService renameService,
CopyService copyService,
SaveAndRenameServiceImpl<String,DefaultMetadata> saveAndRenameService) |
| Modifier and Type | Method and Description |
|---|---|
Path |
copy(Path path,
String newName,
Path targetDirectory,
String comment) |
Path |
copy(Path path,
String newName,
String comment) |
void |
delete(Path path,
String comment) |
void |
init() |
String |
load(Path path) |
Path |
rename(Path path,
String newName,
String comment) |
Path |
save(Path path,
String content,
DefaultMetadata _metadata,
String _comment) |
Path |
saveAndRename(Path path,
String newFileName,
DefaultMetadata metadata,
String content,
String comment) |
@Inject public HtmlEditorServiceImpl(VFSService vfsServices, DeleteService deleteService, RenameService renameService, CopyService copyService, SaveAndRenameServiceImpl<String,DefaultMetadata> saveAndRenameService)
@PostConstruct public void init()
public void delete(Path path, String comment)
delete in interface SupportsDeletepublic Path rename(Path path, String newName, String comment)
rename in interface SupportsRenamepublic Path save(Path path, String content, DefaultMetadata _metadata, String _comment)
save in interface SupportsUpdate<String,DefaultMetadata>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 String load(Path path)
load in interface SupportsRead<String>public Path saveAndRename(Path path, String newFileName, DefaultMetadata metadata, String content, String comment)
saveAndRename in interface SupportsSaveAndRename<String,DefaultMetadata>Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.