From 7a874043f3cae124b2d64b8db11ef2bb7cd98fa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20Gonz=C3=A1lez=20Fern=C3=A1ndez?= Date: Tue, 12 Jan 2010 17:15:35 +0100 Subject: [PATCH] ItEr43S12CUGravacionModelosUnidadesTraballoItEr42S17: Extracting interface from IAssignedLabelsToOrderElementModel. --- .../orders/labels/IAssignedLabelsModel.java | 54 ++++++++++++++ .../IAssignedLabelsToOrderElementModel.java | 71 +------------------ 2 files changed, 56 insertions(+), 69 deletions(-) create mode 100644 navalplanner-webapp/src/main/java/org/navalplanner/web/orders/labels/IAssignedLabelsModel.java diff --git a/navalplanner-webapp/src/main/java/org/navalplanner/web/orders/labels/IAssignedLabelsModel.java b/navalplanner-webapp/src/main/java/org/navalplanner/web/orders/labels/IAssignedLabelsModel.java new file mode 100644 index 000000000..c418efc1a --- /dev/null +++ b/navalplanner-webapp/src/main/java/org/navalplanner/web/orders/labels/IAssignedLabelsModel.java @@ -0,0 +1,54 @@ +/* + * This file is part of ###PROJECT_NAME### + * + * Copyright (C) 2009 Fundación para o Fomento da Calidade Industrial e + * Desenvolvemento Tecnolóxico de Galicia + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ +package org.navalplanner.web.orders.labels; + +import java.util.List; + +import org.navalplanner.business.labels.entities.Label; +import org.navalplanner.business.labels.entities.LabelType; + +/** + * @author Óscar González Fernández + * + */ +public interface IAssignedLabelsModel { + + public abstract void init(T element); + + public abstract void initializeLabel(Label label); + + public abstract List