Class AbstractWebservicesClassGenerator

java.lang.Object
de.hybris.bootstrap.codegenerator.platformwebservices.AbstractWebservicesClassGenerator
Direct Known Subclasses:
DtoClassGenerator, ResourceClassGenerator

@Deprecated(since="1818") public abstract class AbstractWebservicesClassGenerator extends Object
Deprecated.
since 1818
  • Constructor Details

    • AbstractWebservicesClassGenerator

      public AbstractWebservicesClassGenerator(CodeGenerator gen)
      Deprecated.
  • Method Details

    • generateClasses

      public void generateClasses(Collection<ExtensionInfo> extensionCfgs)
      Deprecated.
    • logStarted

      protected abstract void logStarted()
      Deprecated.
    • doGenerate

      protected abstract void doGenerate(File wslayerExtGensrcDir, CodeGenerator gen, YExtension ext, YComposedType type)
      Deprecated.
      method responsible for generating the resources for type
    • isGenerable

      protected abstract boolean isGenerable(YComposedType type)
      Deprecated.
      Returns:
      true when for passed type something can be generated
    • isRootResourceType

      protected boolean isRootResourceType(YComposedType type)
      Deprecated.
      Returns true, when passed type shall be treated as a root-type. A root-type has specific resource classes as well as a set of collection DTOs which are needed for the root-resources. (Collection DTOs are just a wrapper for collection whose element types are the passed one).
      Parameters:
      type - type to check for
      Returns:
      true when type is a root type
    • setRegenerateResources

      public void setRegenerateResources(boolean regenerateResources)
      Deprecated.
      Parameters:
      regenerateResources - the regenerateResources to set
    • isRegenerateResources

      public boolean isRegenerateResources()
      Deprecated.
      Returns:
      the regenerateResources