@ApplicationScoped public class ScoreCardXLSServiceImpl extends org.kie.workbench.common.services.backend.service.KieService<ScoreCardXLSContent> implements ScoreCardXLSService, ExtendedScoreCardXLSService
Constructor and Description |
---|
ScoreCardXLSServiceImpl() |
ScoreCardXLSServiceImpl(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.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 ScoreCardXLSContent |
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 resource,
InputStream content,
String sessionId,
String comment) |
void |
delete(org.uberfire.backend.vfs.Path path,
String comment) |
InputStream |
load(org.uberfire.backend.vfs.Path path,
String sessionId) |
ScoreCardXLSContent |
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 ScoreCardXLSServiceImpl()
@Inject public ScoreCardXLSServiceImpl(@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, 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 ScoreCardXLSContent loadContent(org.uberfire.backend.vfs.Path path)
loadContent
in interface ScoreCardXLSService
loadContent
in class org.kie.workbench.common.services.backend.service.KieService<ScoreCardXLSContent>
protected ScoreCardXLSContent 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<ScoreCardXLSContent>
public InputStream load(org.uberfire.backend.vfs.Path path, String sessionId)
load
in interface ExtendedScoreCardXLSService
public org.uberfire.backend.vfs.Path create(org.uberfire.backend.vfs.Path resource, InputStream content, String sessionId, String comment)
create
in interface ExtendedScoreCardXLSService
public org.uberfire.backend.vfs.Path save(org.uberfire.backend.vfs.Path resource, InputStream content, String sessionId, String comment)
save
in interface ExtendedScoreCardXLSService
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.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–2019 JBoss by Red Hat. All rights reserved.