@ApplicationScoped public class DecisionTableXLSServiceImpl extends org.kie.workbench.common.services.backend.service.KieService<DecisionTableXLSContent> implements DecisionTableXLSService, ExtendedDecisionTableXLSService
Constructor and Description |
---|
DecisionTableXLSServiceImpl() |
DecisionTableXLSServiceImpl(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,
javax.enterprise.event.Event<org.uberfire.workbench.events.ResourceOpenedEvent> resourceOpenedEvent,
DecisionTableXLSConversionService conversionService,
org.guvnor.common.services.backend.validation.GenericValidator genericValidator,
org.guvnor.common.services.backend.util.CommentedOptionFactory commentedOptionFactory,
org.jboss.errai.security.shared.service.AuthenticationService authenticationService) |
Modifier and Type | Method and Description |
---|---|
protected DecisionTableXLSContent |
constructContent(org.uberfire.backend.vfs.Path path,
org.guvnor.common.services.shared.metadata.model.Overview overview) |
org.drools.workbench.models.guided.dtable.shared.conversion.ConversionResult |
convert(org.uberfire.backend.vfs.Path path) |
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 resource,
InputStream content,
String sessionId,
String comment) |
void |
delete(org.uberfire.backend.vfs.Path path,
String comment) |
String |
getSource(org.uberfire.backend.vfs.Path path) |
InputStream |
load(org.uberfire.backend.vfs.Path path,
String sessionId) |
DecisionTableXLSContent |
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 resource,
InputStream content,
String sessionId,
String comment) |
List<org.guvnor.common.services.shared.validation.model.ValidationMessage> |
validate(org.uberfire.backend.vfs.Path path,
org.uberfire.backend.vfs.Path resource) |
public DecisionTableXLSServiceImpl()
@Inject public DecisionTableXLSServiceImpl(@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, javax.enterprise.event.Event<org.uberfire.workbench.events.ResourceOpenedEvent> resourceOpenedEvent, DecisionTableXLSConversionService conversionService, org.guvnor.common.services.backend.validation.GenericValidator genericValidator, org.guvnor.common.services.backend.util.CommentedOptionFactory commentedOptionFactory, org.jboss.errai.security.shared.service.AuthenticationService authenticationService)
public DecisionTableXLSContent loadContent(org.uberfire.backend.vfs.Path path)
loadContent
in interface DecisionTableXLSService
loadContent
in class org.kie.workbench.common.services.backend.service.KieService<DecisionTableXLSContent>
protected DecisionTableXLSContent 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<DecisionTableXLSContent>
public InputStream load(org.uberfire.backend.vfs.Path path, String sessionId)
load
in interface ExtendedDecisionTableXLSService
public org.uberfire.backend.vfs.Path create(org.uberfire.backend.vfs.Path resource, InputStream content, String sessionId, String comment)
create
in interface DecisionTableXLSService
public org.uberfire.backend.vfs.Path save(org.uberfire.backend.vfs.Path resource, InputStream content, String sessionId, String comment)
save
in interface ExtendedDecisionTableXLSService
public String getSource(org.uberfire.backend.vfs.Path path)
getSource
in interface DecisionTableXLSService
getSource
in class org.kie.workbench.common.services.backend.service.KieService<DecisionTableXLSContent>
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 org.drools.workbench.models.guided.dtable.shared.conversion.ConversionResult convert(org.uberfire.backend.vfs.Path path)
convert
in interface DecisionTableXLSService
public List<org.guvnor.common.services.shared.validation.model.ValidationMessage> validate(org.uberfire.backend.vfs.Path path, org.uberfire.backend.vfs.Path resource)
validate
in interface org.guvnor.common.services.shared.validation.ValidationService<org.uberfire.backend.vfs.Path>
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.