Class CollectionResourceWriter
- 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.CollectionResourceWriter
-
- All Implemented Interfaces:
CodeWriter
@Deprecated public class CollectionResourceWriter extends AbstractResourceWriter
Deprecated.since 1818renders root item for access collection of the specific type
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringABSTRACT_COLLECTION_RESOURCEDeprecated.-
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 CollectionResourceWriter(CodeGenerator gen, YExtension ext, ResourceConfig cfg)Deprecated.Generates resource for access list of base resources defined as @param type
-
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
-
-
-
-
Field Detail
-
ABSTRACT_COLLECTION_RESOURCE
protected static final java.lang.String ABSTRACT_COLLECTION_RESOURCE
Deprecated.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CollectionResourceWriter
public CollectionResourceWriter(CodeGenerator gen, YExtension ext, ResourceConfig cfg)
Deprecated.Generates resource for access list of base resources defined as @param type
-
-
Method Detail
-
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
-
getReadResourceMethodWriter
protected MethodWriter getReadResourceMethodWriter()
Deprecated.Description copied from class:AbstractResourceWriterReturns the 'readResource'MethodWriter.- Specified by:
getReadResourceMethodWriterin classAbstractResourceWriter- Returns:
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
-
-