Class AbstractWebservicesClassGenerator
- java.lang.Object
-
- de.hybris.bootstrap.codegenerator.platformwebservices.AbstractWebservicesClassGenerator
-
- Direct Known Subclasses:
DtoClassGenerator
,ResourceClassGenerator
public abstract class AbstractWebservicesClassGenerator extends java.lang.Object
Deprecated.since 1818
-
-
Constructor Summary
Constructors Constructor Description AbstractWebservicesClassGenerator(CodeGenerator gen)
Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected abstract void
doGenerate(java.io.File wslayerExtGensrcDir, CodeGenerator gen, YExtension ext, YComposedType type)
Deprecated.method responsible for generating the resources for typevoid
generateClasses(java.util.Collection<ExtensionInfo> extensionCfgs)
Deprecated.protected abstract boolean
isGenerable(YComposedType type)
Deprecated.boolean
isRegenerateResources()
Deprecated.protected boolean
isRootResourceType(YComposedType type)
Deprecated.Returns true, when passed type shall be treated as a root-type.protected abstract void
logStarted()
Deprecated.void
setRegenerateResources(boolean regenerateResources)
Deprecated.
-
-
-
Constructor Detail
-
AbstractWebservicesClassGenerator
public AbstractWebservicesClassGenerator(CodeGenerator gen)
Deprecated.
-
-
Method Detail
-
generateClasses
public void generateClasses(java.util.Collection<ExtensionInfo> extensionCfgs)
Deprecated.
-
logStarted
protected abstract void logStarted()
Deprecated.
-
doGenerate
protected abstract void doGenerate(java.io.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
-
-