@ApplicationScoped public class GuidedDecisionTableGraphEditorServiceImpl extends org.kie.workbench.common.services.backend.service.KieService<GuidedDecisionTableEditorGraphContent> implements GuidedDecisionTableGraphEditorService
Constructor and Description |
---|
GuidedDecisionTableGraphEditorServiceImpl() |
GuidedDecisionTableGraphEditorServiceImpl(org.uberfire.io.IOService ioService,
org.uberfire.ext.editor.commons.service.CopyService copyService,
org.uberfire.ext.editor.commons.service.DeleteService deleteService,
org.uberfire.ext.editor.commons.service.RenameService renameService,
org.kie.workbench.common.services.shared.project.KieModuleService moduleService,
org.uberfire.ext.editor.commons.backend.version.VersionRecordService versionRecordService,
GuidedDecisionTableEditorService dtableService,
GuidedDecisionTableLinkManager dtableLinkManager,
javax.enterprise.event.Event<org.uberfire.workbench.events.ResourceOpenedEvent> resourceOpenedEvent,
org.guvnor.common.services.backend.util.CommentedOptionFactory commentedOptionFactory,
GuidedDTableResourceTypeDefinition resourceType,
org.guvnor.common.services.backend.file.DotFileFilter dotFileFilter,
org.uberfire.rpc.SessionInfo sessionInfo) |
Modifier and Type | Method and Description |
---|---|
protected GuidedDecisionTableEditorGraphContent |
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,
org.uberfire.backend.vfs.Path targetDirectory,
String comment) |
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,
GuidedDecisionTableEditorGraphModel model,
String comment) |
void |
delete(org.uberfire.backend.vfs.Path path,
String comment) |
List<org.uberfire.backend.vfs.Path> |
listDecisionTablesInPackage(org.uberfire.backend.vfs.Path path) |
GuidedDecisionTableEditorGraphModel |
load(org.uberfire.backend.vfs.Path path) |
GuidedDecisionTableEditorGraphContent |
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 path,
GuidedDecisionTableEditorGraphModel model,
org.guvnor.common.services.shared.metadata.model.Metadata metadata,
String comment) |
public GuidedDecisionTableGraphEditorServiceImpl()
@Inject public GuidedDecisionTableGraphEditorServiceImpl(@Named(value="ioStrategy") org.uberfire.io.IOService ioService, org.uberfire.ext.editor.commons.service.CopyService copyService, org.uberfire.ext.editor.commons.service.DeleteService deleteService, org.uberfire.ext.editor.commons.service.RenameService renameService, org.kie.workbench.common.services.shared.project.KieModuleService moduleService, org.uberfire.ext.editor.commons.backend.version.VersionRecordService versionRecordService, GuidedDecisionTableEditorService dtableService, GuidedDecisionTableLinkManager dtableLinkManager, javax.enterprise.event.Event<org.uberfire.workbench.events.ResourceOpenedEvent> resourceOpenedEvent, org.guvnor.common.services.backend.util.CommentedOptionFactory commentedOptionFactory, GuidedDTableResourceTypeDefinition resourceType, org.guvnor.common.services.backend.file.DotFileFilter dotFileFilter, org.uberfire.rpc.SessionInfo sessionInfo)
public org.uberfire.backend.vfs.Path create(org.uberfire.backend.vfs.Path context, String fileName, GuidedDecisionTableEditorGraphModel model, String comment)
create
in interface org.uberfire.ext.editor.commons.service.support.SupportsCreate<GuidedDecisionTableEditorGraphModel>
public GuidedDecisionTableEditorGraphModel load(org.uberfire.backend.vfs.Path path)
load
in interface org.uberfire.ext.editor.commons.service.support.SupportsRead<GuidedDecisionTableEditorGraphModel>
public GuidedDecisionTableEditorGraphContent loadContent(org.uberfire.backend.vfs.Path path)
loadContent
in interface GuidedDecisionTableGraphEditorService
loadContent
in class org.kie.workbench.common.services.backend.service.KieService<GuidedDecisionTableEditorGraphContent>
protected GuidedDecisionTableEditorGraphContent constructContent(org.uberfire.backend.vfs.Path path, org.guvnor.common.services.shared.metadata.model.Overview overview)
constructContent
in class org.kie.workbench.common.services.backend.service.KieService<GuidedDecisionTableEditorGraphContent>
public org.uberfire.backend.vfs.Path save(org.uberfire.backend.vfs.Path path, GuidedDecisionTableEditorGraphModel model, org.guvnor.common.services.shared.metadata.model.Metadata metadata, String comment)
save
in interface org.uberfire.ext.editor.commons.service.support.SupportsUpdate<GuidedDecisionTableEditorGraphModel,org.guvnor.common.services.shared.metadata.model.Metadata>
public void delete(org.uberfire.backend.vfs.Path path, String comment)
delete
in interface org.uberfire.ext.editor.commons.service.support.SupportsDelete
public org.uberfire.backend.vfs.Path rename(org.uberfire.backend.vfs.Path path, String newName, String comment)
rename
in interface org.uberfire.ext.editor.commons.service.support.SupportsRename
public org.uberfire.backend.vfs.Path copy(org.uberfire.backend.vfs.Path path, String newName, String comment)
copy
in interface org.uberfire.ext.editor.commons.service.support.SupportsCopy
public org.uberfire.backend.vfs.Path copy(org.uberfire.backend.vfs.Path path, String newName, org.uberfire.backend.vfs.Path targetDirectory, String comment)
copy
in interface org.uberfire.ext.editor.commons.service.support.SupportsCopy
public List<org.uberfire.backend.vfs.Path> listDecisionTablesInPackage(org.uberfire.backend.vfs.Path path)
listDecisionTablesInPackage
in interface GuidedDecisionTableGraphEditorService
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.