Drools Workbench - Guided Decision Table Editor - Backend 6.1.0.CR2

org.drools.workbench.screens.guided.dtable.backend.server
Class GuidedDecisionTableEditorServiceImpl

java.lang.Object
  extended by org.drools.workbench.screens.guided.dtable.backend.server.GuidedDecisionTableEditorServiceImpl
All Implemented Interfaces:
GuidedDecisionTableEditorService, org.guvnor.common.services.shared.file.SupportsCopy, org.guvnor.common.services.shared.file.SupportsCreate<org.drools.workbench.models.guided.dtable.shared.model.GuidedDecisionTable52>, org.guvnor.common.services.shared.file.SupportsDelete, org.guvnor.common.services.shared.file.SupportsRead<org.drools.workbench.models.guided.dtable.shared.model.GuidedDecisionTable52>, org.guvnor.common.services.shared.file.SupportsRename, org.guvnor.common.services.shared.file.SupportsUpdate<org.drools.workbench.models.guided.dtable.shared.model.GuidedDecisionTable52>, org.guvnor.common.services.shared.validation.ValidationService<org.drools.workbench.models.guided.dtable.shared.model.GuidedDecisionTable52>, org.kie.workbench.common.services.shared.source.ViewSourceService<org.drools.workbench.models.guided.dtable.shared.model.GuidedDecisionTable52>

@ApplicationScoped
public class GuidedDecisionTableEditorServiceImpl
extends Object
implements GuidedDecisionTableEditorService


Constructor Summary
GuidedDecisionTableEditorServiceImpl()
           
 
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.guided.dtable.shared.model.GuidedDecisionTable52 content, String comment)
           
 void delete(org.uberfire.backend.vfs.Path path, String comment)
           
 org.drools.workbench.models.guided.dtable.shared.model.GuidedDecisionTable52 load(org.uberfire.backend.vfs.Path path)
           
 GuidedDecisionTableEditorContent 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.dtable.shared.model.GuidedDecisionTable52 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.dtable.shared.model.GuidedDecisionTable52 model)
           
 List<org.guvnor.common.services.shared.validation.model.ValidationMessage> validate(org.uberfire.backend.vfs.Path path, org.drools.workbench.models.guided.dtable.shared.model.GuidedDecisionTable52 content)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GuidedDecisionTableEditorServiceImpl

public GuidedDecisionTableEditorServiceImpl()
Method Detail

create

public org.uberfire.backend.vfs.Path create(org.uberfire.backend.vfs.Path context,
                                            String fileName,
                                            org.drools.workbench.models.guided.dtable.shared.model.GuidedDecisionTable52 content,
                                            String comment)
Specified by:
create in interface org.guvnor.common.services.shared.file.SupportsCreate<org.drools.workbench.models.guided.dtable.shared.model.GuidedDecisionTable52>

load

public org.drools.workbench.models.guided.dtable.shared.model.GuidedDecisionTable52 load(org.uberfire.backend.vfs.Path path)
Specified by:
load in interface org.guvnor.common.services.shared.file.SupportsRead<org.drools.workbench.models.guided.dtable.shared.model.GuidedDecisionTable52>

loadContent

public GuidedDecisionTableEditorContent loadContent(org.uberfire.backend.vfs.Path path)
Specified by:
loadContent in interface GuidedDecisionTableEditorService

loadDataModel

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

save

public org.uberfire.backend.vfs.Path save(org.uberfire.backend.vfs.Path resource,
                                          org.drools.workbench.models.guided.dtable.shared.model.GuidedDecisionTable52 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.guided.dtable.shared.model.GuidedDecisionTable52>

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.guided.dtable.shared.model.GuidedDecisionTable52 model)
Specified by:
toSource in interface org.kie.workbench.common.services.shared.source.ViewSourceService<org.drools.workbench.models.guided.dtable.shared.model.GuidedDecisionTable52>

validate

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

Drools Workbench - Guided Decision Table Editor - Backend 6.1.0.CR2

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