@Named public class WidgetService extends AbstractArtifactService<Widget>
modelVersion| Constructor and Description |
|---|
WidgetService(WidgetRepository widgetRepository,
List<BondsTypesFixer> bondsTypesFixers,
WidgetMigrationApplyer widgetMigrationApplyer,
WidgetIdVisitor widgetIdVisitor) |
| Modifier and Type | Method and Description |
|---|---|
Widget |
get(String id) |
MigrationStatusReport |
getMigrationStatusOfCustomWidgetUsed(Previewable previewable) |
Widget |
migrate(Identifiable artifact) |
List<MigrationStepReport> |
migrateAllCustomWidgetUsedInPreviewable(Previewable previewable) |
MigrationResult<Widget> |
migrateWithReport(Identifiable artifact) |
List<Property> |
updateProperty(String widgetId,
String propertyName,
Property property) |
getStatus, getStatusWithoutDependencies, mergeStatusReport@Inject public WidgetService(WidgetRepository widgetRepository, List<BondsTypesFixer> bondsTypesFixers, WidgetMigrationApplyer widgetMigrationApplyer, WidgetIdVisitor widgetIdVisitor)
public List<Property> updateProperty(String widgetId, String propertyName, Property property)
public Widget migrate(Identifiable artifact)
public MigrationResult<Widget> migrateWithReport(Identifiable artifact)
public List<MigrationStepReport> migrateAllCustomWidgetUsedInPreviewable(Previewable previewable)
public MigrationStatusReport getMigrationStatusOfCustomWidgetUsed(Previewable previewable)
Copyright © 2021. All rights reserved.