1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
package com.bnpp.opra.mdm.ui.action;
import java.util.ArrayList;
import java.util.List;
import com.bnpp.opra.fwk.exception.GlobalException;
import com.bnpp.opra.mdm.ui.bean.AdjustmentBean;
import com.bnpp.opra.mdm.ui.bean.adapter.PricingActionAdapter;
import com.opensymphony.xwork2.Preparable;
public class PricingAction extends OpraPricingAction {
private List<AdjustmentBean> adjust = new ArrayList<AdjustmentBean>();
private AdjustmentBean bean= new AdjustmentBean();
private String field;
public final String framesetAction() throws GlobalException {
return SUCCESS;}
public final String showAction() throws GlobalException {
PricingActionAdapter.mapAdjustment(adjust);
bean.setShortLabel("toto");
field = "tralala";
return SUCCESS;}
public final String saveAction() throws GlobalException {
return SUCCESS;}
public final List<AdjustmentBean> getAdjust() {
return adjust;}
public final void setAdjustd(final List<AdjustmentBean> val) {
this.adjust = val;}
public final AdjustmentBean getBean() {
return bean;}
public final void setBean(AdjustmentBean bean) {
this.bean = bean;}
public final String getField() {
return field;}
public final void setField(String field) {
this.field = field;}
} |
Partager