Class AbstractResourceConfig
- java.lang.Object
-
- de.hybris.bootstrap.codegenerator.platformwebservices.resource.AbstractResourceConfig
-
- All Implemented Interfaces:
ResourceConfig
- Direct Known Subclasses:
CollectionResourceConfig,SingleResourceConfig
@Deprecated public abstract class AbstractResourceConfig extends java.lang.Object implements ResourceConfig
Deprecated.since 1818Provides any information needed for resource generation.
-
-
Field Summary
Fields Modifier and Type Field Description protected WebservicesConfigproviderDeprecated.
-
Constructor Summary
Constructors Constructor Description AbstractResourceConfig(DtoConfig dtoConfig, java.lang.String resourcePackage, WebservicesConfig provider)Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetClassName()Deprecated.Returns the class name of the generated resource.DtoConfiggetDTOConfig()Deprecated.Returns theDtoConfigof the entity which this resource is used for.java.lang.StringgetPackageName()Deprecated.Returns the package name for this resource.protected WebservicesConfiggetResourceConfigProvider()Deprecated.java.lang.StringgetSimpleClassName()Deprecated.Returns the simple class name of the generated resource.abstract java.util.Collection<ResourceConfig>getSubResources()Deprecated.Returns all available subresources.booleanisDeleteSupport()Deprecated.booleanisGetSupport()Deprecated.booleanisPostSupport()Deprecated.booleanisPutSupport()Deprecated.voidsetDeleteSupport(boolean isDeleteSupport)Deprecated.voidsetGetSupport(boolean isGetSupport)Deprecated.voidsetPostSupport(boolean isPostSupport)Deprecated.voidsetPutSupport(boolean isPutSupport)Deprecated.voidsetResourceClassName(java.lang.String className)Deprecated.voidsetResourcePackage(java.lang.String resourcePackage)Deprecated.
-
-
-
Field Detail
-
provider
protected WebservicesConfig provider
Deprecated.
-
-
Constructor Detail
-
AbstractResourceConfig
public AbstractResourceConfig(DtoConfig dtoConfig, java.lang.String resourcePackage, WebservicesConfig provider)
Deprecated.
-
-
Method Detail
-
isPostSupport
public boolean isPostSupport()
Deprecated.- Specified by:
isPostSupportin interfaceResourceConfig- Returns:
- the isPostSupport
-
setPostSupport
public void setPostSupport(boolean isPostSupport)
Deprecated.- Parameters:
isPostSupport- the isPostSupport to set
-
isPutSupport
public boolean isPutSupport()
Deprecated.- Specified by:
isPutSupportin interfaceResourceConfig- Returns:
- the isPutSupport
-
setPutSupport
public void setPutSupport(boolean isPutSupport)
Deprecated.- Parameters:
isPutSupport- the isPutSupport to set
-
isGetSupport
public boolean isGetSupport()
Deprecated.- Specified by:
isGetSupportin interfaceResourceConfig- Returns:
- the isGetSupport
-
setGetSupport
public void setGetSupport(boolean isGetSupport)
Deprecated.- Parameters:
isGetSupport- the isGetSupport to set
-
isDeleteSupport
public boolean isDeleteSupport()
Deprecated.- Specified by:
isDeleteSupportin interfaceResourceConfig- Returns:
- the isDeleteSupport
-
setDeleteSupport
public void setDeleteSupport(boolean isDeleteSupport)
Deprecated.- Parameters:
isDeleteSupport- the isDeleteSupport to set
-
getClassName
public java.lang.String getClassName()
Deprecated.Description copied from interface:ResourceConfigReturns the class name of the generated resource.- Specified by:
getClassNamein interfaceResourceConfig
-
setResourceClassName
public void setResourceClassName(java.lang.String className)
Deprecated.
-
getSimpleClassName
public java.lang.String getSimpleClassName()
Deprecated.Description copied from interface:ResourceConfigReturns the simple class name of the generated resource.- Specified by:
getSimpleClassNamein interfaceResourceConfig- Returns:
- simple class literal
-
getPackageName
public java.lang.String getPackageName()
Deprecated.Description copied from interface:ResourceConfigReturns the package name for this resource.- Specified by:
getPackageNamein interfaceResourceConfig- Returns:
- the resourcePackage
-
setResourcePackage
public void setResourcePackage(java.lang.String resourcePackage)
Deprecated.- Parameters:
resourcePackage- the resourcePackage to set
-
getSubResources
public abstract java.util.Collection<ResourceConfig> getSubResources()
Deprecated.Description copied from interface:ResourceConfigReturns all available subresources.- Specified by:
getSubResourcesin interfaceResourceConfig- Returns:
- Collection of
ResourceConfig
-
getResourceConfigProvider
protected WebservicesConfig getResourceConfigProvider()
Deprecated.
-
getDTOConfig
public DtoConfig getDTOConfig()
Deprecated.Description copied from interface:ResourceConfigReturns theDtoConfigof the entity which this resource is used for.- Specified by:
getDTOConfigin interfaceResourceConfig- Returns:
DtoConfig
-
-