Package com.structis.fichesst.server.core

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


  @Autowired
  private FicheStService ficheStService;

  @Override
  public FicheStDto find(Integer id) {
    ManagerCallBack manager = new ManagerCallBack() {
      @Override
      public Object execute(Object... inputs) throws Exception {
        try {
          FicheSt ficheSt = ficheStService.find((Integer) inputs[0]);
          return ficheSt;
View Full Code Here


  }

  @SuppressWarnings("unchecked")
  @Override
  public List<FicheStDto> findByChantierId(Integer chantierId) {
    ManagerCallBack manager = new ManagerCallBack() {

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

    return finalList;
  }

  @Override
  public FicheStDto save(FicheStDto model) {
    ManagerCallBack manager = new ManagerCallBack() {
      @Override
      public Object execute(Object... inputs) throws Exception {
        try {
          return ficheStService.save((FicheSt) inputs[0]);
        }
View Full Code Here

    return (FicheStDto) callManager(manager, model);
  }

  @Override
  public FicheStDto update(FicheStDto model) {
    ManagerCallBack manager = new ManagerCallBack() {
      @Override
      public Object execute(Object... inputs) throws Exception {
        try {
          return ficheStService.update((FicheSt) inputs[0]);
        }
View Full Code Here

    return (FicheStDto) callManager(manager, model);
  }

  @Override
    public void delete(Integer id) {
    ManagerCallBack manager = new ManagerCallBack() {
      @Override
      public Object execute(Object... inputs) throws Exception {
        try {
          ficheStService.delete((Integer) inputs[0]);
          return null;
View Full Code Here

  }

  @Override
  public void updateSynthese(ChantierModel chantier, List<FicheStDto> ficheStList,
      List<FicheTransfertppDto> transfertPpList) {
    ManagerCallBack manager = new ManagerCallBack() {
      @SuppressWarnings("unchecked")
      @Override
      public Object execute(Object... inputs) throws Exception {
        try {
          return ficheStService.updateSynthese((Chantier) inputs[0], (List<FicheSt>) inputs[1], (List<FicheTransfertpp>) inputs[2]);
View Full Code Here

  @Override
  public List<LigTransfertppModel> findByID(final Integer idTransfertpp,
      final Integer idChantier) {

    ManagerCallBack manager = new ManagerCallBack() {

      @Override
      public Object execute(Object... inputs) {
        List<LigTransfertPP> findAll = domLigTransfertppService
            .findAllByID(idTransfertpp, idChantier);
View Full Code Here

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

    ManagerCallBack manager = new ManagerCallBack() {

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

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

    ManagerCallBack manager = new ManagerCallBack() {

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

  @Autowired
  private RefTransfertppService refTransfertppService;

  @Override
  public SimpleDto findById(final Integer id) {
    ManagerCallBack manager = new ManagerCallBack() {

      @Override
      public Object execute(Object... inputs) throws Exception {
        RefTransfertPP ref = refTransfertppService.find(id);
        return ref;
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.