@ApplicationScoped public class ScenarioSimulationServiceImpl extends org.kie.workbench.common.services.backend.service.KieService<ScenarioSimulationModelContent> implements ScenarioSimulationService
| Constructor and Description |
|---|
ScenarioSimulationServiceImpl() |
ScenarioSimulationServiceImpl(org.uberfire.rpc.SessionInfo sessionInfo) |
| Modifier and Type | Method and Description |
|---|---|
protected ScenarioSimulationModelContent |
constructContent(org.uberfire.backend.vfs.Path path,
org.guvnor.common.services.shared.metadata.model.Overview overview) |
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,
ScenarioSimulationModel content,
String comment) |
void |
delete(org.uberfire.backend.vfs.Path path,
String comment) |
void |
init() |
ScenarioSimulationModel |
load(org.uberfire.backend.vfs.Path path) |
org.uberfire.backend.vfs.Path |
rename(org.uberfire.backend.vfs.Path path,
String newName,
String comment) |
ScenarioSimulationModel |
runScenario(org.uberfire.backend.vfs.Path path,
ScenarioSimulationModel model) |
org.uberfire.backend.vfs.Path |
save(org.uberfire.backend.vfs.Path resource,
ScenarioSimulationModel content,
org.guvnor.common.services.shared.metadata.model.Metadata metadata,
String comment) |
org.uberfire.backend.vfs.Path |
saveAndRename(org.uberfire.backend.vfs.Path path,
String newFileName,
org.guvnor.common.services.shared.metadata.model.Metadata metadata,
ScenarioSimulationModel content,
String comment) |
fireMetadataSocialEvents, getSource, loadContentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitloadContentpublic ScenarioSimulationServiceImpl()
@Inject public ScenarioSimulationServiceImpl(org.uberfire.rpc.SessionInfo sessionInfo)
@PostConstruct public void init()
public ScenarioSimulationModel runScenario(org.uberfire.backend.vfs.Path path, ScenarioSimulationModel model)
runScenario in interface ScenarioSimulationServicepublic org.uberfire.backend.vfs.Path create(org.uberfire.backend.vfs.Path context,
String fileName,
ScenarioSimulationModel content,
String comment)
create in interface org.uberfire.ext.editor.commons.service.support.SupportsCreate<ScenarioSimulationModel>public ScenarioSimulationModel load(org.uberfire.backend.vfs.Path path)
load in interface org.uberfire.ext.editor.commons.service.support.SupportsRead<ScenarioSimulationModel>protected ScenarioSimulationModelContent constructContent(org.uberfire.backend.vfs.Path path, org.guvnor.common.services.shared.metadata.model.Overview overview)
constructContent in class org.kie.workbench.common.services.backend.service.KieService<ScenarioSimulationModelContent>public org.uberfire.backend.vfs.Path save(org.uberfire.backend.vfs.Path resource,
ScenarioSimulationModel content,
org.guvnor.common.services.shared.metadata.model.Metadata metadata,
String comment)
save in interface org.uberfire.ext.editor.commons.service.support.SupportsUpdate<ScenarioSimulationModel,org.guvnor.common.services.shared.metadata.model.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.SupportsCopypublic org.uberfire.backend.vfs.Path saveAndRename(org.uberfire.backend.vfs.Path path,
String newFileName,
org.guvnor.common.services.shared.metadata.model.Metadata metadata,
ScenarioSimulationModel content,
String comment)
saveAndRename in interface org.uberfire.ext.editor.commons.service.support.SupportsSaveAndRename<ScenarioSimulationModel,org.guvnor.common.services.shared.metadata.model.Metadata>Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.