| /* |
| * Licensed to the Apache Software Foundation (ASF) under one |
| * or more contributor license agreements. See the NOTICE file |
| * distributed with this work for additional information |
| * regarding copyright ownership. The ASF licenses this file |
| * to you under the Apache License, Version 2.0 (the |
| * "License") + you may not use this file except in compliance |
| * with the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, |
| * software distributed under the License is distributed on an |
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| * KIND, either express or implied. See the License for the |
| * specific language governing permissions and limitations |
| * under the License. |
| */ |
| package org.apache.openmeetings.axis.services; |
| |
| import java.util.Date; |
| |
| import org.apache.openmeetings.persistence.beans.flvrecord.FlvRecording; |
| |
| |
| public class FLVRecordingReturn { |
| |
| private long flvRecordingId; |
| |
| private String fileName; |
| private String alternateDownload; |
| private String fileHash; |
| private String comment; |
| |
| private Long parentFileExplorerItemId; |
| private Long room_id; |
| private Long ownerId;//OwnerID => only set if its directly root in Owner Directory, other Folders and Files |
| //maybe are also in a Home directory but just because their parent is |
| |
| private Boolean isFolder; |
| private Boolean isImage; |
| private Boolean isPresentation; |
| private Boolean isRecording; |
| |
| private Date recordStart; |
| private Date recordEnd; |
| |
| private Long insertedBy; |
| private Date inserted; |
| private Date updated; |
| private boolean deleted; |
| |
| private Integer width; |
| private Integer height; |
| |
| private Integer flvWidth; |
| private Integer flvHeight; |
| private String previewImage; |
| |
| private Long fileSize; |
| |
| private String recorderStreamId; |
| private Long organization_id; |
| |
| private Boolean isInterview; |
| private Integer progressPostProcessing; |
| |
| public static FLVRecordingReturn initObject(FlvRecording customObject) { |
| |
| FLVRecordingReturn flvRecordingReturn = new FLVRecordingReturn(); |
| |
| flvRecordingReturn.flvRecordingId = customObject.getFlvRecordingId(); |
| |
| flvRecordingReturn.fileName = customObject.getFileName(); |
| flvRecordingReturn.alternateDownload = customObject.getAlternateDownload(); |
| flvRecordingReturn.fileHash = customObject.getFileHash(); |
| flvRecordingReturn.comment = customObject.getComment(); |
| |
| flvRecordingReturn.parentFileExplorerItemId = customObject.getParentFileExplorerItemId(); |
| flvRecordingReturn.room_id = customObject.getRoom_id(); |
| flvRecordingReturn.ownerId = customObject.getOwnerId();//OwnerID => only set if its directly root in Owner Directory, other Folders and Files |
| //maybe are also in a Home directory but just because their parent is |
| |
| flvRecordingReturn.isFolder = customObject.getIsFolder(); |
| flvRecordingReturn.isImage = customObject.getIsImage(); |
| flvRecordingReturn.isPresentation = customObject.getIsPresentation(); |
| flvRecordingReturn.isRecording = customObject.getIsRecording(); |
| |
| flvRecordingReturn.recordStart = customObject.getRecordStart(); |
| flvRecordingReturn.recordEnd = customObject.getRecordEnd(); |
| |
| flvRecordingReturn.insertedBy = customObject.getInsertedBy(); |
| flvRecordingReturn.inserted = customObject.getInserted(); |
| flvRecordingReturn.updated = customObject.getUpdated(); |
| flvRecordingReturn.deleted = customObject.getDeleted(); |
| |
| flvRecordingReturn.width = customObject.getWidth(); |
| flvRecordingReturn.height = customObject.getHeight(); |
| |
| flvRecordingReturn.flvWidth = customObject.getFlvWidth(); |
| flvRecordingReturn.flvHeight = customObject.getFlvHeight(); |
| flvRecordingReturn.previewImage = customObject.getPreviewImage(); |
| |
| flvRecordingReturn.fileSize = customObject.getFileSize(); |
| |
| flvRecordingReturn.recorderStreamId = customObject.getRecorderStreamId(); |
| flvRecordingReturn.organization_id = customObject.getOrganization_id(); |
| |
| flvRecordingReturn.isInterview = customObject.getIsInterview(); |
| flvRecordingReturn.progressPostProcessing = customObject.getProgressPostProcessing(); |
| |
| return flvRecordingReturn; |
| } |
| |
| public long getFlvRecordingId() { |
| return flvRecordingId; |
| } |
| |
| public void setFlvRecordingId(long flvRecordingId) { |
| this.flvRecordingId = flvRecordingId; |
| } |
| |
| public String getFileName() { |
| return fileName; |
| } |
| |
| public void setFileName(String fileName) { |
| this.fileName = fileName; |
| } |
| |
| public String getAlternateDownload() { |
| return alternateDownload; |
| } |
| |
| public void setAlternateDownload(String alternateDownload) { |
| this.alternateDownload = alternateDownload; |
| } |
| |
| public String getFileHash() { |
| return fileHash; |
| } |
| |
| public void setFileHash(String fileHash) { |
| this.fileHash = fileHash; |
| } |
| |
| public String getComment() { |
| return comment; |
| } |
| |
| public void setComment(String comment) { |
| this.comment = comment; |
| } |
| |
| public Long getParentFileExplorerItemId() { |
| return parentFileExplorerItemId; |
| } |
| |
| public void setParentFileExplorerItemId(Long parentFileExplorerItemId) { |
| this.parentFileExplorerItemId = parentFileExplorerItemId; |
| } |
| |
| public Long getRoom_id() { |
| return room_id; |
| } |
| |
| public void setRoom_id(Long roomId) { |
| room_id = roomId; |
| } |
| |
| public Long getOwnerId() { |
| return ownerId; |
| } |
| |
| public void setOwnerId(Long ownerId) { |
| this.ownerId = ownerId; |
| } |
| |
| public Boolean getIsFolder() { |
| return isFolder; |
| } |
| |
| public void setIsFolder(Boolean isFolder) { |
| this.isFolder = isFolder; |
| } |
| |
| public Boolean getIsImage() { |
| return isImage; |
| } |
| |
| public void setIsImage(Boolean isImage) { |
| this.isImage = isImage; |
| } |
| |
| public Boolean getIsPresentation() { |
| return isPresentation; |
| } |
| |
| public void setIsPresentation(Boolean isPresentation) { |
| this.isPresentation = isPresentation; |
| } |
| |
| public Boolean getIsRecording() { |
| return isRecording; |
| } |
| |
| public void setIsRecording(Boolean isRecording) { |
| this.isRecording = isRecording; |
| } |
| |
| public Date getRecordStart() { |
| return recordStart; |
| } |
| |
| public void setRecordStart(Date recordStart) { |
| this.recordStart = recordStart; |
| } |
| |
| public Date getRecordEnd() { |
| return recordEnd; |
| } |
| |
| public void setRecordEnd(Date recordEnd) { |
| this.recordEnd = recordEnd; |
| } |
| |
| public Long getInsertedBy() { |
| return insertedBy; |
| } |
| |
| public void setInsertedBy(Long insertedBy) { |
| this.insertedBy = insertedBy; |
| } |
| |
| public Date getInserted() { |
| return inserted; |
| } |
| |
| public void setInserted(Date inserted) { |
| this.inserted = inserted; |
| } |
| |
| public Date getUpdated() { |
| return updated; |
| } |
| |
| public void setUpdated(Date updated) { |
| this.updated = updated; |
| } |
| |
| public boolean getDeleted() { |
| return deleted; |
| } |
| |
| public void setDeleted(boolean deleted) { |
| this.deleted = deleted; |
| } |
| |
| public Integer getWidth() { |
| return width; |
| } |
| |
| public void setWidth(Integer width) { |
| this.width = width; |
| } |
| |
| public Integer getHeight() { |
| return height; |
| } |
| |
| public void setHeight(Integer height) { |
| this.height = height; |
| } |
| |
| public Integer getFlvWidth() { |
| return flvWidth; |
| } |
| |
| public void setFlvWidth(Integer flvWidth) { |
| this.flvWidth = flvWidth; |
| } |
| |
| public Integer getFlvHeight() { |
| return flvHeight; |
| } |
| |
| public void setFlvHeight(Integer flvHeight) { |
| this.flvHeight = flvHeight; |
| } |
| |
| public String getPreviewImage() { |
| return previewImage; |
| } |
| |
| public void setPreviewImage(String previewImage) { |
| this.previewImage = previewImage; |
| } |
| |
| public Long getFileSize() { |
| return fileSize; |
| } |
| |
| public void setFileSize(Long fileSize) { |
| this.fileSize = fileSize; |
| } |
| |
| public String getRecorderStreamId() { |
| return recorderStreamId; |
| } |
| |
| public void setRecorderStreamId(String recorderStreamId) { |
| this.recorderStreamId = recorderStreamId; |
| } |
| |
| public Long getOrganization_id() { |
| return organization_id; |
| } |
| |
| public void setOrganization_id(Long organizationId) { |
| organization_id = organizationId; |
| } |
| |
| public Boolean getIsInterview() { |
| return isInterview; |
| } |
| |
| public void setIsInterview(Boolean isInterview) { |
| this.isInterview = isInterview; |
| } |
| |
| public Integer getProgressPostProcessing() { |
| return progressPostProcessing; |
| } |
| |
| public void setProgressPostProcessing(Integer progressPostProcessing) { |
| this.progressPostProcessing = progressPostProcessing; |
| } |
| |
| |
| |
| |
| |
| } |