Class DecisionTableXLSServiceImpl
- java.lang.Object
-
- org.kie.workbench.common.services.backend.service.KieService<org.drools.workbench.screens.dtablexls.service.DecisionTableXLSContent>
-
- org.drools.workbench.screens.dtablexls.backend.server.DecisionTableXLSServiceImpl
-
- All Implemented Interfaces:
ExtendedDecisionTableXLSService,org.drools.workbench.screens.dtablexls.service.DecisionTableXLSService,org.guvnor.common.services.shared.validation.ValidationService<org.uberfire.backend.vfs.Path>,org.uberfire.ext.editor.commons.service.support.SupportsCopy,org.uberfire.ext.editor.commons.service.support.SupportsDelete,org.uberfire.ext.editor.commons.service.support.SupportsRename
@ApplicationScoped public class DecisionTableXLSServiceImpl extends org.kie.workbench.common.services.backend.service.KieService<org.drools.workbench.screens.dtablexls.service.DecisionTableXLSContent> implements org.drools.workbench.screens.dtablexls.service.DecisionTableXLSService, ExtendedDecisionTableXLSService
-
-
Constructor Summary
Constructors Constructor 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, org.drools.workbench.screens.dtablexls.service.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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.drools.workbench.screens.dtablexls.service.DecisionTableXLSContentconstructContent(org.uberfire.backend.vfs.Path path, org.guvnor.common.services.shared.metadata.model.Overview overview)org.drools.workbench.models.guided.dtable.shared.conversion.ConversionResultconvert(org.uberfire.backend.vfs.Path path)org.uberfire.backend.vfs.Pathcopy(org.uberfire.backend.vfs.Path path, String newName, String comment)org.uberfire.backend.vfs.Pathcopy(org.uberfire.backend.vfs.Path path, String newName, org.uberfire.backend.vfs.Path targetDirectory, String comment)org.uberfire.backend.vfs.Pathcreate(org.uberfire.backend.vfs.Path resource, InputStream content, String sessionId, String comment)voiddelete(org.uberfire.backend.vfs.Path path, String comment)StringgetSource(org.uberfire.backend.vfs.Path path)InputStreamload(org.uberfire.backend.vfs.Path path, String sessionId)org.uberfire.backend.vfs.Pathrename(org.uberfire.backend.vfs.Path path, String newName, String comment)org.uberfire.backend.vfs.Pathsave(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)-
Methods inherited from class org.kie.workbench.common.services.backend.service.KieService
loadContent
-
-
-
-
Constructor Detail
-
DecisionTableXLSServiceImpl
public DecisionTableXLSServiceImpl()
-
DecisionTableXLSServiceImpl
@Inject public DecisionTableXLSServiceImpl(@Named("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, org.drools.workbench.screens.dtablexls.service.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)
-
-
Method Detail
-
constructContent
protected org.drools.workbench.screens.dtablexls.service.DecisionTableXLSContent constructContent(org.uberfire.backend.vfs.Path path, org.guvnor.common.services.shared.metadata.model.Overview overview)- Specified by:
constructContentin classorg.kie.workbench.common.services.backend.service.KieService<org.drools.workbench.screens.dtablexls.service.DecisionTableXLSContent>
-
load
public InputStream load(org.uberfire.backend.vfs.Path path, String sessionId)
- Specified by:
loadin interfaceExtendedDecisionTableXLSService
-
create
public org.uberfire.backend.vfs.Path create(org.uberfire.backend.vfs.Path resource, InputStream content, String sessionId, String comment)- Specified by:
createin interfaceorg.drools.workbench.screens.dtablexls.service.DecisionTableXLSService
-
save
public org.uberfire.backend.vfs.Path save(org.uberfire.backend.vfs.Path resource, InputStream content, String sessionId, String comment)- Specified by:
savein interfaceExtendedDecisionTableXLSService
-
getSource
public String getSource(org.uberfire.backend.vfs.Path path)
- Specified by:
getSourcein interfaceorg.drools.workbench.screens.dtablexls.service.DecisionTableXLSService- Overrides:
getSourcein classorg.kie.workbench.common.services.backend.service.KieService<org.drools.workbench.screens.dtablexls.service.DecisionTableXLSContent>
-
delete
public void delete(org.uberfire.backend.vfs.Path path, String comment)- Specified by:
deletein interfaceorg.uberfire.ext.editor.commons.service.support.SupportsDelete
-
rename
public org.uberfire.backend.vfs.Path rename(org.uberfire.backend.vfs.Path path, String newName, String comment)- Specified by:
renamein interfaceorg.uberfire.ext.editor.commons.service.support.SupportsRename
-
copy
public org.uberfire.backend.vfs.Path copy(org.uberfire.backend.vfs.Path path, String newName, String comment)- Specified by:
copyin interfaceorg.uberfire.ext.editor.commons.service.support.SupportsCopy
-
copy
public org.uberfire.backend.vfs.Path copy(org.uberfire.backend.vfs.Path path, String newName, org.uberfire.backend.vfs.Path targetDirectory, String comment)- Specified by:
copyin interfaceorg.uberfire.ext.editor.commons.service.support.SupportsCopy
-
convert
public org.drools.workbench.models.guided.dtable.shared.conversion.ConversionResult convert(org.uberfire.backend.vfs.Path path)
- Specified by:
convertin interfaceorg.drools.workbench.screens.dtablexls.service.DecisionTableXLSService
-
validate
public List<org.guvnor.common.services.shared.validation.model.ValidationMessage> validate(org.uberfire.backend.vfs.Path path, org.uberfire.backend.vfs.Path resource)
- Specified by:
validatein interfaceorg.guvnor.common.services.shared.validation.ValidationService<org.uberfire.backend.vfs.Path>
-
-