Class TypeRemovalUtil

java.lang.Object
de.hybris.platform.cronjob.util.TypeRemovalUtil

public final class TypeRemovalUtil extends Object
Since:
4.0
  • Method Details

    • main

      public static void main(String[] args)
    • removeOrphanedTypes

      public static Map<String,String> removeOrphanedTypes(boolean clearInstances, boolean clearDepl)
    • removeTypes

      public static Map<String,String> removeTypes(Collection<Type> typesToRemove, boolean clearInstances, boolean clearDepl)
    • isSourceNavigable

      protected static boolean isSourceNavigable(RelationType relationType)
    • getSourceAttributeDescriptor

      protected static AttributeDescriptor getSourceAttributeDescriptor(RelationType relationType)
    • getSourceType

      protected static ComposedType getSourceType(RelationType relationType)
    • isTargetNavigable

      protected static boolean isTargetNavigable(RelationType relationType)
    • getTargetAttributeDescriptor

      protected static AttributeDescriptor getTargetAttributeDescriptor(RelationType relationType)
    • getTargetType

      protected static ComposedType getTargetType(RelationType relationType)
    • getRelatedCronJobInstances

      public static List<CronJob> getRelatedCronJobInstances(ComposedType removedJobType)
    • getRelatedTriggersInstances

      public static List<Trigger> getRelatedTriggersInstances(ComposedType removedJobType)
    • removeType

      public static String removeType(Type type, boolean clearInstances, boolean clearDepl)
    • getOrphanedTypes

      public static Set<Type> getOrphanedTypes()
    • getOrphanedTypesPerExtension

      public static Map<String,Set<Type>> getOrphanedTypesPerExtension()