Package br.com.visualmidia.persistence

Examples of br.com.visualmidia.persistence.SetProperty


      return properties.get(property);
    }

    public void set(String string, Object object) {
      //try {
        system.execute(new SetProperty(string, object));
        update();
//    } catch (Exception e) {
      //MessageBox box = new MessageBox(GDWindowControl.getInstance().getMainScreen().getShell(), IMessageProvider.INFORMATION);
        //box.setText("Data Inv�lida");
        //box.setMessage(MessageConstants.TRANSACTION_DATE_EXCEPTION);
View Full Code Here


  public void run() {
      GDSystem system = GDSystem.getInstance();
      try {
      Map<String, Object> properties = (Map<String, Object>) system.query(new GetProperty());
      if(properties.get("timezone") == null) {
        system.execute(new SetProperty("timezone", "America/Sao_Paulo"));
      }
      DateTimeZone zone = DateTimeZone.forID(String.valueOf(properties.get("timezone")));
      DateTimeZone.setDefault(zone);
     
      display = (Display.getCurrent() != null)
View Full Code Here

        properties.put("start", "8");
        properties.put("end", "21");
        properties.put("break1", "12");
        properties.put("break2", "18");
        properties.put("breakDuration", "1");
        system.execute(new SetProperty(properties));
    }
View Full Code Here

        properties.add("Ter�a");
        properties.add("Quarta");
        properties.add("Quinta");
        properties.add("Sexta");
        properties.add("S�bado");
        system.execute(new SetProperty("workDays", properties));
    }
View Full Code Here

            return false;
        }
    }

    public void setProperty(String property, String value) {
        execute(new SetProperty(property, value));
    }
View Full Code Here

//            properties.put("serialnumber", autentication.getSerialNumber());
//        } catch (Exception e) {
//            e.printStackTrace();
//        }

        system.execute(new SetProperty(properties));
        return true;
    }
View Full Code Here

TOP

Related Classes of br.com.visualmidia.persistence.SetProperty

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.