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 TypeMethodDescriptionint
Returns the ID of the contributor.Returns the file category.void
setAuthorID
(int id) Updates the ID of the contributor.void
setCategory
(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, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:
getAuthorID
in interfaceAuthoredBean
- Returns:
- the contributor's database ID
- See Also:
-
getCategory
-
setAuthorID
public void setAuthorID(int id) Updates the ID of the contributor.- Specified by:
setAuthorID
in 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:
-