public class AppMigration150S117ModelReferences extends Object implements AppMigration
Migrates apps that have a legacy model references using:
<ul> <li>guid variable values</li> <li>model work object ID values</li> </ul>
The 'guid' variable was used when edoras vis had separate DB tables to link between the edoras one model and the edoras vis primary key (guid). This additional 'guid' value is no longer required since edoras vis now uses the edoras one tables.
Constructor and Description |
---|
AppMigration150S117ModelReferences() |
Modifier and Type | Method and Description |
---|---|
AppContent |
applyMigration(AppContent appContent)
Apply the migrations to the given App content, returning the migrated App content.
|
Optional<AppFormatVersion> |
getTargetAppVersion()
Returns the target App version for this migration.
|
public Optional<AppFormatVersion> getTargetAppVersion()
AppMigration
Returns the target App version for this migration.
If the incoming App is already at this version or later then the migration won’t be applied. If the target version is Optional.empty() then the migration will be invoked and has to perform its own checks.
getTargetAppVersion
in interface AppMigration
public AppContent applyMigration(AppContent appContent)
AppMigration
Apply the migrations to the given App content, returning the migrated App content.
applyMigration
in interface AppMigration
appContent
- the incoming app contentCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.