Class BaseFileItem

java.lang.Object
org.apache.openmeetings.db.entity.HistoricalEntity
org.apache.openmeetings.db.entity.file.BaseFileItem
All Implemented Interfaces:
Serializable, IDataProviderEntity
Direct Known Subclasses:
FileItem, Recording

@Entity public abstract class BaseFileItem extends HistoricalEntity
See Also:
  • Constructor Details

    • BaseFileItem

      public BaseFileItem()
  • Method Details

    • getId

      public Long getId()
    • setId

      public void setId(Long id)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getHash

      public String getHash()
    • setHash

      public void setHash(String hash)
    • getParentId

      public Long getParentId()
    • setParentId

      public void setParentId(Long parentId)
    • getRoomId

      public Long getRoomId()
    • setRoomId

      public void setRoomId(Long roomId)
    • getOwnerId

      public Long getOwnerId()
    • setOwnerId

      public void setOwnerId(Long ownerId)
    • getInsertedBy

      public Long getInsertedBy()
    • setInsertedBy

      public void setInsertedBy(Long insertedBy)
    • getWidth

      public Integer getWidth()
    • setWidth

      public void setWidth(Integer width)
    • getHeight

      public Integer getHeight()
    • setHeight

      public void setHeight(Integer height)
    • getType

      public BaseFileItem.Type getType()
    • setType

      public void setType(BaseFileItem.Type type)
    • getLog

      public List<FileItemLog> getLog()
    • setLog

      public void setLog(List<FileItemLog> log)
    • getFileName

      public String getFileName(String ext)
    • getFile

      public File getFile()
    • getGroupId

      public Long getGroupId()
    • setGroupId

      public void setGroupId(Long groupId)
    • getCount

      public int getCount()
    • setCount

      public void setCount(int count)
    • isReadOnly

      public boolean isReadOnly()
    • setReadOnly

      public void setReadOnly(boolean readOnly)
    • getExternalType

      public String getExternalType()
    • setExternalType

      public void setExternalType(String externalType)
    • getFile

      public final File getFile(String ext)
    • getOriginal

      public final File getOriginal()
    • exists

      public final boolean exists()
    • exists

      public final boolean exists(String ext)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object