/** * Simply delegates to the {@link * org.apache.isis.viewer.restfulobjects.rendering.service.RepresentationService} to render a * representation of the object. * * @deprecated - use {@link #objectRepresentation()} */ @Deprecated public Response objectRepresentation(final RepresentationService.Intent intent) { transactionService.flushTransaction(); return representationService.objectRepresentation( representationServiceContext, objectAdapter, intent); }
/** * Simply delegates to the {@link * org.apache.isis.viewer.restfulobjects.rendering.service.RepresentationService} to render a * representation of the object. */ public Response objectRepresentation() { transactionService.flushTransaction(); return representationService.objectRepresentation(representationServiceContext, objectAdapter); }