org.drools.workbench.screens.guided.rule.backend.server
Class GuidedRuleEditorServiceImpl
java.lang.Object
org.drools.workbench.screens.guided.rule.backend.server.GuidedRuleEditorServiceImpl
- All Implemented Interfaces:
- GuidedRuleEditorService, org.guvnor.common.services.shared.file.SupportsCopy, org.guvnor.common.services.shared.file.SupportsCreate<org.drools.workbench.models.datamodel.rule.RuleModel>, org.guvnor.common.services.shared.file.SupportsDelete, org.guvnor.common.services.shared.file.SupportsRead<org.drools.workbench.models.datamodel.rule.RuleModel>, org.guvnor.common.services.shared.file.SupportsRename, org.guvnor.common.services.shared.file.SupportsUpdate<org.drools.workbench.models.datamodel.rule.RuleModel>, org.guvnor.common.services.shared.validation.ValidationService<org.drools.workbench.models.datamodel.rule.RuleModel>, org.kie.workbench.common.services.shared.source.ViewSourceService<org.drools.workbench.models.datamodel.rule.RuleModel>
@ApplicationScoped
public class GuidedRuleEditorServiceImpl
- extends Object
- implements GuidedRuleEditorService
|
Method Summary |
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)
|
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)
|
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GuidedRuleEditorServiceImpl
public GuidedRuleEditorServiceImpl()
create
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)
- Specified by:
create in interface org.guvnor.common.services.shared.file.SupportsCreate<org.drools.workbench.models.datamodel.rule.RuleModel>
load
public org.drools.workbench.models.datamodel.rule.RuleModel load(org.uberfire.backend.vfs.Path path)
- Specified by:
load in interface org.guvnor.common.services.shared.file.SupportsRead<org.drools.workbench.models.datamodel.rule.RuleModel>
loadContent
public GuidedEditorContent loadContent(org.uberfire.backend.vfs.Path path)
- Specified by:
loadContent in interface GuidedRuleEditorService
save
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)
- Specified by:
save in interface org.guvnor.common.services.shared.file.SupportsUpdate<org.drools.workbench.models.datamodel.rule.RuleModel>
delete
public void delete(org.uberfire.backend.vfs.Path path,
String comment)
- Specified by:
delete in interface org.guvnor.common.services.shared.file.SupportsDelete
rename
public org.uberfire.backend.vfs.Path rename(org.uberfire.backend.vfs.Path path,
String newName,
String comment)
- Specified by:
rename in interface org.guvnor.common.services.shared.file.SupportsRename
copy
public org.uberfire.backend.vfs.Path copy(org.uberfire.backend.vfs.Path path,
String newName,
String comment)
- Specified by:
copy in interface org.guvnor.common.services.shared.file.SupportsCopy
toSource
public String toSource(org.uberfire.backend.vfs.Path path,
org.drools.workbench.models.datamodel.rule.RuleModel model)
- Specified by:
toSource in interface org.kie.workbench.common.services.shared.source.ViewSourceService<org.drools.workbench.models.datamodel.rule.RuleModel>
validate
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)
- Specified by:
validate in interface org.guvnor.common.services.shared.validation.ValidationService<org.drools.workbench.models.datamodel.rule.RuleModel>
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.