@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 SessionInfo |
sessionInfo |
Constructor and Description |
---|
BpmnServiceImpl() |
Modifier and Type | Method and Description |
---|---|
Path |
copy(Path path,
String newName,
Path targetDirectory,
String comment) |
Path |
copy(Path path,
String newName,
String comment) |
Path |
create(Path context,
String fileName,
ProcessNode content,
String comment) |
void |
delete(Path path,
String comment) |
List<Path> |
listFiles() |
ProcessNode |
load(Path path) |
BpmnEditorContent |
loadContent(Path path) |
Path |
rename(Path path,
String newName,
String comment) |
Path |
save(Path path,
ProcessNode content,
Metadata metadata,
String comment) |
Path |
saveAndRename(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 SessionInfo sessionInfo
public Path create(Path context, String fileName, ProcessNode content, String comment)
create
in interface SupportsCreate<ProcessNode>
public BpmnEditorContent loadContent(Path path)
loadContent
in interface BpmnService
public ProcessNode load(Path path)
load
in interface SupportsRead<ProcessNode>
public Path save(Path path, ProcessNode content, Metadata metadata, String comment)
save
in interface SupportsUpdate<ProcessNode,Metadata>
public void delete(Path path, String comment)
delete
in interface SupportsDelete
public Path rename(Path path, String newName, String comment)
rename
in interface SupportsRename
public Path copy(Path path, String newName, String comment)
copy
in interface SupportsCopy
public Path copy(Path path, String newName, Path targetDirectory, String comment)
copy
in interface SupportsCopy
@PostConstruct public void setup()
public List<Path> listFiles()
listFiles
in interface BpmnService
public Path saveAndRename(Path path, String newFileName, Metadata metadata, ProcessNode content, String comment)
saveAndRename
in interface SupportsSaveAndRename<ProcessNode,Metadata>
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.