@ApplicationScoped public class BpmnServiceImpl extends Object implements BpmnService
| Modifier and Type | Field and Description |
|---|---|
protected org.jboss.errai.security.shared.api.identity.User |
identity |
protected org.uberfire.rpc.SessionInfo |
sessionInfo |
| Constructor and Description |
|---|
BpmnServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.uberfire.backend.vfs.Path |
copy(org.uberfire.backend.vfs.Path path,
String newName,
org.uberfire.backend.vfs.Path targetDirectory,
String comment) |
org.uberfire.backend.vfs.Path |
copy(org.uberfire.backend.vfs.Path path,
String newName,
String comment) |
org.uberfire.backend.vfs.Path |
create(org.uberfire.backend.vfs.Path context,
String fileName,
ProcessNode content,
String comment) |
void |
delete(org.uberfire.backend.vfs.Path path,
String comment) |
List<org.uberfire.backend.vfs.Path> |
listFiles() |
ProcessNode |
load(org.uberfire.backend.vfs.Path path) |
BpmnEditorContent |
loadContent(org.uberfire.backend.vfs.Path path) |
org.uberfire.backend.vfs.Path |
rename(org.uberfire.backend.vfs.Path path,
String newName,
String comment) |
org.uberfire.backend.vfs.Path |
save(org.uberfire.backend.vfs.Path path,
ProcessNode content,
Metadata metadata,
String comment) |
org.uberfire.backend.vfs.Path |
saveAndRename(org.uberfire.backend.vfs.Path path,
String newFileName,
Metadata metadata,
ProcessNode content,
String comment) |
void |
setup() |
@Inject protected org.jboss.errai.security.shared.api.identity.User identity
@Inject protected org.uberfire.rpc.SessionInfo sessionInfo
public org.uberfire.backend.vfs.Path create(org.uberfire.backend.vfs.Path context,
String fileName,
ProcessNode content,
String comment)
create in interface org.uberfire.ext.editor.commons.service.support.SupportsCreate<ProcessNode>public BpmnEditorContent loadContent(org.uberfire.backend.vfs.Path path)
loadContent in interface BpmnServicepublic ProcessNode load(org.uberfire.backend.vfs.Path path)
load in interface org.uberfire.ext.editor.commons.service.support.SupportsRead<ProcessNode>public org.uberfire.backend.vfs.Path save(org.uberfire.backend.vfs.Path path,
ProcessNode content,
Metadata metadata,
String comment)
save in interface org.uberfire.ext.editor.commons.service.support.SupportsUpdate<ProcessNode,Metadata>public void delete(org.uberfire.backend.vfs.Path path,
String comment)
delete in interface org.uberfire.ext.editor.commons.service.support.SupportsDeletepublic org.uberfire.backend.vfs.Path rename(org.uberfire.backend.vfs.Path path,
String newName,
String comment)
rename in interface org.uberfire.ext.editor.commons.service.support.SupportsRenamepublic org.uberfire.backend.vfs.Path copy(org.uberfire.backend.vfs.Path path,
String newName,
String comment)
copy in interface org.uberfire.ext.editor.commons.service.support.SupportsCopypublic org.uberfire.backend.vfs.Path copy(org.uberfire.backend.vfs.Path path,
String newName,
org.uberfire.backend.vfs.Path targetDirectory,
String comment)
copy in interface org.uberfire.ext.editor.commons.service.support.SupportsCopy@PostConstruct public void setup()
public List<org.uberfire.backend.vfs.Path> listFiles()
listFiles in interface BpmnServicepublic org.uberfire.backend.vfs.Path saveAndRename(org.uberfire.backend.vfs.Path path,
String newFileName,
Metadata metadata,
ProcessNode content,
String comment)
saveAndRename in interface org.uberfire.ext.editor.commons.service.support.SupportsSaveAndRename<ProcessNode,Metadata>Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.