Package org.openmeetings.app.persistence.beans.flvrecord

Examples of org.openmeetings.app.persistence.beans.flvrecord.FlvRecording


        if (recordingList!=null && recordingList.size()!=0) {
          //roomsListObject.setRoomList(roomList);
          FLVRecordingReturn[] recordingListItems = new FLVRecordingReturn[recordingList.size()];
          int count = 0;
          for (Iterator<FlvRecording>it = recordingList.iterator();it.hasNext();){
            FlvRecording flvRecording = it.next();
            recordingListItems[count] = FLVRecordingReturn.initObject(flvRecording);
            count++;
          }
         
          return recordingListItems;
View Full Code Here


        if (recordingList!=null && recordingList.size()!=0) {
          //roomsListObject.setRoomList(roomList);
          FLVRecordingReturn[] recordingListItems = new FLVRecordingReturn[recordingList.size()];
          int count = 0;
          for (Iterator<FlvRecording>it = recordingList.iterator();it.hasNext();){
            FlvRecording flvRecording = it.next();
            recordingListItems[count] = FLVRecordingReturn.initObject(flvRecording);
            count++;
          }
         
          return recordingListItems;
View Full Code Here

        if (recordingList!=null && recordingList.size()!=0) {
          //roomsListObject.setRoomList(roomList);
          FlvRecording[] recordingListItems = new FlvRecording[recordingList.size()];
          int count = 0;
          for (Iterator<FlvRecording>it = recordingList.iterator();it.hasNext();){
            FlvRecording flvRecording = it.next();
            recordingListItems[count] = flvRecording;
            count++;
          }
         
          return recordingListItems;
View Full Code Here

        if (recordingList!=null && recordingList.size()!=0) {
          //roomsListObject.setRoomList(roomList);
          FlvRecording[] recordingListItems = new FlvRecording[recordingList.size()];
          int count = 0;
          for (Iterator<FlvRecording>it = recordingList.iterator();it.hasNext();){
            FlvRecording flvRecording = it.next();
            recordingListItems[count] = flvRecording;
            count++;
          }
         
          return recordingListItems;
View Full Code Here

    Element root = document.addElement("root");
   
    Element flvrecordings = root.addElement("flvrecordings");
   
    for (Iterator<FlvRecording> it = flvRecordings.iterator();it.hasNext();) {
      FlvRecording flvRec = it.next();
     
      Element flvrecording = flvrecordings.addElement("flvrecording");
     
      flvrecording.addElement("alternateDownload").addCDATA(formatString(""+flvRec.getAlternateDownload()));
      flvrecording.addElement("comment").addCDATA(formatString(""+flvRec.getComment()));
      flvrecording.addElement("deleted").addCDATA(formatString(""+flvRec.getDeleted()));
      flvrecording.addElement("fileHash").addCDATA(formatString(""+flvRec.getFileHash()));
      flvrecording.addElement("fileName").addCDATA(formatString(""+flvRec.getFileName()));
      flvrecording.addElement("flvRecordingId").addCDATA(formatString(""+flvRec.getFlvRecordingId()));
      flvrecording.addElement("previewImage").addCDATA(formatString(""+flvRec.getPreviewImage()));
      flvrecording.addElement("recorderStreamId").addCDATA(formatString(""+flvRec.getRecorderStreamId()));
      flvrecording.addElement("fileSize").addCDATA(formatString(""+flvRec.getFileSize()));
      flvrecording.addElement("flvHeight").addCDATA(formatString(""+flvRec.getFlvHeight()));
      flvrecording.addElement("flvWidth").addCDATA(formatString(""+flvRec.getFlvWidth()));
      flvrecording.addElement("height").addCDATA(formatString(""+flvRec.getHeight()));
      flvrecording.addElement("width").addCDATA(formatString(""+flvRec.getWidth()));
      flvrecording.addElement("insertedBy").addCDATA(formatString(""+flvRec.getInsertedBy()));
      flvrecording.addElement("organization_id").addCDATA(formatString(""+flvRec.getOrganization_id()));
      flvrecording.addElement("ownerId").addCDATA(formatString(""+flvRec.getOwnerId()));
      flvrecording.addElement("parentFileExplorerItemId").addCDATA(formatString(""+flvRec.getParentFileExplorerItemId()));
      flvrecording.addElement("progressPostProcessing").addCDATA(formatString(""+flvRec.getProgressPostProcessing()));
      flvrecording.addElement("room_id").addCDATA(formatString(""+flvRec.getRoom_id()));
      flvrecording.addElement("inserted").addCDATA(formatString(""+CalendarPatterns.getDateWithTimeByMiliSeconds(flvRec.getInserted())));
      flvrecording.addElement("isFolder").addCDATA(formatString(""+flvRec.getIsFolder()));
      flvrecording.addElement("isImage").addCDATA(formatString(""+flvRec.getIsImage()));
      flvrecording.addElement("isInterview").addCDATA(formatString(""+flvRec.getIsInterview()));
      flvrecording.addElement("isPresentation").addCDATA(formatString(""+flvRec.getIsPresentation()));
      flvrecording.addElement("isRecording").addCDATA(formatString(""+flvRec.getIsRecording()));
      flvrecording.addElement("recordEnd").addCDATA(formatString(""+CalendarPatterns.getDateWithTimeByMiliSeconds(flvRec.getRecordEnd())));
      flvrecording.addElement("recordStart").addCDATA(formatString(""+CalendarPatterns.getDateWithTimeByMiliSeconds(flvRec.getRecordStart())));
     
     
      Element flvrecordingmetadatas = flvrecording.addElement("flvrecordingmetadatas");
     
      for (Iterator<FlvRecordingMetaData> itMeta = flvRec.getFlvRecordingMetaData().iterator();itMeta.hasNext();) {
        FlvRecordingMetaData flvMeta = itMeta.next();
       
        Element flvrecordingmetadata = flvrecordingmetadatas.addElement("flvrecordingmetadata");
       
        flvrecordingmetadata.addElement("flvRecordingMetaDataId").addCDATA(formatString(""+flvMeta.getFlvRecordingMetaDataId()));
View Full Code Here

           
            log.debug("moveFile "+flvRecordingId);
           
            this.flvRecordingDaoImpl.moveFile(flvRecordingId, newParentFileExplorerItemId, isOwner, users_id);
       
            FlvRecording flvRecording = this.flvRecordingDaoImpl.getFlvRecordingById(flvRecordingId);
           
            if (moveToHome) {
              //set this file and all subfiles and folders the ownerId
              this.setFileToOwnerOrRoomByParent(flvRecording, users_id);
             
View Full Code Here

          Long user_level = Usermanagement.getInstance().getUserLevelByID(users_id)
          if (AuthLevelmanagement.getInstance().checkUserLevel(user_level)){ 
           
            log.debug("updateFileOrFolderName "+flvRecordingId);
           
            FlvRecording flvRecording = this.flvRecordingDaoImpl.getFlvRecordingById(flvRecordingId);
           
            if (flvRecording.getIsInterview() == null || !flvRecording.getIsInterview()) {
              return -1L;
            }
           
            flvRecording.setPreviewImage(null);
           
            flvRecording.setProgressPostProcessing(0);
           
            this.flvRecordingDaoImpl.updateFlvRecording(flvRecording);
           
            this.flvInterviewReConverterTask.startConversionThread(flvRecordingId, leftSideLoud, rightSideLoud, leftSideTime, rightSideTime);
           
View Full Code Here

     
      Long flvRecordingId = FlvRecordingDaoImpl.getInstance().addFlvRecordingObj(flvRecording);
     
      for (FlvRecordingMetaData flvRecordingMetaData : flvRecording.getFlvRecordingMetaData()) {
       
        FlvRecording flvRecordingSaved = FlvRecordingDaoImpl.getInstance().getFlvRecordingById(flvRecordingId);
       
        flvRecordingMetaData.setFlvRecording(flvRecordingSaved);
       
        FlvRecordingMetaDataDaoImpl.getInstance().addFlvRecordingMetaDataObj(flvRecordingMetaData);
       
View Full Code Here

                Boolean isRecording = importBooleanType(unformatString(flvObject.element("isRecording").getText()));
                Date recordEnd = CalendarPatterns.parseDateWithHour(unformatString(flvObject.element("recordEnd").getText()));
                Date recordStart = CalendarPatterns.parseDateWithHour(unformatString(flvObject.element("recordStart").getText()));
               
               
                FlvRecording flvRecording = new FlvRecording();
                flvRecording.setAlternateDownload(alternateDownload);
                flvRecording.setComment(comment);
                flvRecording.setFileHash(fileHash);
                flvRecording.setFileName(fileName);
                flvRecording.setPreviewImage(previewImage);
                flvRecording.setRecorderStreamId(recorderStreamId);
                flvRecording.setFileSize(fileSize);
                flvRecording.setFlvHeight(flvHeight);
                flvRecording.setFlvWidth(flvWidth);
                flvRecording.setHeight(height);
                flvRecording.setWidth(width);
                flvRecording.setInsertedBy(insertedBy);
                flvRecording.setOrganization_id(organization_id);
                flvRecording.setOwnerId(ownerId);
                flvRecording.setParentFileExplorerItemId(parentFileExplorerItemId);
                flvRecording.setProgressPostProcessing(progressPostProcessing);
                flvRecording.setRoom_id(room_id);
                flvRecording.setInserted(inserted);
                flvRecording.setIsFolder(isFolder);
                flvRecording.setIsImage(isImage);
                flvRecording.setIsInterview(isInterview);
                flvRecording.setIsPresentation(isPresentation);
                flvRecording.setIsRecording(isRecording);
                flvRecording.setRecordEnd(recordEnd);
                flvRecording.setRecordStart(recordStart);
                flvRecording.setDeleted(deleted);
               
                flvRecording.setFlvRecordingMetaData(new LinkedList<FlvRecordingMetaData>());
               
               
                Element flvrecordingmetadatas = flvObject.element("flvrecordingmetadatas");
               
                for (Iterator<Element> innerIterMetas = flvrecordingmetadatas.elementIterator( "flvrecordingmetadata" ); innerIterMetas.hasNext(); ) {
                 
                  Element flvrecordingmetadataObj = innerIterMetas.next();
                 
                  String freeTextUserName = unformatString(flvrecordingmetadataObj.element("freeTextUserName").getText());
                  String fullWavAudioData = unformatString(flvrecordingmetadataObj.element("fullWavAudioData").getText());
                  String streamName = unformatString(flvrecordingmetadataObj.element("streamName").getText());
                  String wavAudioData = unformatString(flvrecordingmetadataObj.element("wavAudioData").getText());
                  Integer initialGapSeconds = importIntegerType(unformatString(flvrecordingmetadataObj.element("initialGapSeconds").getText()));
                  Long insertedBy1 = importLongType(unformatString(flvrecordingmetadataObj.element("insertedBy").getText()));
                  Integer interiewPodId = importIntegerType(unformatString(flvrecordingmetadataObj.element("interiewPodId").getText()));
                  Boolean audioIsValid = importBooleanType(unformatString(flvrecordingmetadataObj.element("audioIsValid").getText()));
                  Date inserted1 = CalendarPatterns.parseDateWithHour(unformatString(flvrecordingmetadataObj.element("inserted").getText()));
                  Boolean isAudioOnly = importBooleanType(unformatString(flvrecordingmetadataObj.element("isAudioOnly").getText()));
                  Boolean isScreenData = importBooleanType(unformatString(flvrecordingmetadataObj.element("isScreenData").getText()));
                  Boolean isVideoOnly = importBooleanType(unformatString(flvrecordingmetadataObj.element("isVideoOnly").getText()));
                  Date recordEnd1 = CalendarPatterns.parseDateWithHour(unformatString(flvrecordingmetadataObj.element("recordEnd").getText()));
                  Date recordStart1 = CalendarPatterns.parseDateWithHour(unformatString(flvrecordingmetadataObj.element("recordStart").getText()));
                  Date updated = CalendarPatterns.parseDateWithHour(unformatString(flvrecordingmetadataObj.element("updated").getText()));
                 
                  FlvRecordingMetaData flvrecordingmetadata = new FlvRecordingMetaData();
                  flvrecordingmetadata.setFreeTextUserName(freeTextUserName);
                  flvrecordingmetadata.setFullWavAudioData(fullWavAudioData);
                  flvrecordingmetadata.setStreamName(streamName);
                  flvrecordingmetadata.setWavAudioData(wavAudioData);
                  flvrecordingmetadata.setInitialGapSeconds(initialGapSeconds);
                  flvrecordingmetadata.setInsertedBy(insertedBy1);
                  flvrecordingmetadata.setInteriewPodId(interiewPodId);
                  flvrecordingmetadata.setAudioIsValid(audioIsValid);
                  flvrecordingmetadata.setInserted(inserted1);
                  flvrecordingmetadata.setIsAudioOnly(isAudioOnly);
                  flvrecordingmetadata.setIsScreenData(isScreenData);
                  flvrecordingmetadata.setIsVideoOnly(isVideoOnly);
                  flvrecordingmetadata.setRecordEnd(recordEnd1);
                  flvrecordingmetadata.setRecordStart(recordStart1);
                  flvrecordingmetadata.setUpdated(updated);
                  flvrecordingmetadata.setDeleted("false");
                 
                  flvRecording.getFlvRecordingMetaData().add(flvrecordingmetadata);
                 
                }
               
                flvList.add(flvRecording);
               
View Full Code Here

      this.rightSideTime = rightSideTime;
     
      log.debug("++++++++++++ this.leftSideLoud :: "+this.leftSideLoud);
      log.debug("++++++++++++ this.rightSideLoud :: "+this.rightSideLoud);

      FlvRecording flvRecording = this.flvRecordingDaoImpl
          .getFlvRecordingById(flvRecordingId);
      log.debug("flvRecording " + flvRecording.getFlvRecordingId());

      // Strip Audio out of all Audio-FLVs
      this.stripAudioFromFLVs(flvRecording);

      // Add empty pieces at the beginning and end of the wav
View Full Code Here

TOP

Related Classes of org.openmeetings.app.persistence.beans.flvrecord.FlvRecording

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.