org.molgenis.controller
Class FlowcellLaneController

java.lang.Object
  extended by org.molgenis.controller.FlowcellLaneController

@Lazy
@Controller
@RequestMapping(value="/api/v1/flowcelllane")
public class FlowcellLaneController
extends Object


Constructor Summary
FlowcellLaneController()
           
 
Method Summary
 org.springframework.http.ResponseEntity<org.molgenis.controller.FlowcellLaneController.FlowcellLaneResponse> createFlowcellLane(org.molgenis.controller.FlowcellLaneController.FlowcellLaneRequest flowcellLaneRequest)
           
 org.springframework.http.ResponseEntity<org.molgenis.controller.FlowcellLaneController.FlowcellLaneResponse> createFlowcellLaneFromForm(org.molgenis.controller.FlowcellLaneController.FlowcellLaneRequest flowcellLaneRequest)
           
 void deleteFlowcellLane(Integer id)
           
 void deleteFlowcellLanePost(Integer id)
           
 void handleDatabaseAccessException(DatabaseAccessException e)
           
 void handleEntityNotFoundException(EntityNotFoundException e)
           
 org.molgenis.controller.FlowcellLaneController.FlowcellLaneResponse retrieveFlowcellLane(Integer id, String... expandFields)
           
 EntityCollectionResponse<org.molgenis.controller.FlowcellLaneController.FlowcellLaneResponse> retrieveFlowcellLaneCollection(EntityCollectionRequest flowcellLaneCollectionRequest, String... expandFields)
           
 EntityCollectionResponse<org.molgenis.controller.FlowcellLaneController.FlowcellLaneResponse> retrieveFlowcellLaneCollectionJson(EntityCollectionRequest flowcellLaneCollectionRequest, String... expandFields)
           
 EntityCollectionResponse<org.molgenis.controller.FlowcellLaneController.FlowcellLaneResponse> retrieveFlowcellLaneCollectionJsonPost(EntityCollectionRequest flowcellLaneCollectionRequest, String... expandFields)
           
 EntityCollectionResponse<org.molgenis.controller.FlowcellLaneController.FlowcellLaneResponse> retrieveFlowcellLaneCollectionPost(EntityCollectionRequest flowcellLaneCollectionRequest, String... expandFields)
           
 org.molgenis.controller.FlowcellLaneController.FlowcellLaneResponse retrieveFlowcellLaneJson(Integer id, String... expandFields)
           
 String retrieveFlowcellLaneXrefFlowcell(Integer id, String... expandFields)
           
 String retrieveFlowcellLaneXrefFlowcellJson(Integer id, String... expandFields)
           
 String retrieveFlowcellLaneXrefQcDryUser(Integer id, String... expandFields)
           
 String retrieveFlowcellLaneXrefQcDryUserJson(Integer id, String... expandFields)
           
 String retrieveFlowcellLaneXrefQcWetUser(Integer id, String... expandFields)
           
 String retrieveFlowcellLaneXrefQcWetUserJson(Integer id, String... expandFields)
           
 String retrieveFlowcellLaneXrefSample(Integer id, String... expandFields)
           
 String retrieveFlowcellLaneXrefSampleJson(Integer id, String... expandFields)
           
 void updateFlowcellLane(Integer id, org.molgenis.controller.FlowcellLaneController.FlowcellLaneRequest flowcellLaneRequest)
           
 org.springframework.http.ResponseEntity<org.molgenis.controller.FlowcellLaneController.FlowcellLaneResponse> updateFlowcellLaneFromForm(Integer id, String _method, org.molgenis.controller.FlowcellLaneController.FlowcellLaneRequest flowcellLaneRequest)
           
 void updateFlowcellLaneFromFormPost(Integer id, org.molgenis.controller.FlowcellLaneController.FlowcellLaneRequest flowcellLaneRequest)
           
 void updateFlowcellLanePost(Integer id, org.molgenis.controller.FlowcellLaneController.FlowcellLaneRequest flowcellLaneRequest)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlowcellLaneController

public FlowcellLaneController()
Method Detail

createFlowcellLane

@RequestMapping(method=POST)
@ResponseBody
public org.springframework.http.ResponseEntity<org.molgenis.controller.FlowcellLaneController.FlowcellLaneResponse> createFlowcellLane(@RequestBody
                                                                                                                                                                   org.molgenis.controller.FlowcellLaneController.FlowcellLaneRequest flowcellLaneRequest)
                                                                                                                                throws DatabaseException
Throws:
DatabaseException

createFlowcellLaneFromForm

@RequestMapping(method=POST,
                headers="Content-Type=application/x-www-form-urlencoded")
@ResponseBody
public org.springframework.http.ResponseEntity<org.molgenis.controller.FlowcellLaneController.FlowcellLaneResponse> createFlowcellLaneFromForm(@ModelAttribute
                                                                                                                                                                           org.molgenis.controller.FlowcellLaneController.FlowcellLaneRequest flowcellLaneRequest)
                                                                                                                                        throws DatabaseException
