@ApplicationScoped public class SolverEditorServiceImpl extends org.kie.workbench.common.services.backend.service.KieService<SolverModelContent> implements SolverEditorService
Constructor and Description |
---|
SolverEditorServiceImpl() |
Modifier and Type | Method and Description |
---|---|
protected SolverModelContent |
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,
SolverConfigModel config,
String comment) |
void |
delete(org.uberfire.backend.vfs.Path path,
String comment) |
SolverConfigModel |
load(org.uberfire.backend.vfs.Path path) |
SolverModelContent |
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 resource,
SolverConfigModel config,
org.guvnor.common.services.shared.metadata.model.Metadata metadata,
String comment) |
List<org.guvnor.common.services.shared.validation.model.ValidationMessage> |
smokeTest(org.uberfire.backend.vfs.Path path,
SolverConfigModel config) |
String |
toSource(org.uberfire.backend.vfs.Path path,
SolverConfigModel model) |
List<org.guvnor.common.services.shared.validation.model.ValidationMessage> |
validate(org.uberfire.backend.vfs.Path path,
SolverConfigModel config) |
public org.uberfire.backend.vfs.Path create(org.uberfire.backend.vfs.Path context, String fileName, SolverConfigModel config, String comment)
create
in interface org.uberfire.ext.editor.commons.service.support.SupportsCreate<SolverConfigModel>
public SolverConfigModel load(org.uberfire.backend.vfs.Path path)
load
in interface org.uberfire.ext.editor.commons.service.support.SupportsRead<SolverConfigModel>
public SolverModelContent loadContent(org.uberfire.backend.vfs.Path path)
loadContent
in interface SolverEditorService
loadContent
in class org.kie.workbench.common.services.backend.service.KieService<SolverModelContent>
protected SolverModelContent 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<SolverModelContent>
public String toSource(org.uberfire.backend.vfs.Path path, SolverConfigModel model)
toSource
in interface org.kie.workbench.common.services.shared.source.ViewSourceService<SolverConfigModel>
public org.uberfire.backend.vfs.Path save(org.uberfire.backend.vfs.Path resource, SolverConfigModel config, org.guvnor.common.services.shared.metadata.model.Metadata metadata, String comment)
save
in interface org.uberfire.ext.editor.commons.service.support.SupportsUpdate<SolverConfigModel,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.SupportsDelete
public 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.SupportsRename
public 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.SupportsCopy
public 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
public List<org.guvnor.common.services.shared.validation.model.ValidationMessage> validate(org.uberfire.backend.vfs.Path path, SolverConfigModel config)
validate
in interface org.guvnor.common.services.shared.validation.ValidationService<SolverConfigModel>
public List<org.guvnor.common.services.shared.validation.model.ValidationMessage> smokeTest(org.uberfire.backend.vfs.Path path, SolverConfigModel config)
smokeTest
in interface SolverEditorService
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.