Class CollectionControllerServiceImpl
java.lang.Object
org.kuali.rice.krad.web.service.impl.CollectionControllerServiceImpl
- All Implemented Interfaces:
CollectionControllerService
- Direct Known Subclasses:
LookupCollectionControllerServiceImpl
Default implementation of the collection controller service.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classHelper class for maintaining collection action parameters for a request. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.servlet.ModelAndViewaddBlankLine(UifFormBase form) Invoked by the add blank line action to add a new line instance to the model mollection.org.springframework.web.servlet.ModelAndViewaddLine(UifFormBase form) Invoked by the add line action to add the add line instance to the model collection.org.springframework.web.servlet.ModelAndViewInvoked by the edit line modal's hidden event to close the edit line dialog.org.springframework.web.servlet.ModelAndViewdeleteLine(UifFormBase form) Invoked by the delete line action to delete an item within the model collection.org.springframework.web.servlet.ModelAndVieweditLine(UifFormBase form) Invoked by the edit line action to edit the edit line instance to the model collection.protected ModelAndViewServiceprotected org.springframework.web.servlet.ModelAndViewperformHelperLifecycle(UifFormBase form, Runnable runnable) Helper method to run aRunnablethrough the view lifecycle.org.springframework.web.servlet.ModelAndViewInvoked by the table paging widget to retrieve a page for a collection group.org.springframework.web.servlet.ModelAndViewInvoked by the edit line action to show the edit line dialog for the edit line instance to the model collection.org.springframework.web.servlet.ModelAndViewsaveLine(UifFormBase form) Invoked by the save line action to save an item within the model collection.voidsetModelAndViewService(ModelAndViewService modelAndViewService) org.springframework.web.servlet.ModelAndViewGet method for getting aaData for jquery datatables which are using sAjaxSource option.
-
Constructor Details
-
CollectionControllerServiceImpl
public CollectionControllerServiceImpl()
-
-
Method Details
-
addLine
Invoked by the add line action to add the add line instance to the model collection.- Specified by:
addLinein interfaceCollectionControllerService- Parameters:
form- form instance containing the model data- Returns:
- ModelAndView instance for rendering the view
-
addBlankLine
Invoked by the add blank line action to add a new line instance to the model mollection.- Specified by:
addBlankLinein interfaceCollectionControllerService- Parameters:
form- form instance containing the model data- Returns:
- ModelAndView instance for rendering the view
-
retrieveEditLineDialog
Invoked by the edit line action to show the edit line dialog for the edit line instance to the model collection.- Specified by:
retrieveEditLineDialogin interfaceCollectionControllerService- Parameters:
form- form instance containing the model data- Returns:
- ModelAndView instance for rendering the view
-
editLine
Invoked by the edit line action to edit the edit line instance to the model collection.- Specified by:
editLinein interfaceCollectionControllerService- Parameters:
form- form instance containing the model data- Returns:
- ModelAndView instance for rendering the view
-
closeEditLineDialog
Invoked by the edit line modal's hidden event to close the edit line dialog.- Specified by:
closeEditLineDialogin interfaceCollectionControllerService- Parameters:
form- form instance containing the model data- Returns:
- ModelAndView instance for rendering the view
-
saveLine
Invoked by the save line action to save an item within the model collection.- Specified by:
saveLinein interfaceCollectionControllerService- Parameters:
form- form instance containing the model data- Returns:
- ModelAndView instance for rendering the view
-
deleteLine
Invoked by the delete line action to delete an item within the model collection.- Specified by:
deleteLinein interfaceCollectionControllerService- Parameters:
form- form instance containing the model data- Returns:
- ModelAndView instance for rendering the view
-
performHelperLifecycle
protected org.springframework.web.servlet.ModelAndView performHelperLifecycle(UifFormBase form, Runnable runnable) Helper method to run aRunnablethrough the view lifecycle.- Parameters:
form- form instance containing the model datarunnable- code to run in the lifecycle- Returns:
- ModelAndView instance for rendering the view
-
retrieveCollectionPage
Invoked by the table paging widget to retrieve a page for a collection group.- Specified by:
retrieveCollectionPagein interfaceCollectionControllerService- Parameters:
form- form instance containing the model data- Returns:
- ModelAndView instance for rendering the view
-
tableJsonRetrieval
Get method for getting aaData for jquery datatables which are using sAjaxSource option.This will render the aaData JSON for the displayed page of the table matching the tableId passed in the request parameters.
- Specified by:
tableJsonRetrievalin interfaceCollectionControllerService- Parameters:
form- form instance containing the model data- Returns:
- ModelAndView instance for rendering the view
-
getModelAndViewService
-
setModelAndViewService
-