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