Examples of Office


Examples of de.forsthaus.backend.model.Office

  @Override
  public void saveOrUpdate(Customer customer) {
    if (customer.isNew()) {

      // Todo get the Office ID from the login method
      Office office = getOfficeDAO().getOfficeById(Long.valueOf(1));

      customer.setOffice(office);
      getCustomerDAO().save(customer);
    } else {
      getCustomerDAO().update(customer);
View Full Code Here

Examples of de.forsthaus.backend.model.Office

  /**
   * For DEMO MODE we set the office number manually.<br>
   */
  private void doDemoMode() {

    Office office = getOfficeService().getOfficeByID(Long.valueOf(1));
    getUserWorkspace().setOffice(office);

  }
View Full Code Here

Examples of de.forsthaus.backend.model.Office

    // check first, if the tabs are created
    if (getOfficeDetailCtrl().getBinder() == null) {
      return;
    }

    final Office anOffice = getSelectedOffice();
    if (anOffice != null) {

      // Show a confirm box
      final String msg = Labels.getLabel("message.Question.Are_you_sure_to_delete_this_record") + "\n\n --> " + anOffice.getFilBezeichnung();
      final String title = Labels.getLabel("message.Deleting.Record");

      MultiLineMessageBox.doSetTemplate();
      if (MultiLineMessageBox.show(msg, title, Messagebox.YES | Messagebox.NO, Messagebox.QUESTION, true, new EventListener() {
        @Override
View Full Code Here

Examples of de.forsthaus.backend.model.Office

    }

    // remember the current object
    doStoreInitValues();

    /** !!! DO NOT BREAK THE TIERS !!! */
    // We don't create a new DomainObject() in the frontend.
    // We GET it from the backend.
    final Office anOffice = getOfficeService().getNewOffice();

    // set the beans in the related databinded controllers
View Full Code Here

Examples of de.forsthaus.backend.model.Office

  }

  public void onClick$button_insertCustomers(Event event) throws InterruptedException {

    final Branche branche = getBrancheService().getBrancheById(1000);
    final Office office = getOfficeService().getOfficeByID(Long.valueOf(1));

    final int countRecords = 10000;

    final RandomDataEngine randomDataEngine = new RandomDataEngine();
View Full Code Here

Examples of jimm.datavision.testdata.Office

class CreateData {

public static void main(String[] args) {
    System.out.println("delete from office;");
    for (Iterator iter = Office.offices(); iter.hasNext(); ) {
  Office o = (Office)iter.next();
  System.out.println("insert into office values (" + o.id + ", '"
         + o.name + "', '" + o.abbrev + "', '" + o.fax
         + "', '" + o.email + "', '"
         + (o.visible ? 'Y' : 'N') + "');");
    }
View Full Code Here

Examples of jimm.datavision.testdata.Office

class CreateData {

public static void main(String[] args) {
    System.out.println("delete from office;");
    for (Iterator iter = Office.offices(); iter.hasNext(); ) {
  Office o = (Office)iter.next();
  System.out.println("insert into office values (" + o.id + ", '"
         + o.name + "', '" + o.abbrev + "', '" + o.fax
         + "', '" + o.email + "', "
         + (o.visible ? 1 : 0) + ");");
    }
View Full Code Here

Examples of jimm.datavision.testdata.Office

class CreateData {

public static void main(String[] args) {
    System.out.println("delete from office;");
    for (Iterator iter = Office.offices(); iter.hasNext(); ) {
  Office o = (Office)iter.next();
  System.out.println("insert into office values (" + o.id + ", '"
         + o.name + "', '" + o.abbrev + "', '" + o.fax
         + "', '" + o.email + "', "
         + (o.visible ? 1 : 0) + ");");
    }
View Full Code Here

Examples of jimm.datavision.testdata.Office

class CreateData {

public static void main(String[] args) {
    System.out.println("delete from office;");
    for (Iterator iter = Office.offices(); iter.hasNext(); ) {
  Office o = (Office)iter.next();
  System.out.println("insert into office values (" + o.id + ", '"
         + o.name + "', '" + o.abbrev + "', '" + o.fax
         + "', '" + o.email + "', '"
         + (o.visible ? 't' : 'f') + "');");
    }
View Full Code Here

Examples of org.emftext.language.office.Office

   * <!-- end-user-doc -->
   * @generated
   */
  public void setWorksIn(Office newWorksIn)
  {
    Office oldWorksIn = worksIn;
    worksIn = newWorksIn;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, OfficePackage.EMPLOYEE__WORKS_IN, oldWorksIn, worksIn));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.