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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FileItemDTO()FileItemDTO(FileItem f)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FileItemget()StringgetExternalId()StringgetExternalType()LonggetGroupId()StringgetHash()IntegergetHeight()LonggetId()StringgetName()LonggetOwnerId()LonggetParentId()LonggetRoomId()LonggetSize()BaseFileItem.TypegetType()IntegergetWidth()static List<FileItemDTO>list(List<FileItem> l)FileItemDTOsetExternalId(String externalId)FileItemDTOsetExternalType(String externalType)voidsetGroupId(Long groupId)FileItemDTOsetHash(String hash)voidsetHeight(Integer height)voidsetId(Long id)FileItemDTOsetName(String name)voidsetOwnerId(Long ownerId)voidsetParentId(Long parentId)voidsetRoomId(Long roomId)voidsetSize(Long size)FileItemDTOsetType(BaseFileItem.Type type)voidsetWidth(Integer width)
-
-
-
Constructor Detail
-
FileItemDTO
public FileItemDTO()
-
FileItemDTO
public FileItemDTO(FileItem f)
-
-
Method Detail
-
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)
-
-