Class Channel.AllChannel
java.lang.Object
org.deltava.beans.cooler.Channel
org.deltava.beans.cooler.Channel.AllChannel
- All Implemented Interfaces:
Serializable, Cloneable, Comparable<Channel>, Auditable, ComboAlias, ViewEntry, Cacheable
- Enclosing class:
Channel
- Since:
- 1.0
- Version:
- 11.0
- Author:
- Luke
-
Nested Class Summary
Nested classes/interfaces inherited from class Channel
Channel.AllChannel, Channel.InfoTypeModifier and TypeClassDescription(package private) static classstatic enumSubdata enumeration. -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal intReturns the alias to use in the HTML <OPTION> element.Returns the visible name to use in the HTML <OPTION> element.final Collection<String> Returns the roles notified when a new post is created in this Channel.final Collection<String> Returns the roles authorized to access this Channel.final Collection<String> Returns the roles authorized to post in this Channel.Methods inherited from class Channel
addAirline, addRole, cacheKey, equals, getActive, getAirlines, getAllowNewPosts, getAuditID, getDescription, getLastSubject, getLastThreadID, getName, getPostCount, getRowClassName, getThreadCount, getViewCount, hasAirline, hashCode, setActive, setAirlines, setAllowNewPosts, setDescription, setLastSubject, setLastThreadID, setPostCount, setRoles, setThreadCount, setViewCount, toStringModifier and TypeMethodDescriptionvoidaddAirline(String aCode) Add an Airline to the list of enabled airlines.voidaddRole(Channel.InfoType type, String roleName) Add a security role to this Channel.cacheKey()Returns the cache key for this object.booleanCompares the channel to another object.booleanQueries if the Channel is active.Returns the airlines associated with this Channel.booleanQueries if new Threads or Replies are allowed.Returns the object ID for this auditable object.Returns the Channel description.Returns the title of the latest post in this Channel.intReturns ID of the last Message Thread in this Channel.getName()Returns the Channel name.intReturns the number of posts in this Channel.Returns the CSS class for this object if rendered in a view table.intReturns the total number of message threads in this Channel.intReturns the total number of thread views for Threads in this Channel.booleanhasAirline(String aCode) Queries if the Channel supports a particular airline.inthashCode()voidsetActive(boolean active) Set the channel active/inactive.voidsetAirlines(Collection<String> aCodes) Updates the enabled airlines.voidsetAllowNewPosts(boolean allow) Updates whether new Threads or Replies are allowed.voidsetDescription(String desc) Update the Channel description.voidsetLastSubject(String subj) Updates the last subject posted to in this Channel.voidsetLastThreadID(int id) Updates the ID of the last Message Thread in this Channel.voidsetPostCount(int count) Updates the number of posts in this Channel.voidsetRoles(Channel.InfoType type, Collection<String> roles) Updates the security roles for this Channel.voidsetThreadCount(int count) Updates the number of Message Threads in this Channel.voidsetViewCount(int count) Updates the number of times all Threads in this Channel have been viewed.toString()Methods 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
-
AllChannel
-
-
Method Details
-
getComboName
Description copied from interface:ComboAliasReturns the visible name to use in the HTML <OPTION> element.- Specified by:
getComboNamein interfaceComboAlias- Overrides:
getComboNamein classChannel- Returns:
- The visible name for this entry
-
getComboAlias
Description copied from interface:ComboAliasReturns the alias to use in the HTML <OPTION> element.- Specified by:
getComboAliasin interfaceComboAlias- Overrides:
getComboAliasin classChannel- Returns:
- The alias for this entry
-
getReadRoles
Description copied from class:ChannelReturns the roles authorized to access this Channel.- Overrides:
getReadRolesin classChannel- Returns:
- a Collection of roles authorized to view this Channel
- See Also:
-
getWriteRoles
Description copied from class:ChannelReturns the roles authorized to post in this Channel.- Overrides:
getWriteRolesin classChannel- Returns:
- a Collection of roles authorized to view this Channel
- See Also:
-
getNotifyRoles
Description copied from class:ChannelReturns the roles notified when a new post is created in this Channel.- Overrides:
getNotifyRolesin classChannel- Returns:
- a Collection of roles
- See Also:
-
compareTo
-