Package com.centraview.file

Examples of com.centraview.file.CvFileLocalHome.create()


   

    try {
      InitialContext ic = new InitialContext();
      CvFileLocalHome home = (CvFileLocalHome)ic.lookup("local/CvFile");
      CvFileLocal remote =  home.create();
      remote.setDataSource(this.dataSource);

      CvFolderVO homeFolderVO = remote.getHomeFolder(individualID);

      try {
View Full Code Here


        }

        try {
          CvFileFacade cvf = new CvFileFacade();
          CvFileLocalHome homeFile = (CvFileLocalHome) ic.lookup("local/CvFile");
          CvFileLocal remoteFile = (CvFileLocal) homeFile.create();
          remoteFile.setDataSource(this.dataSource);

          CvFolderVO homeFld = remoteFile.getHomeFolder(indvID);

          int rn = (new Random()).nextInt();
View Full Code Here

                }
                break;
              case ActivityVO.ACTIVITY_LINK_FILE : // File
                try {
                  CvFileLocalHome fh = (CvFileLocalHome)ic.lookup("local/CvFile");
                  CvFileLocal fr = fh.create();
                  fr.setDataSource(this.dataSource);
                  CvFileVO flvo = fr.getFileBasic(gbUserId, linkId);
                  app.setAttachmentVec(flvo);
                } catch (Exception e) {
                  logger.error("[Exception] ActivityHelperEJB.getActivityLink: ", 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.