Class AccountDetailsController


@Controller @Lazy public class AccountDetailsController extends AbstractAccountController
  • Field Details

  • Constructor Details

    • AccountDetailsController

      public AccountDetailsController()
  • Method Details

    • get

      @RequestMapping(value="/byid/{accountId}/details", method=GET) public String get(@PathVariable Long accountId, org.springframework.ui.Model model) throws AccountNotFoundException, DBNotFoundException
      Throws:
      AccountNotFoundException
      DBNotFoundException
    • addProvider

      @RequestMapping(value="/byid/{accountId}/details/providers/add", method=POST) @Transactional public org.springframework.web.servlet.ModelAndView addProvider(@PathVariable Long accountId, @ModelAttribute("providerForm") ProviderForm providerForm, org.springframework.validation.BindingResult result, org.springframework.ui.Model model) throws AccountNotFoundException
      Throws:
      AccountNotFoundException
    • removeProvider

      @RequestMapping(value="/byid/{accountId}/details/providers/{providerType}/remove", method=POST) @Transactional public org.springframework.web.servlet.View removeProvider(@PathVariable Long accountId, @PathVariable String providerType, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) throws AccountNotFoundException
      Throws:
      AccountNotFoundException
    • makePrimary

      @RequestMapping(value="/byid/{accountId}/details/providers/{providerType}/make-primary", method=POST) @Transactional public org.springframework.web.servlet.View makePrimary(@PathVariable Long accountId, @PathVariable String providerType, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) throws AccountNotFoundException
      Throws:
      AccountNotFoundException