@ApplicationScoped public class ExperimentalEditorServiceImpl extends Object implements ExperimentalEditorService
Modifier and Type | Field and Description |
---|---|
static String |
EXTENSION |
static String |
SEPARATOR |
static String |
STORAGE_PATH |
Constructor and Description |
---|
ExperimentalEditorServiceImpl(SpacesAPI spaces,
IOService ioService,
javax.enterprise.event.Event<ExperimentalAssetRemoved> assetRemovedEvent) |
Modifier and Type | Method and Description |
---|---|
Path |
create(String assetName) |
void |
delete(Path path,
String comment) |
void |
init() |
protected void |
initializeFileSystem() |
List<Path> |
listAll() |
String |
load(Path path) |
void |
save(Path path,
String content) |
public static final String STORAGE_PATH
public static final String SEPARATOR
public static final String EXTENSION
@Inject public ExperimentalEditorServiceImpl(SpacesAPI spaces, @Named(value="configIO") IOService ioService, javax.enterprise.event.Event<ExperimentalAssetRemoved> assetRemovedEvent)
@PostConstruct public void init()
public List<Path> listAll()
listAll
in interface ExperimentalEditorService
public Path create(String assetName)
create
in interface ExperimentalEditorService
public String load(Path path)
load
in interface ExperimentalEditorService
public void save(Path path, String content)
save
in interface ExperimentalEditorService
public void delete(Path path, String comment)
delete
in interface SupportsDelete
protected void initializeFileSystem()
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.