1 /* 2 * #%L 3 * Coser :: Web 4 * %% 5 * Copyright (C) 2010 - 2011 Ifremer, Codelutin, Chemit Tony 6 * %% 7 * This program is free software: you can redistribute it and/or modify 8 * it under the terms of the GNU Affero General Public License as published by 9 * the Free Software Foundation, either version 3 of the License, or 10 * (at your option) any later version. 11 * 12 * This program is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU Affero General Public License 18 * along with this program. If not, see <http://www.gnu.org/licenses/>. 19 * #L% 20 */ 21 package fr.ifremer.coser.web.actions.json; 22 23 import fr.ifremer.coser.web.actions.common.AbstractCoserAction; 24 import org.apache.struts2.convention.annotation.ParentPackage; 25 import org.apache.struts2.convention.annotation.Result; 26 import org.apache.struts2.convention.annotation.Results; 27 28 /** 29 * Json abstract action. 30 * <p/> 31 * Just define in your implementation the getter to expose. 32 * <p/> 33 * Created on 3/21/14. 34 * 35 * @author Tony Chemit <chemit@codelutin.com> 36 * @since 1.5 37 */ 38 @ParentPackage("json-default") 39 @Results({@Result(name = AbstractCoserJsonAction.SUCCESS, type = "json")}) 40 public abstract class AbstractCoserJsonAction extends AbstractCoserAction { 41 42 private static final long serialVersionUID = 1L; 43 44 }