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 Object implements ResourceConfig
Deprecated, for removal: This API element is subject to removal in a future version.
since 1818
Provides any information needed for resource generation.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    AbstractResourceConfig(DtoConfig dtoConfig, String resourcePackage, WebservicesConfig provider)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the class name of the generated resource.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the DtoConfig of the entity which this resource is used for.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the package name for this resource.
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the simple class name of the generated resource.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns all available subresources.
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setDeleteSupport(boolean isDeleteSupport)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setGetSupport(boolean isGetSupport)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setPostSupport(boolean isPostSupport)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setPutSupport(boolean isPutSupport)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setResourcePackage(String resourcePackage)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • provider

      protected WebservicesConfig provider
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

    • AbstractResourceConfig

      public AbstractResourceConfig(DtoConfig dtoConfig, String resourcePackage, WebservicesConfig provider)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • isPostSupport

      public boolean isPostSupport()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      isPostSupport in interface ResourceConfig
      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:
      isPutSupport in interface ResourceConfig
      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:
      isGetSupport in interface ResourceConfig
      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:
      isDeleteSupport in interface ResourceConfig
      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 String getClassName()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: ResourceConfig
      Returns the class name of the generated resource.
      Specified by:
      getClassName in interface ResourceConfig
    • setResourceClassName

      public void setResourceClassName(String className)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getSimpleClassName

      public String getSimpleClassName()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: ResourceConfig
      Returns the simple class name of the generated resource.
      Specified by:
      getSimpleClassName in interface ResourceConfig
      Returns:
      simple class literal
    • getPackageName

      public String getPackageName()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: ResourceConfig
      Returns the package name for this resource.
      Specified by:
      getPackageName in interface ResourceConfig
      Returns:
      the resourcePackage
    • setResourcePackage

      public void setResourcePackage(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 Collection<ResourceConfig> getSubResources()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: ResourceConfig
      Returns all available subresources.
      Specified by:
      getSubResources in interface ResourceConfig
      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: ResourceConfig
      Returns the DtoConfig of the entity which this resource is used for.
      Specified by:
      getDTOConfig in interface ResourceConfig
      Returns:
      DtoConfig