예제 #1
0
 /**
  * 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);
 }
예제 #2
0
 /**
  * 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);
 }