org.jbpm.console.ng.bd.backend.server.dd
Class DDEditorServiceImpl
java.lang.Object
org.kie.workbench.common.services.backend.service.KieService<DeploymentDescriptorModel>
org.jbpm.console.ng.bd.backend.server.dd.DDEditorServiceImpl
- All Implemented Interfaces:
- org.guvnor.common.services.shared.validation.ValidationService<DeploymentDescriptorModel>, DDEditorService, org.kie.workbench.common.services.shared.source.ViewSourceService<DeploymentDescriptorModel>, org.uberfire.ext.editor.commons.service.support.SupportsRead<DeploymentDescriptorModel>, org.uberfire.ext.editor.commons.service.support.SupportsUpdate<DeploymentDescriptorModel,org.guvnor.common.services.shared.metadata.model.Metadata>
@ApplicationScoped
public class DDEditorServiceImpl
- extends org.kie.workbench.common.services.backend.service.KieService<DeploymentDescriptorModel>
- implements DDEditorService
Fields inherited from class org.kie.workbench.common.services.backend.service.KieService |
commentAddedEvent, identity, metadataService, projectService, sessionInfo, sourceServices |
Methods inherited from class org.kie.workbench.common.services.backend.service.KieService |
fireMetadataSocialEvents, getSource, loadContent, makeCommentedOption |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DDEditorServiceImpl
public DDEditorServiceImpl()
load
public DeploymentDescriptorModel load(org.uberfire.backend.vfs.Path path)
- Specified by:
load
in interface org.uberfire.ext.editor.commons.service.support.SupportsRead<DeploymentDescriptorModel>
constructContent
protected DeploymentDescriptorModel 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<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.uberfire.ext.editor.commons.service.support.SupportsUpdate<DeploymentDescriptorModel,org.guvnor.common.services.shared.metadata.model.Metadata>
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
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.