public abstract class AbstractTypeFeatureReprRenderer<R extends ReprRendererAbstract<R,ParentSpecAndFeature<T>>,T extends org.apache.isis.core.metamodel.spec.feature.ObjectFeature> extends ReprRendererAbstract<R,ParentSpecAndFeature<T>>
| Modifier and Type | Field and Description |
|---|---|
protected T |
objectFeature |
protected org.apache.isis.core.metamodel.spec.ObjectSpecification |
objectSpecification |
includesSelf, rendererContext, representation| Constructor and Description |
|---|
AbstractTypeFeatureReprRenderer(RendererContext resourceContext,
LinkFollowSpecs linkFollower,
org.apache.isis.viewer.restfulobjects.applib.RepresentationType representationType,
org.apache.isis.viewer.restfulobjects.applib.JsonRepresentation representation) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
addLinkSelfIfRequired()
Mandatory hook method.
|
protected void |
addLinksSpecificToFeature()
Optional hook method.
|
protected abstract void |
addLinkUpToParent()
Mandatory hook method.
|
protected void |
addPropertiesSpecificToFeature()
Optional hook method.
|
T |
getObjectFeature() |
org.apache.isis.core.metamodel.spec.ObjectSpecification |
getParentSpecification() |
protected void |
putExtensionsDescriptionIfAvailable() |
protected void |
putExtensionsName() |
protected abstract void |
putExtensionsSpecificToFeature()
Mandatory hook method.
|
org.apache.isis.viewer.restfulobjects.applib.JsonRepresentation |
render() |
R |
with(ParentSpecAndFeature<T> specAndFeature) |
addExtensionsIsisProprietaryChangedObjects, addLink, addMediaTypeParams, cast, getExtensions, getLinkFollowSpecs, getLinks, getMediaType, getRendererContext, getServiceAdapters, getUpdateNotifier, includesSelf, withExtensions, withLink, withLinkprotected org.apache.isis.core.metamodel.spec.ObjectSpecification objectSpecification
protected T extends org.apache.isis.core.metamodel.spec.feature.ObjectFeature objectFeature
public AbstractTypeFeatureReprRenderer(RendererContext resourceContext, LinkFollowSpecs linkFollower, org.apache.isis.viewer.restfulobjects.applib.RepresentationType representationType, org.apache.isis.viewer.restfulobjects.applib.JsonRepresentation representation)
public org.apache.isis.core.metamodel.spec.ObjectSpecification getParentSpecification()
public T getObjectFeature()
public R with(ParentSpecAndFeature<T> specAndFeature)
public org.apache.isis.viewer.restfulobjects.applib.JsonRepresentation render()
render in interface ReprRenderer<R extends ReprRendererAbstract<R,ParentSpecAndFeature<T>>,ParentSpecAndFeature<T extends org.apache.isis.core.metamodel.spec.feature.ObjectFeature>>render in class ReprRendererAbstract<R extends ReprRendererAbstract<R,ParentSpecAndFeature<T>>,ParentSpecAndFeature<T extends org.apache.isis.core.metamodel.spec.feature.ObjectFeature>>protected void addPropertiesSpecificToFeature()
protected abstract void addLinkSelfIfRequired()
protected abstract void addLinkUpToParent()
protected void addLinksSpecificToFeature()
protected abstract void putExtensionsSpecificToFeature()
protected void putExtensionsName()
protected void putExtensionsDescriptionIfAvailable()
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.