Package urun.pojos

Examples of urun.pojos.UrunSevk


    }

    sevkUrun.setAdet(sevkUrun.getAdet() - sevkUrunAdet);
    check = HibernateManager.getInstance().update(sevkUrun);
    if (check) {
      UrunSevk us = new UrunSevk(sevkUrun);
      us.setAdet(sevkUrunAdet);
      us.setUrunSevkFrom(sevkUrunFrom);
      us.setUrunSevkTo(sevkUrunTo);
      us.setUrunSevkFromDate(new Date());
      us.setUrunSevkState(SEVK_DEFAULT_STATE);
      check1 = HibernateManager.getInstance().save(us);
      if (check1) {
        AutoClosingMessageDialog.showAutoClosingMessageDialog(
            "Üründen " + sevkUrunAdet + " adet " + sevkUrunFrom
                + " şubesinden " + sevkUrunTo
View Full Code Here


  protected boolean controlIfUrunStateChanged() {

    String firstState = urunSevk.getUrunSevkState();
    DatabaseConnection.databaseConnect();
    UrunSevk databaseControl = (UrunSevk) HibernateManager.getInstance()
        .getObjectWithUniqueColumn(UrunSevk.class, "id",
            urunSevk.getId(), false);
    if (databaseControl == null) {
      return false;
    }
    String afterControl = databaseControl.getUrunSevkState();
    if (!firstState.equals(afterControl)) {
      Utils.showMessage("Ürün durum bilgisi değişmiştir, sayfayı yenilemeden işlem yapmayınız !");
      return false;
    }
    return true;
View Full Code Here

TOP

Related Classes of urun.pojos.UrunSevk

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.