Throws:
DatabaseException

retrieveFlowcellLane

@RequestMapping(value="/{id}",
                method=GET)
@ResponseBody
public org.molgenis.controller.FlowcellLaneController.FlowcellLaneResponse retrieveFlowcellLane(@PathVariable
                                                                                                                            Integer id,
                                                                                                                            @RequestParam(value="expand",required=false)
                                                                                                                            String... expandFields)
                                                                                         throws DatabaseException
Throws:
DatabaseException

retrieveFlowcellLaneJson

@RequestMapping(value="/{id}",
                method=GET,
                params="format=json",
                produces="application/json")
@ResponseBody
public org.molgenis.controller.FlowcellLaneController.FlowcellLaneResponse retrieveFlowcellLaneJson(@PathVariable
                                                                                                                                Integer id,
                                                                                                                                @RequestParam(value="expand",required=false)
                                                                                                                                String... expandFields)
                                                                                             throws DatabaseException
Throws:
DatabaseException

retrieveFlowcellLaneXrefFlowcell

@RequestMapping(value="/{id}/flowcell",
                method=GET)
public String retrieveFlowcellLaneXrefFlowcell(@PathVariable
                                                              Integer id,
                                                              @RequestParam(value="expand",required=false)
                                                              String... expandFields)
                                        throws DatabaseException
Throws:
DatabaseException

retrieveFlowcellLaneXrefFlowcellJson

@RequestMapping(value="/{id}/flowcell",
                method=GET,
                params="format=json",
                produces="application/json")
public String retrieveFlowcellLaneXrefFlowcellJson(@PathVariable
                                                                  Integer id,
                                                                  @RequestParam(value="expand",required=false)
                                                                  String... expandFields)
                                            throws DatabaseException
Throws:
DatabaseException

retrieveFlowcellLaneXrefSample

@RequestMapping(value="/{id}/sample",
                method=GET)
public String retrieveFlowcellLaneXrefSample(@PathVariable
                                                            Integer id,
                                                            @RequestParam(value="expand",required=false)
                                                            String... expandFields)
                                      throws DatabaseException
Throws:
DatabaseException

retrieveFlowcellLaneXrefSampleJson

@RequestMapping(value="/{id}/sample",
                method=GET,
                params="format=json",
                produces="application/json")
public String retrieveFlowcellLaneXrefSampleJson(@PathVariable
                                                                Integer id,
                                                                @RequestParam(value="expand",required=false)
                                                                String... expandFields)
                                          throws DatabaseException
Throws:
DatabaseException

retrieveFlowcellLaneXrefQcWetUser

@RequestMapping(value="/{id}/qcWetUser",
                method=GET)
public String retrieveFlowcellLaneXrefQcWetUser(@PathVariable
                                                               Integer id,
                                                               @RequestParam(value="expand",required=false)
                                                               String... expandFields)
                                         throws DatabaseException
Throws:
DatabaseException

retrieveFlowcellLaneXrefQcWetUserJson

@RequestMapping(value="/{id}/qcWetUser",
                method=GET,
                params="format=json",
                produces="application/json")
public String retrieveFlowcellLaneXrefQcWetUserJson(@PathVariable
                                                                   Integer id,
                                                                   @RequestParam(value="expand",required=false)
                                                                   String... expandFields)
                                             throws DatabaseException
Throws:
DatabaseException

retrieveFlowcellLaneXrefQcDryUser

@RequestMapping(value="/{id}/qcDryUser",
                method=GET)
public String retrieveFlowcellLaneXrefQcDryUser(@PathVariable
                                                               Integer id,
                                                               @RequestParam(value="expand",required=false)
                                                               String... expandFields)
                                         throws DatabaseException
Throws:
DatabaseException

retrieveFlowcellLaneXrefQcDryUserJson

@RequestMapping(value="/{id}/qcDryUser",
                method=GET,
                params="format=json",
                produces="application/json")
public String retrieveFlowcellLaneXrefQcDryUserJson(@PathVariable
                                                                   Integer id,
                                                                   @RequestParam(value="expand",required=false)
                                                                   String... expandFields)
                                             throws DatabaseException
Throws:
DatabaseException

updateFlowcellLane

@RequestMapping(value="/{id}",
                method=PUT)
@ResponseStatus(value=OK)
public void updateFlowcellLane(@PathVariable
                                                             Integer id,
                                                             @RequestBody
                                                             org.molgenis.controller.FlowcellLaneController.FlowcellLaneRequest flowcellLaneRequest)
                        throws DatabaseException
Throws:
DatabaseException

updateFlowcellLaneFromForm

@RequestMapping(value="/{id}",
                method=PUT,
                headers="Content-Type=application/x-www-form-urlencoded")
