| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| AbstractControllerState |
|
| 1.0;1 |
| 1 | package org.jtheque.primary.controller.impl; | |
| 2 | ||
| 3 | import org.jtheque.primary.controller.able.ControllerState; | |
| 4 | import org.jtheque.primary.controller.able.FormBean; | |
| 5 | import org.jtheque.primary.od.able.Data; | |
| 6 | ||
| 7 | /* | |
| 8 | * This file is part of JTheque. | |
| 9 | * | |
| 10 | * JTheque is free software: you can redistribute it and/or modify | |
| 11 | * it under the terms of the GNU General Public License as published by | |
| 12 | * the Free Software Foundation, either version 3 of the License. | |
| 13 | * | |
| 14 | * JTheque is distributed in the hope that it will be useful, | |
| 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | * GNU General Public License for more details. | |
| 18 | * | |
| 19 | * You should have received a copy of the GNU General Public License | |
| 20 | * along with JTheque. If not, see <http://www.gnu.org/licenses/>. | |
| 21 | */ | |
| 22 | ||
| 23 | /** | |
| 24 | * An abstract controller state. It implements all the methods of a controller state with | |
| 25 | * default implementations. | |
| 26 | * | |
| 27 | * @author Baptiste Wicht | |
| 28 | */ | |
| 29 | 0 | public class AbstractControllerState implements ControllerState { |
| 30 | @Override | |
| 31 | public void apply(){ | |
| 32 | //No action | |
| 33 | 0 | } |
| 34 | ||
| 35 | @Override | |
| 36 | public ControllerState save(FormBean infos){ | |
| 37 | //No action | |
| 38 | ||
| 39 | 0 | return null; |
| 40 | } | |
| 41 | ||
| 42 | @Override | |
| 43 | public ControllerState cancel(){ | |
| 44 | //No action | |
| 45 | ||
| 46 | 0 | return null; |
| 47 | } | |
| 48 | ||
| 49 | @Override | |
| 50 | public ControllerState create(){ | |
| 51 | //No action | |
| 52 | ||
| 53 | 0 | return null; |
| 54 | } | |
| 55 | ||
| 56 | @Override | |
| 57 | public ControllerState delete(){ | |
| 58 | //No action | |
| 59 | ||
| 60 | 0 | return null; |
| 61 | } | |
| 62 | ||
| 63 | @Override | |
| 64 | public ControllerState manualEdit(){ | |
| 65 | //No action | |
| 66 | ||
| 67 | 0 | return null; |
| 68 | } | |
| 69 | ||
| 70 | @Override | |
| 71 | public ControllerState view(Data data){ | |
| 72 | //No action | |
| 73 | ||
| 74 | 0 | return null; |
| 75 | } | |
| 76 | } |