|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectblackboard.ws.announcement.AnnouncementVO
public class AnnouncementVO
AnnouncementVO represents the Announcement data object in the Academic Suite.
| Constructor Summary | |
|---|---|
AnnouncementVO()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getBody()
|
java.lang.String |
getCourseId()
|
java.lang.String |
getCreatorUserId()
|
java.lang.String[] |
getExpansionData()
|
java.lang.String |
getId()
|
int |
getPosition()
|
long |
getRestrictionEndDate()
|
long |
getRestrictionStartDate()
|
java.lang.String |
getTitle()
|
java.lang.String |
getTitleColor()
|
java.lang.String |
getType()
|
boolean |
isPermanent()
|
boolean |
isPushNotify()
|
boolean |
isShowOnCourses()
|
boolean |
isShowOnLogin()
|
void |
setBody(java.lang.String body)
The body must be properly formatted HTML content. |
void |
setCourseId(java.lang.String courseId)
Use this method for Course and Organization announcements only. |
void |
setCreatorUserId(java.lang.String creatorUserId)
This is a read-only field. userId in session will override the value set by this method and be used as creatorUserId in case of login via user Authentication For tool based login, the specified value is used, but ONLY if the tool has also registered that it will be calling the ContextWS.emulateUser method. |
void |
setExpansionData(java.lang.String[] expansionData)
Expansion data is currently ignored. |
void |
setId(java.lang.String id)
Valid id must be provided for update. |
void |
setPermanent(boolean isPermanent)
Determines if an announcement should always be displayed with no date restriction |
void |
setPosition(int position)
Min. value of position is 1. |
void |
setPushNotify(boolean pushNotify)
Determines if an email should be sent to all users even those that choose not to receive Announcement notifications through email. |
void |
setRestrictionEndDate(long endDate)
The date on which an available announcement should become unavailable and stop being displayed. |
void |
setRestrictionStartDate(long startDate)
The date in which an announcement should become available and start to be displayed. |
void |
setShowOnCourses(boolean showOnCourses)
Determines if system announcement should also appear on course/org announcement page |
void |
setShowOnLogin(boolean showOnLogin)
Determines if an announcement appears on log in page |
void |
setTitle(java.lang.String title)
The title will be displayed as the heading of an announcement |
void |
setTitleColor(java.lang.String titleColor)
Sets the color of announcement title. |
void |
setType(java.lang.String type)
This is a read-only field. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnnouncementVO()
| Method Detail |
|---|
public java.lang.String getCourseId()
public void setCourseId(java.lang.String courseId)
courseId - The id of the course/organization an announcement belongs to. The course id should be in the form "nnn_1_" where nnn is an integer.public java.lang.String getCreatorUserId()
public void setCreatorUserId(java.lang.String creatorUserId)
creatorUserId - the announcement creator's idpublic java.lang.String getTitle()
public void setTitle(java.lang.String title)
title - the title of an announcementpublic java.lang.String getBody()
public void setBody(java.lang.String body)
body - the body content of an announcementpublic long getRestrictionStartDate()
public void setRestrictionStartDate(long startDate)
startDate - the date on which an announcement becomes availablepublic long getRestrictionEndDate()
public void setRestrictionEndDate(long endDate)
endDate - the date on which an announcement becomes unavailablepublic boolean isPermanent()
public void setPermanent(boolean isPermanent)
isPermanent - if an announcement has no date restrictionpublic java.lang.String getType()
public void setType(java.lang.String type)
type - the type of an announcement - COURSE or SYSTEMpublic boolean isShowOnLogin()
public void setShowOnLogin(boolean showOnLogin)
showOnLogin - if an announcement should appear on log in pagepublic boolean isShowOnCourses()
public void setShowOnCourses(boolean showOnCourses)
public boolean isPushNotify()
public void setPushNotify(boolean pushNotify)
pushNotify - if an email should be sent to all userspublic int getPosition()
public void setPosition(int position)
position - the order of an announcement in the announcement listpublic java.lang.String getTitleColor()
public void setTitleColor(java.lang.String titleColor)
titleColor - a String containing the title color for an announcement. The color value should by a RGB
color value as used in HTML pages (#RRGGBB -- for example, #000000 will display black).public java.lang.String getId()
public void setId(java.lang.String id)
id - the id of an announcementpublic java.lang.String[] getExpansionData()
public void setExpansionData(java.lang.String[] expansionData)
expansionData - the expansionData to set (For Future Use)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||