Class BpmnServiceImpl
- java.lang.Object
-
- org.uberfire.ext.wires.bpmn.backend.BpmnServiceImpl
-
- All Implemented Interfaces:
org.uberfire.ext.editor.commons.service.support.SupportsCopy,org.uberfire.ext.editor.commons.service.support.SupportsCreate<org.uberfire.ext.wires.bpmn.api.model.impl.nodes.ProcessNode>,org.uberfire.ext.editor.commons.service.support.SupportsDelete,org.uberfire.ext.editor.commons.service.support.SupportsRead<org.uberfire.ext.wires.bpmn.api.model.impl.nodes.ProcessNode>,org.uberfire.ext.editor.commons.service.support.SupportsRename,org.uberfire.ext.editor.commons.service.support.SupportsSaveAndRename<org.uberfire.ext.wires.bpmn.api.model.impl.nodes.ProcessNode,org.uberfire.ext.wires.bpmn.api.service.todo.Metadata>,org.uberfire.ext.editor.commons.service.support.SupportsUpdate<org.uberfire.ext.wires.bpmn.api.model.impl.nodes.ProcessNode,org.uberfire.ext.wires.bpmn.api.service.todo.Metadata>,org.uberfire.ext.wires.bpmn.api.service.BpmnService
@ApplicationScoped public class BpmnServiceImpl extends Object implements org.uberfire.ext.wires.bpmn.api.service.BpmnService
-
-
Field Summary
Fields Modifier and Type Field Description protected org.jboss.errai.security.shared.api.identity.Useridentityprotected org.uberfire.rpc.SessionInfosessionInfo
-
Constructor Summary
Constructors Constructor Description BpmnServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.uberfire.backend.vfs.Pathcopy(org.uberfire.backend.vfs.Path path, String newName, String comment)org.uberfire.backend.vfs.Pathcopy(org.uberfire.backend.vfs.Path path, String newName, org.uberfire.backend.vfs.Path targetDirectory, String comment)org.uberfire.backend.vfs.Pathcreate(org.uberfire.backend.vfs.Path context, String fileName, org.uberfire.ext.wires.bpmn.api.model.impl.nodes.ProcessNode content, String comment)voiddelete(org.uberfire.backend.vfs.Path path, String comment)List<org.uberfire.backend.vfs.Path>listFiles()org.uberfire.ext.wires.bpmn.api.model.impl.nodes.ProcessNodeload(org.uberfire.backend.vfs.Path path)org.uberfire.ext.wires.bpmn.api.model.impl.BpmnEditorContentloadContent(org.uberfire.backend.vfs.Path path)org.uberfire.backend.vfs.Pathrename(org.uberfire.backend.vfs.Path path, String newName, String comment)org.uberfire.backend.vfs.Pathsave(org.uberfire.backend.vfs.Path path, org.uberfire.ext.wires.bpmn.api.model.impl.nodes.ProcessNode content, org.uberfire.ext.wires.bpmn.api.service.todo.Metadata metadata, String comment)org.uberfire.backend.vfs.PathsaveAndRename(org.uberfire.backend.vfs.Path path, String newFileName, org.uberfire.ext.wires.bpmn.api.service.todo.Metadata metadata, org.uberfire.ext.wires.bpmn.api.model.impl.nodes.ProcessNode content, String comment)voidsetup()
-
-
-
Method Detail
-
create
public org.uberfire.backend.vfs.Path create(org.uberfire.backend.vfs.Path context, String fileName, org.uberfire.ext.wires.bpmn.api.model.impl.nodes.ProcessNode content, String comment)- Specified by:
createin interfaceorg.uberfire.ext.editor.commons.service.support.SupportsCreate<org.uberfire.ext.wires.bpmn.api.model.impl.nodes.ProcessNode>
-
loadContent
public org.uberfire.ext.wires.bpmn.api.model.impl.BpmnEditorContent loadContent(org.uberfire.backend.vfs.Path path)
- Specified by:
loadContentin interfaceorg.uberfire.ext.wires.bpmn.api.service.BpmnService
-
load
public org.uberfire.ext.wires.bpmn.api.model.impl.nodes.ProcessNode load(org.uberfire.backend.vfs.Path path)
- Specified by:
loadin interfaceorg.uberfire.ext.editor.commons.service.support.SupportsRead<org.uberfire.ext.wires.bpmn.api.model.impl.nodes.ProcessNode>
-
save
public org.uberfire.backend.vfs.Path save(org.uberfire.backend.vfs.Path path, org.uberfire.ext.wires.bpmn.api.model.impl.nodes.ProcessNode content, org.uberfire.ext.wires.bpmn.api.service.todo.Metadata metadata, String comment)- Specified by:
savein interfaceorg.uberfire.ext.editor.commons.service.support.SupportsUpdate<org.uberfire.ext.wires.bpmn.api.model.impl.nodes.ProcessNode,org.uberfire.ext.wires.bpmn.api.service.todo.Metadata>
-
delete
public void delete(org.uberfire.backend.vfs.Path path, String comment)- Specified by:
deletein interfaceorg.uberfire.ext.editor.commons.service.support.SupportsDelete
-
rename
public org.uberfire.backend.vfs.Path rename(org.uberfire.backend.vfs.Path path, String newName, String comment)- Specified by:
renamein interfaceorg.uberfire.ext.editor.commons.service.support.SupportsRename
-
copy
public org.uberfire.backend.vfs.Path copy(org.uberfire.backend.vfs.Path path, String newName, String comment)- Specified by:
copyin interfaceorg.uberfire.ext.editor.commons.service.support.SupportsCopy
-
copy
public org.uberfire.backend.vfs.Path copy(org.uberfire.backend.vfs.Path path, String newName, org.uberfire.backend.vfs.Path targetDirectory, String comment)- Specified by:
copyin interfaceorg.uberfire.ext.editor.commons.service.support.SupportsCopy
-
setup
@PostConstruct public void setup()
-
listFiles
public List<org.uberfire.backend.vfs.Path> listFiles()
- Specified by:
listFilesin interfaceorg.uberfire.ext.wires.bpmn.api.service.BpmnService
-
saveAndRename
public org.uberfire.backend.vfs.Path saveAndRename(org.uberfire.backend.vfs.Path path, String newFileName, org.uberfire.ext.wires.bpmn.api.service.todo.Metadata metadata, org.uberfire.ext.wires.bpmn.api.model.impl.nodes.ProcessNode content, String comment)- Specified by:
saveAndRenamein interfaceorg.uberfire.ext.editor.commons.service.support.SupportsSaveAndRename<org.uberfire.ext.wires.bpmn.api.model.impl.nodes.ProcessNode,org.uberfire.ext.wires.bpmn.api.service.todo.Metadata>
-
-