Package ch.ralscha.extdirectspring.bean

Examples of ch.ralscha.extdirectspring.bean.ModelAndJsonView


    return createEmployees(2);
  }

  @ExtDirectMethod(value = ExtDirectMethodType.STORE_MODIFY)
  public ModelAndJsonView majSummaryView() {
    return new ModelAndJsonView(createEmployees(2), Views.Summary.class);
  }
View Full Code Here


    return new ModelAndJsonView(createEmployees(2), Views.Summary.class);
  }

  @ExtDirectMethod(value = ExtDirectMethodType.STORE_MODIFY)
  public ModelAndJsonView majDetailView() {
    return new ModelAndJsonView(createEmployees(2), Views.Detail.class);
  }
View Full Code Here

  }

  @ExtDirectMethod(value = ExtDirectMethodType.STORE_MODIFY,
      jsonView = Views.Summary.class)
  public ModelAndJsonView overrideMajDetailView() {
    return new ModelAndJsonView(createEmployees(2), Views.Detail.class);
  }
View Full Code Here

  }

  @ExtDirectMethod(value = ExtDirectMethodType.STORE_MODIFY,
      jsonView = Views.Summary.class)
  public ModelAndJsonView overrideMajNoView() {
    return new ModelAndJsonView(createEmployees(2), ExtDirectMethod.NoJsonView.class);
  }
View Full Code Here

    return createEmployee();
  }

  @ExtDirectMethod(value = ExtDirectMethodType.POLL)
  public ModelAndJsonView majSummaryView() {
    return new ModelAndJsonView(createEmployee(), Views.Summary.class);
  }
View Full Code Here

    return new ModelAndJsonView(createEmployee(), Views.Summary.class);
  }

  @ExtDirectMethod(value = ExtDirectMethodType.POLL)
  public ModelAndJsonView majDetailView() {
    return new ModelAndJsonView(createEmployee(), Views.Detail.class);
  }
View Full Code Here

    return new ModelAndJsonView(createEmployee(), Views.Detail.class);
  }

  @ExtDirectMethod(value = ExtDirectMethodType.POLL, jsonView = Views.Summary.class)
  public ModelAndJsonView overrideMajDetailView() {
    return new ModelAndJsonView(createEmployee(), Views.Detail.class);
  }
View Full Code Here

    return new ModelAndJsonView(createEmployee(), Views.Detail.class);
  }

  @ExtDirectMethod(value = ExtDirectMethodType.POLL, jsonView = Views.Summary.class)
  public ModelAndJsonView overrideMajNoView() {
    return new ModelAndJsonView(createEmployee(), ExtDirectMethod.NoJsonView.class);
  }
View Full Code Here

    return createEmployee();
  }

  @ExtDirectMethod
  public ModelAndJsonView majSummaryView() {
    return new ModelAndJsonView(createEmployee(), Views.Summary.class);
  }
View Full Code Here

    return new ModelAndJsonView(createEmployee(), Views.Summary.class);
  }

  @ExtDirectMethod
  public ModelAndJsonView majDetailView() {
    return new ModelAndJsonView(createEmployee(), Views.Detail.class);
  }
View Full Code Here

TOP

Related Classes of ch.ralscha.extdirectspring.bean.ModelAndJsonView

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.