Class SaveAndRenameServiceImpl<T,M>
- java.lang.Object
-
- org.uberfire.ext.editor.commons.backend.service.SaveAndRenameServiceImpl<T,M>
-
- All Implemented Interfaces:
org.uberfire.ext.editor.commons.service.support.SupportsRename,org.uberfire.ext.editor.commons.service.support.SupportsSaveAndRename<T,M>,org.uberfire.ext.editor.commons.service.support.SupportsUpdate<T,M>
public class SaveAndRenameServiceImpl<T,M> extends Object implements org.uberfire.ext.editor.commons.service.support.SupportsSaveAndRename<T,M>
-
-
Constructor Summary
Constructors Constructor Description SaveAndRenameServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit(org.uberfire.ext.editor.commons.service.support.SupportsSaveAndRename<T,M> updateService)org.uberfire.backend.vfs.Pathrename(org.uberfire.backend.vfs.Path path, String newFileName, String comment)org.uberfire.backend.vfs.Pathsave(org.uberfire.backend.vfs.Path path, T content, M metadata, String comment)org.uberfire.backend.vfs.PathsaveAndRename(org.uberfire.backend.vfs.Path path, String newFileName, M metadata, T content, String comment)
-
-
-
Method Detail
-
init
public void init(org.uberfire.ext.editor.commons.service.support.SupportsSaveAndRename<T,M> updateService)
-
rename
public org.uberfire.backend.vfs.Path rename(org.uberfire.backend.vfs.Path path, String newFileName, String comment)- Specified by:
renamein interfaceorg.uberfire.ext.editor.commons.service.support.SupportsRename
-
save
public org.uberfire.backend.vfs.Path save(org.uberfire.backend.vfs.Path path, T content, M metadata, String comment)
-
-