Class FileEntry
java.lang.Object
org.deltava.beans.fleet.LibraryEntry
org.deltava.beans.fleet.FileEntry
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<LibraryEntry>,Auditable,AuthoredBean,ViewEntry,Cacheable
- Direct Known Subclasses:
Video
A bean to store information about File Library entries.
- Since:
- 1.0
- Version:
- 6.0
- Author:
- Luke
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the ID of the contributor.Returns the file category.voidsetAuthorID(int id) Updates the ID of the contributor.voidsetCategory(String ct) Updates the file category.Methods inherited from class org.deltava.beans.fleet.LibraryEntry
cacheKey, compareTo, file, getAuditID, getDescription, getDownloadCount, getFileName, getFullName, getName, getOwner, getRowClassName, getSecurity, getSize, hashCode, setDescription, setDownloadCount, setName, setOwner, setSecurity, setSize, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.deltava.beans.Auditable
getAuditType, isCrossApp
-
Constructor Details
-
FileEntry
-
-
Method Details
-
getAuthorID
public int getAuthorID()Returns the ID of the contributor.- Specified by:
getAuthorIDin interfaceAuthoredBean- Returns:
- the contributor's database ID
- See Also:
-
getCategory
-
setAuthorID
public void setAuthorID(int id) Updates the ID of the contributor.- Specified by:
setAuthorIDin interfaceAuthoredBean- Parameters:
id- the contributor's database ID- Throws:
IllegalArgumentException- if id is zero or negative- See Also:
-
setCategory
Updates the file category.- Parameters:
ct- the category- See Also:
-