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 public class SingleResourceWriter extends AbstractResourceWriter
Deprecated.since 1818Responsible 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_RESPONSE
-
Fields inherited from class de.hybris.bootstrap.codegenerator.ClassWriter
GENERATED_NOTICE
-
-
Constructor Summary
Constructors Constructor Description SingleResourceWriter(CodeGenerator gen, YExtension ext, ResourceConfig cfg)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected MethodWritercreateDeleteMethodWriter()Deprecated.protected MethodWritercreateGetMethodWriter()Deprecated.protected MethodWritercreatePostMethodWriter()Deprecated.protected MethodWritercreatePutMethodWriter()Deprecated.protected MethodWritergetReadResourceMethodWriter()Deprecated.Returns the 'readResource'MethodWriter.protected java.util.Collection<MethodWriter>getResourceValueMethodWriters()Deprecated.Convenience Getter/SetterMethodWriterwhich delegates to AbstractResource#get/setResourceValue(...) but is named more user-friendly.protected java.util.Collection<MethodWriter>getSubResourceMethodWriters()Deprecated.Returns supported sub-resources asMethodWriterCollection-
Methods inherited from class de.hybris.bootstrap.codegenerator.platformwebservices.resource.AbstractResourceWriter
createCRUDMethodWriter, createDefaultConstructorMethodWriter, createReadResourceMethodWriter, createResourceValueMethodWriters, createSubResourceMethodWriter, fill, getClassName, getConstructorMethodWriters, getCRUDMethodWriters, getCustomMethodWriters, getResourceConfig
-
Methods 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, writeSignature
-
Methods inherited from class de.hybris.bootstrap.codegenerator.AbstractImportProvider
addRequiredImport
-
-
-
-
Constructor Detail
-
SingleResourceWriter
public SingleResourceWriter(CodeGenerator gen, YExtension ext, ResourceConfig cfg)
Deprecated.
-
-
Method Detail
-
getReadResourceMethodWriter
protected MethodWriter getReadResourceMethodWriter()
Deprecated.Description copied from class:AbstractResourceWriterReturns the 'readResource'MethodWriter.- Specified by:
getReadResourceMethodWriterin classAbstractResourceWriter- Returns:
MethodWriter
-
getSubResourceMethodWriters
protected java.util.Collection<MethodWriter> getSubResourceMethodWriters()
Deprecated.Description copied from class:AbstractResourceWriterReturns supported sub-resources asMethodWriterCollection- Specified by:
getSubResourceMethodWritersin classAbstractResourceWriter- Returns:
- Collection of
MethodWriter
-
getResourceValueMethodWriters
protected java.util.Collection<MethodWriter> getResourceValueMethodWriters()
Deprecated.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
protected MethodWriter createGetMethodWriter()
Deprecated.- Specified by:
createGetMethodWriterin classAbstractResourceWriter
-
createDeleteMethodWriter
protected MethodWriter createDeleteMethodWriter()
Deprecated.- Specified by:
createDeleteMethodWriterin classAbstractResourceWriter
-
createPutMethodWriter
protected MethodWriter createPutMethodWriter()
Deprecated.- Specified by:
createPutMethodWriterin classAbstractResourceWriter
-
createPostMethodWriter
protected MethodWriter createPostMethodWriter()
Deprecated.- Specified by:
createPostMethodWriterin classAbstractResourceWriter
-
-