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(since="1818", forRemoval=true) public class CollectionResourceWriter extends AbstractResourceWriterDeprecated, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.-
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, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.protected MethodWritercreateGetMethodWriter()Deprecated, for removal: This API element is subject to removal in a future version.protected MethodWritercreatePostMethodWriter()Deprecated, for removal: This API element is subject to removal in a future version.protected MethodWritercreatePutMethodWriter()Deprecated, for removal: This API element is subject to removal in a future version.protected MethodWritergetReadResourceMethodWriter()Deprecated, for removal: This API element is subject to removal in a future version.Returns the 'readResource'MethodWriter.protected java.util.Collection<MethodWriter>getResourceValueMethodWriters()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 java.util.Collection<MethodWriter>getSubResourceMethodWriters()Deprecated, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CollectionResourceWriter
public CollectionResourceWriter(CodeGenerator gen, YExtension ext, ResourceConfig cfg)
Deprecated, for removal: This API element is subject to removal in a future version.Generates resource for access list of base resources defined as @param type
-
-
Method Detail
-
getSubResourceMethodWriters
protected java.util.Collection<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
-
getReadResourceMethodWriter
protected MethodWriter 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
-
getResourceValueMethodWriters
protected java.util.Collection<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
protected MethodWriter createGetMethodWriter()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
createGetMethodWriterin classAbstractResourceWriter
-
createDeleteMethodWriter
protected MethodWriter createDeleteMethodWriter()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
createDeleteMethodWriterin classAbstractResourceWriter
-
createPutMethodWriter
protected MethodWriter createPutMethodWriter()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
createPutMethodWriterin classAbstractResourceWriter
-
createPostMethodWriter
protected MethodWriter createPostMethodWriter()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
createPostMethodWriterin classAbstractResourceWriter
-
-