| Modifier and Type | Method and Description |
|---|---|
AssetImporter<Widget> |
DesignerConfig.widgetAssetImporter(AssetRepository<Widget> widgetAssetRepository) |
AssetRepository<Widget> |
DesignerConfig.widgetAssetRepository(WidgetRepository widgetRepository) |
AssetService<Widget> |
DesignerConfig.widgetAssetService(WidgetRepository widgetRepository) |
Exporter<Widget> |
DesignerConfig.widgetExporter(WidgetRepository widgetRepository,
WidgetService widgetService,
WidgetByIdExportStep widgetByIdExportStep) |
JsonFileBasedLoader<Widget> |
DesignerConfig.widgetFileBasedLoader() |
JsonFileBasedPersister<Widget> |
DesignerConfig.widgetFileBasedPersister() |
ArtifactImporter<Widget> |
DesignerConfig.widgetImporter(WidgetFileBasedLoader widgetLoader,
WidgetRepository widgetRepository,
WidgetService widgetService,
AssetImporter<Widget> widgetAssetImporter) |
| Modifier and Type | Method and Description |
|---|---|
Widget |
WidgetResource.create(Widget widget,
String sourceWidgetId) |
| Modifier and Type | Method and Description |
|---|---|
Widget |
WidgetResource.create(Widget widget,
String sourceWidgetId) |
void |
WidgetResource.save(String widgetId,
Widget widget) |
| Constructor and Description |
|---|
ExportController(Exporter<Page> pageExporter,
Exporter<Widget> widgetExporter,
Exporter<Fragment> fragmentExporter) |
WidgetResource(JacksonObjectMapper objectMapper,
WidgetRepository widgetRepository,
WidgetService widgetService,
AssetService<Widget> widgetAssetService,
Path widgetPath,
List<WidgetContainerRepository> widgetContainerRepositories,
AssetVisitor assetVisitor) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
WidgetPropertiesBuilder.build(Widget widget) |
| Modifier and Type | Method and Description |
|---|---|
void |
WidgetByIdExportStep.execute(Zipper zipper,
Widget widget) |
| Modifier and Type | Method and Description |
|---|---|
List<Widget> |
WidgetImporter.load(Identifiable parent,
Path resources) |
| Modifier and Type | Method and Description |
|---|---|
void |
WidgetImporter.save(List<Widget> elements,
Path resources) |
| Constructor and Description |
|---|
WidgetImporter(WidgetFileBasedLoader widgetLoader,
WidgetRepository widgetRepository,
AssetImporter<Widget> widgetAssetImporter) |
| Modifier and Type | Field and Description |
|---|---|
protected List<Migration<Widget>> |
MigrationConfig.widgetMigrationSteps |
| Modifier and Type | Method and Description |
|---|---|
LiveRepositoryUpdate<Widget> |
MigrationConfig.widgetLiveRepositoryUpdate(WidgetFileBasedLoader widgetLoader,
WidgetRepository widgetRepository) |
List<Migration<Widget>> |
MigrationConfig.widgetMigrationStepsList() |
| Modifier and Type | Method and Description |
|---|---|
Optional<MigrationStepReport> |
SplitWidgetResourcesMigrationStep.migrate(Widget widget) |
| Modifier and Type | Method and Description |
|---|---|
Widget |
WidgetRepository.create(Widget widget)
Create a new widget, computing id with widget name
|
Widget |
WidgetFileBasedLoader.get(Path path) |
Widget |
WidgetFileBasedLoader.getByUUID(Path directory,
String uuid) |
Widget |
WidgetFileBasedLoader.load(Path path) |
| Modifier and Type | Method and Description |
|---|---|
List<Widget> |
WidgetFileBasedLoader.findByObjectId(Path directory,
String objectId) |
List<Widget> |
WidgetRepository.getAll(boolean loadWidgetsWc) |
List<Widget> |
WidgetRepository.getByIds(Set<String> widgetIds) |
List<Widget> |
WidgetFileBasedLoader.loadAllCustom(Path widgetsFolder) |
| Modifier and Type | Method and Description |
|---|---|
Widget |
WidgetRepository.create(Widget widget)
Create a new widget, computing id with widget name
|
void |
WidgetFileBasedPersister.save(Path directory,
Widget content)
Save an identifiable object in a json file
|
| Constructor and Description |
|---|
WidgetRepository(Path path,
JsonFileBasedPersister<Widget> fileBasedRepository,
JsonFileBasedLoader<Widget> widgetLoader,
BeanValidator validator,
Watcher watcher) |
WidgetRepository(Path path,
JsonFileBasedPersister<Widget> fileBasedRepository,
JsonFileBasedLoader<Widget> widgetLoader,
BeanValidator validator,
Watcher watcher) |
| Modifier and Type | Method and Description |
|---|---|
Widget |
WidgetService.get(String id) |
Widget |
WidgetService.migrate(Identifiable artifact) |
| Modifier and Type | Method and Description |
|---|---|
MigrationResult<Widget> |
WidgetMigrationApplyer.migrate(Widget widget) |
MigrationResult<Widget> |
WidgetService.migrateWithReport(Identifiable artifact) |
| Modifier and Type | Method and Description |
|---|---|
MigrationResult<Widget> |
WidgetMigrationApplyer.migrate(Widget widget) |
| Constructor and Description |
|---|
WidgetMigrationApplyer(List<Migration<Widget>> widgetMigrationStepsList) |
| Modifier and Type | Method and Description |
|---|---|
Set<Asset> |
AssetVisitor.visit(Widget widget) |
| Constructor and Description |
|---|
HtmlBuilderVisitor(FragmentRepository fragmentRepository,
List<PageFactory> pageFactories,
RequiredModulesVisitor requiredModulesVisitor,
AssetVisitor assetVisitor,
DirectivesCollector directivesCollector,
AssetRepository<Page> pageAssetRepository,
AssetRepository<Widget> widgetAssetRepository) |
| Constructor and Description |
|---|
Workspace(WorkspacePathResolver workspacePathResolver,
WidgetRepository widgetRepository,
WidgetFileBasedLoader widgetLoader,
WidgetDirectiveBuilder widgetDirectiveBuilder,
FragmentDirectiveBuilder fragmentDirectiveBuilder,
org.springframework.core.io.ResourceLoader resourceLoader,
AssetImporter<Widget> widgetAssetImporter) |
Copyright © 2021. All rights reserved.