Package com.centraview.file

Examples of com.centraview.file.CvFileFacade.deleteLiterature()


      //Update the calues in the table;
      remote.updateLiterature(userid, literatureForm.getLiteratureName(), fileID, literatureID);

      //Delete the prevously uploaded file permanentaly
      if (fileID != 0) {
        cvfile.deleteLiterature(userid, prevFileID, dataSource);
      }

      //Set the attributes
      request.setAttribute("rowId", literatureID + "");
    } catch (Exception e) {
View Full Code Here


      // Create the instance of CVFileFacade
      CvFileFacade cvfile = new CvFileFacade();
      for (int i = 0; i < literatureID.length; i++) {
        // Get the information related to the Literature and then delete
        LiteratureVO literatureVO = remote.selectLiterature(Integer.parseInt(literatureID[i]));
        cvfile.deleteLiterature(individualID, literatureVO.getFileID(), dataSource);
        // Delete the entry from the Literature Table....
        remote.deleteLiterature(individualID, Integer.parseInt(literatureID[i]));
      }
    } catch (Exception e) {
      logger.error("[execute]: Exception", e);
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.