Class FileItemDTO

java.lang.Object
org.apache.openmeetings.db.dto.file.FileItemDTO
All Implemented Interfaces:
Serializable

public class FileItemDTO extends Object implements Serializable
This Object will represent a File on the File-System
Author:
sebastianwagner
See Also:
  • Constructor Details

    • FileItemDTO

      public FileItemDTO()
    • FileItemDTO

      public FileItemDTO(FileItem f)
  • Method Details

    • get

      public FileItem get()
    • getId

      public Long getId()
    • setId

      public void setId(Long id)
    • getName

      public String getName()
    • setName

      public FileItemDTO setName(String name)
    • getHash

      public String getHash()
    • setHash

      public FileItemDTO setHash(String hash)
    • getParentId

      public Long getParentId()
    • setParentId

      public void setParentId(Long parentId)
    • getRoomId

      public Long getRoomId()
    • setRoomId

      public void setRoomId(Long roomId)
    • getGroupId

      public Long getGroupId()
    • setGroupId

      public void setGroupId(Long groupId)
    • getOwnerId

      public Long getOwnerId()
    • setOwnerId

      public void setOwnerId(Long ownerId)
    • getSize

      public Long getSize()
    • setSize

      public void setSize(Long size)
    • getExternalId

      public String getExternalId()
    • setExternalId

      public FileItemDTO setExternalId(String externalId)
    • getExternalType

      public String getExternalType()
    • setExternalType

      public FileItemDTO setExternalType(String externalType)
    • getType

      public BaseFileItem.Type getType()
    • setType

      public FileItemDTO setType(BaseFileItem.Type type)
    • getWidth

      public Integer getWidth()
    • setWidth

      public void setWidth(Integer width)
    • getHeight

      public Integer getHeight()
    • setHeight

      public void setHeight(Integer height)
    • list

      public static List<FileItemDTO> list(List<FileItem> l)