package p2.application.tobsmag;

import baseclass.AppBeanCust;
import p2.util.P2Exception;

public class tobsmagAppBean extends AppBeanCust {

    /**
     * ´´½¨Í°
     *
     * @return
     * @throws P2Exception
     */
    public int CREATEOBS() throws P2Exception {
        tobsmag tobsmag = (tobsmag) getPao();
        tobsmag.createobs_validate();
        tobsmag.createobs();
        this.save();
        byrefresh();
        return 1;
    }


    /**
     * ²éÑ¯Í°ÈÝÁ¿
     *
     * @return
     * @throws P2Exception
     */
    public int GETVOLUME() throws P2Exception {
        tobsmag tobsmag = (tobsmag) getPao();
        tobsmag.getVolume_validate();
        tobsmag.getVolume();
        this.save();
        byrefresh();
        return 1;
    }
}
