public class Topic extends Object
Topic class.
$LastChangedBy$ $LastChangedDate$
| Modifier and Type | Field and Description |
|---|---|
static int |
EMERGENCY
Constant
EMERGENCY=4 |
static int |
PULLED
Constant
PULLED=3 |
static int |
PUSHED_FORCED
Constant
PUSHED_FORCED=1 |
static int |
PUSHED_INITIAL
Constant
PUSHED_INITIAL=2 |
| Constructor and Description |
|---|
Topic()
Constructor for Topic.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Set<String> |
getAdmins()
Getter for the field
admins. |
Set<Announcement> |
getAnnouncements()
Returns a list of all announcements in this topic, regardless of status.
|
Set<String> |
getAudience()
Getter for the field
audience. |
Set<String> |
getAuthors()
Getter for the field
authors. |
String |
getCreator()
Getter for the field
creator. |
String |
getDescription()
Getter for the field
description. |
int |
getDisplayingAnnouncementCount()
Get the current number of displaying announcements
|
Set<String> |
getGroup(String key)
getGroup.
|
Set<Announcement> |
getHistoricAnnouncements()
Returns a list of all historic announcements in this topic.
|
Long |
getId()
Getter for the field
id. |
Set<String> |
getModerators()
Getter for the field
moderators. |
Set<Announcement> |
getNonHistoricAnnouncements()
Returns a list of all historic announcements in this topic.
|
int |
getPendingAnnouncementCount()
Get the current number of pending announcements
|
Set<Announcement> |
getPendingAnnouncements()
getPendingAnnouncements.
|
Set<Announcement> |
getPublishedAnnouncements()
Returns a list of all published announcements in this topic.
|
int |
getScheduledAnnouncementCount()
Get the current number of approved & scheduled announcements
|
int |
getSubscriptionMethod()
Getter for the field
subscriptionMethod. |
Set<TopicSubscription> |
getSubscriptions()
Getter for the field
subscriptions. |
String |
getTitle()
Getter for the field
title. |
int |
hashCode() |
boolean |
hasId()
hasId.
|
boolean |
isAllowRss()
isAllowRss.
|
void |
setAdmins(Set<String> admins)
Setter for the field
admins. |
void |
setAllowRss(boolean allowRss)
Setter for the field
allowRss. |
void |
setAnnouncements(Set<Announcement> announcements)
Setter for the field
announcements. |
void |
setAudience(Set<String> audience)
Setter for the field
audience. |
void |
setAuthors(Set<String> authors)
Setter for the field
authors. |
void |
setCreator(String creator)
Setter for the field
creator. |
void |
setDescription(String description)
Setter for the field
description. |
void |
setGroup(String key,
Set<String> members)
setGroup.
|
void |
setId(Long id)
Setter for the field
id. |
void |
setModerators(Set<String> moderators)
Setter for the field
moderators. |
void |
setSubscriptionMethod(int subscriptionMethod)
Setter for the field
subscriptionMethod. |
void |
setSubscriptions(Set<TopicSubscription> subscriptions)
Setter for the field
subscriptions. |
void |
setTitle(String title)
Setter for the field
title. |
String |
toString() |
public static final int PUSHED_FORCED
PUSHED_FORCED=1public static final int PUSHED_INITIAL
PUSHED_INITIAL=2public static final int PULLED
PULLED=3public static final int EMERGENCY
EMERGENCY=4public boolean hasId()
hasId.
public Set<String> getModerators()
Getter for the field moderators.
Set object.public String getDescription()
Getter for the field description.
String object.public boolean isAllowRss()
isAllowRss.
public void setModerators(Set<String> moderators)
Setter for the field moderators.
moderators - a Set object.public void setCreator(String creator)
Setter for the field creator.
creator - a String object.public void setTitle(String title)
Setter for the field title.
title - a String object.public void setDescription(String description)
Setter for the field description.
description - a String object.public void setAllowRss(boolean allowRss)
Setter for the field allowRss.
allowRss - a boolean.public Set<TopicSubscription> getSubscriptions()
Getter for the field subscriptions.
Set object.public void setSubscriptions(Set<TopicSubscription> subscriptions)
Setter for the field subscriptions.
subscriptions - a Set object.public Set<Announcement> getAnnouncements()
public Set<Announcement> getPublishedAnnouncements()
public Set<Announcement> getNonHistoricAnnouncements()
public Set<Announcement> getHistoricAnnouncements()
public int getDisplayingAnnouncementCount()
public int getScheduledAnnouncementCount()
public Set<Announcement> getPendingAnnouncements()
getPendingAnnouncements.
Set object.public int getPendingAnnouncementCount()
public void setAnnouncements(Set<Announcement> announcements)
Setter for the field announcements.
announcements - a Set object.public void setAuthors(Set<String> authors)
Setter for the field authors.
authors - a Set object.public void setAdmins(Set<String> admins)
Setter for the field admins.
admins - a Set object.public void setAudience(Set<String> audience)
Setter for the field audience.
audience - a Set object.public int getSubscriptionMethod()
Getter for the field subscriptionMethod.
public void setSubscriptionMethod(int subscriptionMethod)
Setter for the field subscriptionMethod.
subscriptionMethod - a int.Copyright © 2023 Jasig, Inc.. All rights reserved.