|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portlet.announcements.model.Topic
public class Topic
| Field Summary | |
|---|---|
static int |
EMERGENCY
|
static int |
PULLED
|
static int |
PUSHED_FORCED
|
static int |
PUSHED_INITIAL
|
| Constructor Summary | |
|---|---|
Topic()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
Set<String> |
getAdmins()
|
Set<Announcement> |
getAnnouncements()
Returns a list of all announcements in this topic, regardless of status. |
Set<String> |
getAudience()
|
Set<String> |
getAuthors()
|
String |
getCreator()
|
String |
getDescription()
|
int |
getDisplayingAnnouncementCount()
Get the current number of displaying announcements |
Set<String> |
getGroup(String key)
|
Long |
getId()
|
Set<String> |
getModerators()
|
int |
getPendingAnnouncementCount()
Get the current number of pending announcements |
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()
|
String |
getTitle()
|
boolean |
hasId()
|
boolean |
isAllowRss()
|
void |
setAdmins(Set<String> admins)
|
void |
setAllowRss(boolean allowRss)
|
void |
setAnnouncements(Set<Announcement> announcements)
|
void |
setAudience(Set<String> audience)
|
void |
setAuthors(Set<String> authors)
|
void |
setCreator(String creator)
|
void |
setDescription(String description)
|
void |
setGroup(String key,
Set<String> members)
|
void |
setId(Long id)
|
void |
setModerators(Set<String> moderators)
|
void |
setSubscriptionMethod(int subscriptionMethod)
|
void |
setTitle(String title)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int PUSHED_FORCED
public static final int PUSHED_INITIAL
public static final int PULLED
public static final int EMERGENCY
| Constructor Detail |
|---|
public Topic()
| Method Detail |
|---|
public Set<String> getGroup(String key)
public void setGroup(String key,
Set<String> members)
public boolean hasId()
public Set<String> getModerators()
public String getCreator()
public String getTitle()
public String getDescription()
public boolean isAllowRss()
public void setModerators(Set<String> moderators)
moderators - the moderators to setpublic void setCreator(String creator)
creator - the creator to setpublic void setTitle(String title)
title - the title to setpublic void setDescription(String description)
description - the description to setpublic void setAllowRss(boolean allowRss)
allowRss - the allowRss to setpublic Set<Announcement> getAnnouncements()
public Set<Announcement> getPublishedAnnouncements()
public int getDisplayingAnnouncementCount()
public int getScheduledAnnouncementCount()
public int getPendingAnnouncementCount()
public Long getId()
public void setAnnouncements(Set<Announcement> announcements)
announcements - the announcements to setpublic void setId(Long id)
id - the id to setpublic Set<String> getAuthors()
public void setAuthors(Set<String> authors)
authors - the authors to setpublic Set<String> getAdmins()
public Set<String> getAudience()
public void setAdmins(Set<String> admins)
admins - the admins to setpublic void setAudience(Set<String> audience)
audience - the audience to setpublic int getSubscriptionMethod()
public void setSubscriptionMethod(int subscriptionMethod)
subscriptionMethod - the subscriptionMethod to setpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||