Package com.structis.fichesst.server.core

Examples of com.structis.fichesst.server.core.ManagerCallBack


  @SuppressWarnings("unchecked")
  @Override
  public List<SimpleDto> findAll() {

    ManagerCallBack manager = new ManagerCallBack() {

      @Override
      public Object execute(Object... inputs) {
        return refTypeMchAvService.findAll();
      }
View Full Code Here


  DomRoleService domRoleService;

  @SuppressWarnings("unchecked")
  @Override
  public List<UtilisateurGrpModel> findAll() {
    ManagerCallBack manager = new ManagerCallBack() {
      @Override
      public Object execute(Object... inputs) {
        List<UtilisateurGrp> findAll = domUtilisateurService.findAll();
        return findAll;
      }
View Full Code Here

  }

  @SuppressWarnings("unchecked")
  @Override
  public List<UtilisateurGrpModel> findUserAdmin() {
    ManagerCallBack manager = new ManagerCallBack() {

      @Override
      public Object execute(Object... inputs) {
        List<UtilisateurGrp> findAll = domUtilisateurService.findUserAdmin();
        return findAll;
View Full Code Here

    return finalList;
  }

  @Override
  public UtilisateurGrpModel saveUser(UtilisateurGrpModel user) {
    ManagerCallBack manager = new ManagerCallBack() {

      @Override
      public Object execute(Object... inputs) {
        return domUtilisateurService.saveUser((UtilisateurGrp) inputs[0]);
      }
View Full Code Here

  }

  @SuppressWarnings("unchecked")
  @Override
  public List<UtilisateurGrpModel> saveListUser() {
    ManagerCallBack manager = new ManagerCallBack() {

      @Override
      public Object execute(Object... inputs) {
        List<UtilisateurGrp> listuser = domUtilisateurService.saveListUser((List<UtilisateurGrp>) inputs[0]);
        return listuser;
View Full Code Here

  private GestionService gestionService;

  @SuppressWarnings("unchecked")
  @Override
  public List<GestionDto> findGestionList(Integer ficheStId) {
    ManagerCallBack manager = new ManagerCallBack() {

      @Override
      public Object execute(Object... inputs) {
        return gestionService.find((Integer) inputs[0]);
      }
View Full Code Here

    return results;
  }

  @Override
  public Integer saveGestionList(List<GestionDto> gestionList, Integer ficheStId) {
    ManagerCallBack manager = new ManagerCallBack() {

      @SuppressWarnings("unchecked")
      @Override
      public Object execute(Object... inputs) {
        return gestionService.save((List<GestionDto>) inputs[0], (Integer) inputs[1]);
View Full Code Here

  DomChantierService domChantierService;
  @SuppressWarnings("unchecked")
  @Override
  public List<ChantierModel> findAll() {

    ManagerCallBack manager = new ManagerCallBack() {

      @Override
      public Object execute(Object... inputs) {
        List<Chantier> findAll = domChantierService.findAll();
        return findAll;
View Full Code Here

  }

  @Override
  public void deleteChantier(Integer idChantier) {
    /*dao.deleteChantier(idChantier);*/
    ManagerCallBack manager = new ManagerCallBack() {
      @Override
      public Object execute(Object... inputs) throws Exception {
        try {
          domChantierService.deleteChantier((Integer) inputs[0]);
          return null;
View Full Code Here

  }

  @Override
  public List<ChantierModel> findChantierByUser(final Integer idUser) {

    ManagerCallBack manager = new ManagerCallBack() {

      @Override
      public Object execute(Object... inputs) {
        List<Chantier> findAll = domChantierService.findChantierByUser(idUser);
        return findAll;
View Full Code Here

TOP

Related Classes of com.structis.fichesst.server.core.ManagerCallBack

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.