Package org.apache.openmeetings.persistence.beans.flvrecord

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


  }
 
  public void updateFlvRecordingOrganization(Long flvRecordingId, Long organization_id) {
    try {
     
      FlvRecording fId = this.getFlvRecordingById(flvRecordingId);
     
      fId.setOrganization_id(organization_id);
     
      if (fId.getFlvRecordingId() == 0) {
        em.persist(fId);
        } else {
          if (!em.contains(fId)) {
            em.merge(fId);
          }
View Full Code Here


  }
 
  public void updateFlvRecordingEndTime(Long flvRecordingId, Date recordEnd, Long organization_id) {
    try {
     
      FlvRecording fId = this.getFlvRecordingById(flvRecordingId);
     
      fId.setProgressPostProcessing(0);
      fId.setRecordEnd(recordEnd);
      fId.setOrganization_id(organization_id);
     
      if (fId.getFlvRecordingId() == 0) {
        em.persist(fId);
        } else {
          if (!em.contains(fId)) {
            em.merge(fId);
          }
View Full Code Here

  }
 
  public void updateFlvRecordingProgress(Long flvRecordingId, Integer progress) {
    try {
     
      FlvRecording fId = this.getFlvRecordingById(flvRecordingId);
     
      fId.setProgressPostProcessing(progress);
     
      if (fId.getFlvRecordingId() == 0) {
        em.persist(fId);
        } else {
          if (!em.contains(fId)) {
            em.merge(fId);
          }
View Full Code Here

   * @param fileExplorerItemId
   */
  public boolean deleteFlvRecording(Long flvRecordingId) {
    try {
     
      FlvRecording fId = this.getFlvRecordingById(flvRecordingId);
     
      if (fId == null) {
        return false;
      }
     
      fId.setDeleted(true);
      fId.setUpdated(new Date());
     
      if (fId.getFlvRecordingId() == 0) {
        em.persist(fId);
        } else {
          if (!em.contains(fId)) {
            em.merge(fId);
          }
View Full Code Here

   * @param fileName
   */
  public void updateFileOrFolderName(Long flvRecordingId, String fileName) {
    try {
     
      FlvRecording fId = this.getFlvRecordingById(flvRecordingId);
     
      fId.setFileName(fileName);
      fId.setUpdated(new Date());
     
      if (fId.getFlvRecordingId() == 0) {
        em.persist(fId);
        } else {
          if (!em.contains(fId)) {
            em.merge(fId);
          }
View Full Code Here

   */
  public void moveFile(Long flvRecordingId, Long parentFileExplorerItemId,
        Boolean isOwner, Long ownerId) {
    try {
     
      FlvRecording fId = this.getFlvRecordingById(flvRecordingId);
     
      fId.setParentFileExplorerItemId(parentFileExplorerItemId);
     
      if (parentFileExplorerItemId == 0) {
        if (isOwner) {
          //move to personal Folder
          fId.setOwnerId(ownerId);
        } else {
          //move to public room folder
          fId.setOwnerId(null);
        }
      } else {
        fId.setOwnerId(null);
      }
     
      fId.setUpdated(new Date());
     
      if (fId.getFlvRecordingId() == 0) {
        em.persist(fId);
        } else {
          if (!em.contains(fId)) {
            em.merge(fId);
          }
View Full Code Here

    try {
      if (isUseOldStyleFfmpegMap()) {
        FFMPEG_MAP_PARAM = ".";
      }

      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

          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++;
          }
View Full Code Here

          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++;
          }
View Full Code Here

          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

TOP

Related Classes of org.apache.openmeetings.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.