@ApplicationScoped public class GuidedRuleEditorServiceImpl extends org.kie.workbench.common.services.backend.service.KieService<GuidedEditorContent> implements GuidedRuleEditorService
| Constructor and Description |
|---|
GuidedRuleEditorServiceImpl() |
GuidedRuleEditorServiceImpl(org.uberfire.rpc.SessionInfo sessionInfo,
javax.enterprise.inject.Instance<org.drools.workbench.models.commons.backend.rule.RuleModelIActionPersistenceExtension> persistenceExtensionInstance) |
| Modifier and Type | Method and Description |
|---|---|
protected GuidedEditorContent |
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,
org.drools.workbench.models.datamodel.rule.RuleModel model,
String comment) |
void |
delete(org.uberfire.backend.vfs.Path path,
String comment) |
void |
init() |
org.drools.workbench.models.datamodel.rule.RuleModel |
load(org.uberfire.backend.vfs.Path path) |
GuidedEditorContent |
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,
org.drools.workbench.models.datamodel.rule.RuleModel model,
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,
org.drools.workbench.models.datamodel.rule.RuleModel content,
String comment) |
String |
toSource(org.uberfire.backend.vfs.Path path,
org.drools.workbench.models.datamodel.rule.RuleModel model) |
List<org.guvnor.common.services.shared.validation.model.ValidationMessage> |
validate(org.uberfire.backend.vfs.Path path,
org.drools.workbench.models.datamodel.rule.RuleModel content) |
public GuidedRuleEditorServiceImpl()
@Inject
public GuidedRuleEditorServiceImpl(org.uberfire.rpc.SessionInfo sessionInfo,
javax.enterprise.inject.Instance<org.drools.workbench.models.commons.backend.rule.RuleModelIActionPersistenceExtension> persistenceExtensionInstance)
@PostConstruct public void init()
public org.uberfire.backend.vfs.Path create(org.uberfire.backend.vfs.Path context,
String fileName,
org.drools.workbench.models.datamodel.rule.RuleModel model,
String comment)
create in interface org.uberfire.ext.editor.commons.service.support.SupportsCreate<org.drools.workbench.models.datamodel.rule.RuleModel>public org.drools.workbench.models.datamodel.rule.RuleModel load(org.uberfire.backend.vfs.Path path)
load in interface org.uberfire.ext.editor.commons.service.support.SupportsRead<org.drools.workbench.models.datamodel.rule.RuleModel>public GuidedEditorContent loadContent(org.uberfire.backend.vfs.Path path)
loadContent in interface GuidedRuleEditorServiceloadContent in class org.kie.workbench.common.services.backend.service.KieService<GuidedEditorContent>protected GuidedEditorContent 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<GuidedEditorContent>public org.uberfire.backend.vfs.Path save(org.uberfire.backend.vfs.Path resource,
org.drools.workbench.models.datamodel.rule.RuleModel model,
org.guvnor.common.services.shared.metadata.model.Metadata metadata,
String comment)
save in interface org.uberfire.ext.editor.commons.service.support.SupportsUpdate<org.drools.workbench.models.datamodel.rule.RuleModel,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 String toSource(org.uberfire.backend.vfs.Path path, org.drools.workbench.models.datamodel.rule.RuleModel model)
toSource in interface org.kie.workbench.common.services.shared.source.ViewSourceService<org.drools.workbench.models.datamodel.rule.RuleModel>public List<org.guvnor.common.services.shared.validation.model.ValidationMessage> validate(org.uberfire.backend.vfs.Path path, org.drools.workbench.models.datamodel.rule.RuleModel content)
validate in interface org.guvnor.common.services.shared.validation.ValidationService<org.drools.workbench.models.datamodel.rule.RuleModel>public org.uberfire.backend.vfs.Path saveAndRename(org.uberfire.backend.vfs.Path path,
String newFileName,
org.guvnor.common.services.shared.metadata.model.Metadata metadata,
org.drools.workbench.models.datamodel.rule.RuleModel content,
String comment)
saveAndRename in interface org.uberfire.ext.editor.commons.service.support.SupportsSaveAndRename<org.drools.workbench.models.datamodel.rule.RuleModel,org.guvnor.common.services.shared.metadata.model.Metadata>Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.