Class Newsletter
java.lang.Object
org.deltava.beans.fleet.LibraryEntry
org.deltava.beans.fleet.Newsletter
- All Implemented Interfaces:
Serializable, Cloneable, Comparable<LibraryEntry>, Auditable, ViewEntry, Cacheable
A bean to store Newsletter information.
- Since:
- 1.0
- Version:
- 7.0
- Author:
- Luke
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the newsletter category.getDate()Returns the date this newsletter was published.voidsetCategory(String ct) Updates the newsletter category.voidUpdates the date the newsletter was published.Methods inherited from class LibraryEntry
cacheKey, compareTo, file, getAuditID, getDescription, getDownloadCount, getFileName, getFullName, getName, getOwner, getRowClassName, getSecurity, getSize, hashCode, setDescription, setDownloadCount, setName, setOwner, setSecurity, setSize, toStringModifier and TypeMethodDescriptionfinal ObjectcacheKey()Returns the cache key for this object.intfile()Returns the underlying filesystem entry.Returns the object ID for this auditable object.Returns a description of this resource.intReturns the number of times this resource has been downloaded.Returns the filename of the resource, without paths.Gets the full pathname of the resource on the local filesystem.final StringgetName()Returns the name of the resource.getOwner()Returns the owning Virtual Airline.Returns the CSS class for this object if rendered in a view table.Returns this resource's security level.longgetSize()Returns the size of the resource.inthashCode()voidsetDescription(String desc) Updates the description of this resource.voidsetDownloadCount(int count) Updates the number of times this resource has been downloaded.voidUpdates the name of this resource.voidUpdates the owning Virtual Airline.voidsetSecurity(Security level) Updates this resource's security level.voidsetSize(long size) Updates the size of this resource.toString()Methods inherited from class Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface Auditable
getAuditType, isCrossAppModifier and TypeMethodDescriptiondefault StringReturns the audit type for this auditable object.default booleanReturns whether this object is within multiple web applications.
-
Constructor Details
-
Newsletter
-
-
Method Details
-
getDate
Returns the date this newsletter was published.- Returns:
- the publishing date
- See Also:
-
getCategory
-
setDate
Updates the date the newsletter was published.- Parameters:
dt- the publish date/time- See Also:
-
setCategory
Updates the newsletter category.- Parameters:
ct- the category- See Also:
-