ItEr27S11AltaEtiquetasTipoEtiquetaItEr26S13: Added controller for Labels in OrderElement
This commit is contained in:
parent
73a9d135a0
commit
4e2953b3f2
2 changed files with 39 additions and 0 deletions
|
|
@ -0,0 +1,31 @@
|
|||
package org.navalplanner.web.orders;
|
||||
|
||||
import org.navalplanner.business.orders.daos.OrderElementDAO;
|
||||
import org.navalplanner.business.orders.entities.OrderElement;
|
||||
import org.springframework.beans.factory.config.BeanDefinition;
|
||||
import org.springframework.context.annotation.Scope;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
/**
|
||||
* @author Diego Pino Garcia <dpino@igalia.com>
|
||||
*/
|
||||
@Service
|
||||
@Scope(BeanDefinition.SCOPE_PROTOTYPE)
|
||||
public class AssignedLabelsToOrderElementModel implements
|
||||
IAssignedLabelsToOrderElementModel {
|
||||
|
||||
OrderElementDAO orderDAO;
|
||||
|
||||
OrderElement orderElement;
|
||||
|
||||
@Transactional(readOnly = true)
|
||||
public void setOrderElement(OrderElement orderElement) {
|
||||
this.orderElement = orderElement;
|
||||
}
|
||||
|
||||
private void reattachLabels() {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
package org.navalplanner.web.orders;
|
||||
|
||||
/**
|
||||
* @author Diego Pino Garcia <dpino@igalia.com>
|
||||
*/
|
||||
public interface IAssignedLabelsToOrderElementModel {
|
||||
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue