public interface PostReceiver extends OsidReceiver
The post receiver is the consumer supplied interface for receiving notifications pertaining to new, updated or deleted post objects.
Modifier and Type | Method and Description |
---|---|
void |
changedPost(Id postId)
The callback for notification of updated posts.
|
void |
deletedPost(Id postId)
The callback for notification of deleted posts.
|
void |
newPost(Id postId)
The callback for notifications of new posts.
|
down, up
void newPost(Id postId)
postId
- the Id
of the new Post
mandatory
- This method must be implemented. void changedPost(Id postId)
postId
- the Id
of the updated Post
mandatory
- This method must be implemented. void deletedPost(Id postId)
postId
- the Id
of the deleted Post
mandatory
- This method must be implemented.