Class TranstypingMigrationManager

java.lang.Object
com.jalios.jcms.migration.transtyping.TranstypingMigrationManager

public class TranstypingMigrationManager extends Object
  • Method Details

    • enableTypeAsNeed

      public <S, T> void enableTypeAsNeed(Class<T> targetClass, Class<S> requiredClass)
      In each workspace, if requiredClass type is present, enable targetClass type and copy requiredClass right
      Parameters:
      targetClass - Type that must be enabled
      requiredClass - Required type in workspace
      Since:
      jcms-11.0
    • onInitAfterLoad

      public void onInitAfterLoad()
      Call this function when the application starts; do not call it manually and copy requiredClass right
      Since:
      jcms-11.0
    • getInstance

      public static TranstypingMigrationManager getInstance()