Class SingleResourceWriter
java.lang.Object
de.hybris.bootstrap.codegenerator.AbstractImportProvider
de.hybris.bootstrap.codegenerator.ClassWriter
de.hybris.bootstrap.codegenerator.platformwebservices.resource.AbstractResourceWriter
de.hybris.bootstrap.codegenerator.platformwebservices.resource.SingleResourceWriter
- All Implemented Interfaces:
CodeWriter
@Deprecated(since="1818",
forRemoval=true)
public class SingleResourceWriter
extends AbstractResourceWriter
Deprecated, for removal: This API element is subject to removal in a future version.
since 1818
Responsible for generating code for webservices resource.
-
Field Summary
Fields inherited from class de.hybris.bootstrap.codegenerator.platformwebservices.resource.AbstractResourceWriter
ABSTRACT_YRESOURCE, READRESOURCE_METHOD, WS_DELETE, WS_GET, WS_PATH, WS_PATHPARAM, WS_POST, WS_PUT, WS_RESPONSEFields inherited from class de.hybris.bootstrap.codegenerator.ClassWriter
GENERATED_NOTICE -
Constructor Summary
ConstructorsConstructorDescriptionSingleResourceWriter(CodeGenerator gen, YExtension ext, ResourceConfig cfg) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionprotected MethodWriterDeprecated, for removal: This API element is subject to removal in a future version.protected MethodWriterDeprecated, for removal: This API element is subject to removal in a future version.protected MethodWriterDeprecated, for removal: This API element is subject to removal in a future version.protected MethodWriterDeprecated, for removal: This API element is subject to removal in a future version.protected MethodWriterDeprecated, for removal: This API element is subject to removal in a future version.Returns the 'readResource'MethodWriter.protected Collection<MethodWriter>Deprecated, for removal: This API element is subject to removal in a future version.Convenience Getter/SetterMethodWriterwhich delegates to AbstractResource#get/setResourceValue(...) but is named more user-friendly.protected Collection<MethodWriter>Deprecated, for removal: This API element is subject to removal in a future version.Returns supported sub-resources asMethodWriterCollectionMethods inherited from class de.hybris.bootstrap.codegenerator.platformwebservices.resource.AbstractResourceWriter
createCRUDMethodWriter, createDefaultConstructorMethodWriter, createReadResourceMethodWriter, createResourceValueMethodWriters, createSubResourceMethodWriter, fill, getClassName, getConstructorMethodWriters, getCRUDMethodWriters, getCustomMethodWriters, getResourceConfigMethods inherited from class de.hybris.bootstrap.codegenerator.ClassWriter
addAnnotation, addAnnotationIfDeprecated, addAnnotations, addConstantDeclaration, addConstantDeclaration, addConstructor, addDeclaration, addDeclaration, addDeclaration, addInterface, addMethod, assembleAbstractClassName, assembleClassName, containsAnnotation, firstLetterUpperCase, getAnnotations, getClassToExtend, getConstantDeclarations, getConstructors, getCopyright, getDeclarations, getExtension, getGenerator, getInfo, getInterfaces, getJavadoc, getMethods, getModifiers, getPackageName, getRequiredImports, getVisibility, isGeneratePartOf, processAnnotations, removeSelfImport, setClassToExtend, setCopyright, setJavadoc, setModifiers, setPackageName, setVisibility, sortMethods, write, writeMethods, writeSignatureMethods inherited from class de.hybris.bootstrap.codegenerator.AbstractImportProvider
addRequiredImport
-
Constructor Details
-
SingleResourceWriter
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getReadResourceMethodWriter
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:AbstractResourceWriterReturns the 'readResource'MethodWriter.- Specified by:
getReadResourceMethodWriterin classAbstractResourceWriter- Returns:
MethodWriter
-
getSubResourceMethodWriters
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:AbstractResourceWriterReturns supported sub-resources asMethodWriterCollection- Specified by:
getSubResourceMethodWritersin classAbstractResourceWriter- Returns:
- Collection of
MethodWriter
-
getResourceValueMethodWriters
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:AbstractResourceWriterConvenience Getter/SetterMethodWriterwhich delegates to AbstractResource#get/setResourceValue(...) but is named more user-friendly.- Specified by:
getResourceValueMethodWritersin classAbstractResourceWriter- Returns:
- Getter/Setter
MethodWriter
-
createGetMethodWriter
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
createGetMethodWriterin classAbstractResourceWriter
-
createDeleteMethodWriter
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
createDeleteMethodWriterin classAbstractResourceWriter
-
createPutMethodWriter
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
createPutMethodWriterin classAbstractResourceWriter
-
createPostMethodWriter
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
createPostMethodWriterin classAbstractResourceWriter
-