@ResponseBody
public org.springframework.http.ResponseEntity<org.molgenis.controller.FlowcellLaneController.FlowcellLaneResponse> updateFlowcellLaneFromForm(@PathVariable
                                                                                                                                                                           Integer id,
                                                                                                                                                                           @PathVariable
                                                                                                                                                                           String _method,
                                                                                                                                                                           @ModelAttribute
                                                                                                                                                                           org.molgenis.controller.FlowcellLaneController.FlowcellLaneRequest flowcellLaneRequest)
                                                                                                                                        throws DatabaseException
Throws:
DatabaseException

updateFlowcellLanePost

@RequestMapping(value="/{id}",
                method=POST,
                params="_method=PUT")
@ResponseStatus(value=NO_CONTENT)
public void updateFlowcellLanePost(@PathVariable
                                                                 Integer id,
                                                                 @RequestBody
                                                                 org.molgenis.controller.FlowcellLaneController.FlowcellLaneRequest flowcellLaneRequest)
                            throws DatabaseException
Throws:
DatabaseException

updateFlowcellLaneFromFormPost

@RequestMapping(value="/{id}",
                method=POST,
                params="_method=PUT",
                headers="Content-Type=application/x-www-form-urlencoded")
@ResponseStatus(value=NO_CONTENT)
public void updateFlowcellLaneFromFormPost(@PathVariable
                                                                         Integer id,
                                                                         @ModelAttribute
                                                                         org.molgenis.controller.FlowcellLaneController.FlowcellLaneRequest flowcellLaneRequest)
                                    throws DatabaseException
Throws:
DatabaseException

deleteFlowcellLane

@RequestMapping(value="/{id}",
                method=DELETE)
@ResponseStatus(value=NO_CONTENT)
public void deleteFlowcellLane(@PathVariable
                                                             Integer id)
                        throws DatabaseException
Throws:
DatabaseException

deleteFlowcellLanePost

@RequestMapping(value="/{id}",
                method=POST,
                params="_method=DELETE")
@ResponseStatus(value=NO_CONTENT)
public void deleteFlowcellLanePost(@PathVariable
                                                                 Integer id)
                            throws DatabaseException
Throws:
DatabaseException

retrieveFlowcellLaneCollection

@RequestMapping(method=GET)
@ResponseBody
public EntityCollectionResponse<org.molgenis.controller.FlowcellLaneController.FlowcellLaneResponse> retrieveFlowcellLaneCollection(EntityCollectionRequest flowcellLaneCollectionRequest,
                                                                                                                                                                @RequestParam(value="expand",required=false)
                                                                                                                                                                String... expandFields)
                                                                                                                             throws DatabaseException
Throws:
DatabaseException

retrieveFlowcellLaneCollectionJson

@RequestMapping(method=GET,
                params="format=json",
                produces="application/json")
@ResponseBody
public EntityCollectionResponse<org.molgenis.controller.FlowcellLaneController.FlowcellLaneResponse> retrieveFlowcellLaneCollectionJson(EntityCollectionRequest flowcellLaneCollectionRequest,
                                                                                                                                                                    @RequestParam(value="expand",required=false)
                                                                                                                                                                    String... expandFields)
                                                                                                                                 throws DatabaseException
Throws:
DatabaseException

retrieveFlowcellLaneCollectionPost

@RequestMapping(method=POST,
                params="_method=GET")
@ResponseBody
public EntityCollectionResponse<org.molgenis.controller.FlowcellLaneController.FlowcellLaneResponse> retrieveFlowcellLaneCollectionPost(@RequestBody
                                                                                                                                                                    EntityCollectionRequest flowcellLaneCollectionRequest,
                                                                                                                                                                    @RequestParam(value="expand",required=false)
                                                                                                                                                                    String... expandFields)
                                                                                                                                 throws DatabaseException
Throws:
DatabaseException

retrieveFlowcellLaneCollectionJsonPost

@RequestMapping(method=POST,
                params={"_method=GET","format=json"},
                produces="application/json")
@ResponseBody
public EntityCollectionResponse<org.molgenis.controller.FlowcellLaneController.FlowcellLaneResponse> retrieveFlowcellLaneCollectionJsonPost(@RequestBody
                                                                                                                                                                        EntityCollectionRequest flowcellLaneCollectionRequest,
                                                                                                                                                                        @RequestParam(value="expand",required=false)
                                                                                                                                                                        String... expandFields)
                                                                                                                                     throws DatabaseException
Throws:
DatabaseException

handleEntityNotFoundException

@ExceptionHandler(value=org.molgenis.framework.db.EntityNotFoundException.class)
@ResponseStatus(value=NOT_FOUND)
public void handleEntityNotFoundException(EntityNotFoundException e)

handleDatabaseAccessException

@ExceptionHandler(value=org.molgenis.framework.db.DatabaseAccessException.class)
@ResponseStatus(value=UNAUTHORIZED)
public void handleDatabaseAccessException(DatabaseAccessException e)


Copyright © 2013. All Rights Reserved.