Drools Workbench - Guided Decision Tree Editor - Backend 6.2.0.Final

org.drools.workbench.screens.guided.dtree.backend.server
Class GuidedDecisionTreeEditorServiceImpl

java.lang.Object
  extended by org.kie.workbench.common.services.backend.service.KieService<GuidedDecisionTreeEditorContent>
      extended by org.drools.workbench.screens.guided.dtree.backend.server.GuidedDecisionTreeEditorServiceImpl
All Implemented Interfaces:
GuidedDecisionTreeEditorService, org.guvnor.common.services.shared.validation.ValidationService<org.drools.workbench.models.guided.dtree.shared.model.GuidedDecisionTree>, org.kie.workbench.common.services.shared.source.ViewSourceService<org.drools.workbench.models.guided.dtree.shared.model.GuidedDecisionTree>, org.uberfire.ext.editor.commons.service.support.SupportsCopy, org.uberfire.ext.editor.commons.service.support.SupportsCreate<org.drools.workbench.models.guided.dtree.shared.model.GuidedDecisionTree>, org.uberfire.ext.editor.commons.service.support.SupportsDelete, org.uberfire.ext.editor.commons.service.support.SupportsRead<org.drools.workbench.models.guided.dtree.shared.model.GuidedDecisionTree>, org.uberfire.ext.editor.commons.service.support.SupportsRename, org.uberfire.ext.editor.commons.service.support.SupportsUpdate<org.drools.workbench.models.guided.dtree.shared.model.GuidedDecisionTree,org.guvnor.common.services.shared.metadata.model.Metadata>

@ApplicationScoped
public class GuidedDecisionTreeEditorServiceImpl
extends org.kie.workbench.common.services.backend.service.KieService<GuidedDecisionTreeEditorContent>
implements GuidedDecisionTreeEditorService


Field Summary
 
Fields inherited from class org.kie.workbench.common.services.backend.service.KieService
commentAddedEvent, identity, metadataService, projectService, sessionInfo, sourceServices
 
Constructor Summary
GuidedDecisionTreeEditorServiceImpl()
           
 
Method Summary
protected  GuidedDecisionTreeEditorContent 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, String comment)
           
 org.uberfire.backend.vfs.Path create(org.uberfire.backend.vfs.Path context, String fileName, org.drools.workbench.models.guided.dtree.shared.model.GuidedDecisionTree content, String comment)
           
 void delete(org.uberfire.backend.vfs.Path path, String comment)
           
 org.drools.workbench.models.guided.dtree.shared.model.GuidedDecisionTree load(org.uberfire.backend.vfs.Path path)
           
 GuidedDecisionTreeEditorContent loadContent(org.uberfire.backend.vfs.Path path)
           
 org.kie.workbench.common.services.datamodel.model.PackageDataModelOracleBaselinePayload loadDataModel(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.guided.dtree.shared.model.GuidedDecisionTree model, org.guvnor.common.services.shared.metadata.model.Metadata metadata, String comment)
           
 String toSource(org.uberfire.backend.vfs.Path path, org.drools.workbench.models.guided.dtree.shared.model.GuidedDecisionTree model)
           
 List<org.guvnor.common.services.shared.validation.model.ValidationMessage> validate(org.uberfire.backend.vfs.Path path, org.drools.workbench.models.guided.dtree.shared.model.GuidedDecisionTree content)
           
 
Methods inherited from class org.kie.workbench.common.services.backend.service.KieService
fireMetadataSocialEvents, getSource, makeCommentedOption
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GuidedDecisionTreeEditorServiceImpl

public GuidedDecisionTreeEditorServiceImpl()
Method Detail

create

public org.uberfire.backend.vfs.Path create(org.uberfire.backend.vfs.Path context,
                                            String fileName,
                                            org.drools.workbench.models.guided.dtree.shared.model.GuidedDecisionTree content,
                                            String comment)
Specified by:
create in interface org.uberfire.ext.editor.commons.service.support.SupportsCreate<org.drools.workbench.models.guided.dtree.shared.model.GuidedDecisionTree>

load

public org.drools.workbench.models.guided.dtree.shared.model.GuidedDecisionTree load(org.uberfire.backend.vfs.Path path)
Specified by:
load in interface org.uberfire.ext.editor.commons.service.support.SupportsRead<org.drools.workbench.models.guided.dtree.shared.model.GuidedDecisionTree>

loadContent

public GuidedDecisionTreeEditorContent loadContent(org.uberfire.backend.vfs.Path path)
Specified by:
loadContent in interface GuidedDecisionTreeEditorService
Overrides:
loadContent in class org.kie.workbench.common.services.backend.service.KieService<GuidedDecisionTreeEditorContent>

constructContent

protected GuidedDecisionTreeEditorContent constructContent(org.uberfire.backend.vfs.Path path,
                                                           org.guvnor.common.services.shared.metadata.model.Overview overview)
Specified by:
constructContent in class org.kie.workbench.common.services.backend.service.KieService<GuidedDecisionTreeEditorContent>

loadDataModel

public org.kie.workbench.common.services.datamodel.model.PackageDataModelOracleBaselinePayload loadDataModel(org.uberfire.backend.vfs.Path path)
Specified by:
loadDataModel in interface GuidedDecisionTreeEditorService

save

public org.uberfire.backend.vfs.Path save(org.uberfire.backend.vfs.Path resource,
                                          org.drools.workbench.models.guided.dtree.shared.model.GuidedDecisionTree model,
                                          org.guvnor.common.services.shared.metadata.model.Metadata metadata,
                                          String comment)
Specified by:
save in interface org.uberfire.ext.editor.commons.service.support.SupportsUpdate<org.drools.workbench.models.guided.dtree.shared.model.GuidedDecisionTree,org.guvnor.common.services.shared.metadata.model.Metadata>

delete

public void delete(org.uberfire.backend.vfs.Path path,
                   String comment)
Specified by:
delete in interface org.uberfire.ext.editor.commons.service.support.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.uberfire.ext.editor.commons.service.support.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.uberfire.ext.editor.commons.service.support.SupportsCopy

toSource

public String toSource(org.uberfire.backend.vfs.Path path,
                       org.drools.workbench.models.guided.dtree.shared.model.GuidedDecisionTree model)
Specified by:
toSource in interface org.kie.workbench.common.services.shared.source.ViewSourceService<org.drools.workbench.models.guided.dtree.shared.model.GuidedDecisionTree>

validate

public List<org.guvnor.common.services.shared.validation.model.ValidationMessage> validate(org.uberfire.backend.vfs.Path path,
                                                                                           org.drools.workbench.models.guided.dtree.shared.model.GuidedDecisionTree content)
Specified by:
validate in interface org.guvnor.common.services.shared.validation.ValidationService<org.drools.workbench.models.guided.dtree.shared.model.GuidedDecisionTree>

Drools Workbench - Guided Decision Tree Editor - Backend 6.2.0.Final

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.