jBPM Console NG - Business Domain Backend 6.2.0.CR1

org.jbpm.console.ng.bd.backend.server.dd
Class DDEditorServiceImpl

java.lang.Object
  extended by org.kie.workbench.common.services.backend.service.KieService
      extended by org.jbpm.console.ng.bd.backend.server.dd.DDEditorServiceImpl
All Implemented Interfaces:
org.guvnor.common.services.shared.file.SupportsRead<DeploymentDescriptorModel>, org.guvnor.common.services.shared.file.SupportsUpdate<DeploymentDescriptorModel>, org.guvnor.common.services.shared.validation.ValidationService<DeploymentDescriptorModel>, DDEditorService, org.kie.workbench.common.services.shared.source.ViewSourceService<DeploymentDescriptorModel>

@ApplicationScoped
public class DDEditorServiceImpl
extends org.kie.workbench.common.services.backend.service.KieService
implements DDEditorService


Field Summary
 
Fields inherited from class org.kie.workbench.common.services.backend.service.KieService
identity, metadataService, projectService, sessionInfo, sourceServices
 
Constructor Summary
DDEditorServiceImpl()
           
 
Method Summary
 void createIfNotExists(org.uberfire.backend.vfs.Path path)
           
 DeploymentDescriptorModel load(org.uberfire.backend.vfs.Path path)
           
 org.uberfire.backend.vfs.Path save(org.uberfire.backend.vfs.Path path, DeploymentDescriptorModel content, org.guvnor.common.services.shared.metadata.model.Metadata metadata, String comment)
           
 String toSource(org.uberfire.backend.vfs.Path path, DeploymentDescriptorModel model)
           
 List<org.guvnor.common.services.shared.validation.model.ValidationMessage> validate(org.uberfire.backend.vfs.Path path, DeploymentDescriptorModel content)
           
 
Methods inherited from class org.kie.workbench.common.services.backend.service.KieService
getSource, loadOverview, makeCommentedOption
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDEditorServiceImpl

public DDEditorServiceImpl()
Method Detail

load

public DeploymentDescriptorModel load(org.uberfire.backend.vfs.Path path)
Specified by:
load in interface org.guvnor.common.services.shared.file.SupportsRead<DeploymentDescriptorModel>

save

public org.uberfire.backend.vfs.Path save(org.uberfire.backend.vfs.Path path,
                                          DeploymentDescriptorModel content,
                                          org.guvnor.common.services.shared.metadata.model.Metadata metadata,
                                          String comment)
Specified by:
save in interface org.guvnor.common.services.shared.file.SupportsUpdate<DeploymentDescriptorModel>

validate

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

toSource

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

createIfNotExists

public void createIfNotExists(org.uberfire.backend.vfs.Path path)
Specified by:
createIfNotExists in interface DDEditorService

jBPM Console NG - Business Domain Backend 6.2.0.CR1

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