@ApplicationScoped public class DataSetDefVfsServicesImpl extends Object implements DataSetDefVfsServices
Modifier and Type | Field and Description |
---|---|
protected DataSetDefRegistryCDI |
dataSetDefRegistry |
protected DataSetManagerCDI |
dataSetManager |
protected ExceptionManager |
exceptionManager |
protected org.jboss.errai.security.shared.api.identity.User |
identity |
Constructor and Description |
---|
DataSetDefVfsServicesImpl() |
DataSetDefVfsServicesImpl(org.jboss.errai.security.shared.api.identity.User identity,
DataSetDefRegistryCDI dataSetDefRegistry,
DataSetManagerCDI dataSetManager,
ExceptionManager exceptionManager) |
Modifier and Type | Method and Description |
---|---|
Path |
copy(Path path,
String newName,
Path targetDirectory,
String comment) |
Path |
copy(Path path,
String newName,
String commitMessage) |
void |
delete(Path path,
String commitMessage) |
org.dashbuilder.dataset.def.DataSetDef |
get(Path path) |
org.dashbuilder.dataset.backend.EditDataSetDef |
load(Path path) |
Path |
resolve(org.dashbuilder.dataset.def.DataSetDef dataSetDef) |
Path |
save(org.dashbuilder.dataset.def.DataSetDef definition,
String commitMessage) |
protected org.jboss.errai.security.shared.api.identity.User identity
protected DataSetDefRegistryCDI dataSetDefRegistry
protected DataSetManagerCDI dataSetManager
protected ExceptionManager exceptionManager
public DataSetDefVfsServicesImpl()
@Inject public DataSetDefVfsServicesImpl(org.jboss.errai.security.shared.api.identity.User identity, DataSetDefRegistryCDI dataSetDefRegistry, DataSetManagerCDI dataSetManager, ExceptionManager exceptionManager)
public Path resolve(org.dashbuilder.dataset.def.DataSetDef dataSetDef)
resolve
in interface DataSetDefVfsServices
public org.dashbuilder.dataset.def.DataSetDef get(Path path)
get
in interface DataSetDefVfsServices
public org.dashbuilder.dataset.backend.EditDataSetDef load(Path path)
load
in interface DataSetDefVfsServices
public Path save(org.dashbuilder.dataset.def.DataSetDef definition, String commitMessage)
save
in interface DataSetDefVfsServices
public Path copy(Path path, String newName, String commitMessage)
copy
in interface org.uberfire.ext.editor.commons.service.support.SupportsCopy
public Path copy(Path path, String newName, Path targetDirectory, String comment)
copy
in interface org.uberfire.ext.editor.commons.service.support.SupportsCopy
Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.