announcement¶
Represents an announcement, a mutable message-like object, with an author and a date
-
class
AnnouncementCollection
()¶ Annoucements collection
- Extends
app.models.base.BaseCollection()
-
class
AnnouncementModel
()¶ Annoucement model Frontend model for
assembl.models.announcement.Announcement
- Extends
app.models.base.BaseModel()
-
AnnouncementModel.
getCreatorPromise
()¶ Returns a promise for the post’s creator
- Return type
Promise
-
AnnouncementModel.
initialize
()¶ Returns an error message if the model format is invalid with th associated id
- Return type
String
-
AnnouncementModel.
parse
()¶ Returns the attributes hash to be set on the model
-
AnnouncementModel.
validate
()¶ Returns an error message if one of those attributes (idObjectAttachedTo, last_updated_by, creator) is missing
- Return type
String