|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContentDecorator
Interface implemented by content decorators. Decorators are created on a per blog basis, meaning that multiple threads can be operating on an instance at any one time.
Method Summary | |
---|---|
void |
decorate(ContentDecoratorContext context,
BlogEntry blogEntry)
Decorates the specified blog entry. |
void |
decorate(ContentDecoratorContext context,
Comment comment)
Decorates the specified comment. |
void |
decorate(ContentDecoratorContext context,
StaticPage staticPage)
Decorates the specified static page. |
void |
decorate(ContentDecoratorContext context,
TrackBack trackBack)
Decorates the specified TrackBack. |
Blog |
getBlog()
Gets the blog to which this decorator is associated. |
void |
setBlog(Blog blog)
Sets the blog to which this decorator is associated. |
Method Detail |
---|
void decorate(ContentDecoratorContext context, BlogEntry blogEntry)
context
- the context in which the decoration is runningblogEntry
- the blog entry to be decoratedvoid decorate(ContentDecoratorContext context, Comment comment)
context
- the context in which the decoration is runningcomment
- the comment to be decoratedvoid decorate(ContentDecoratorContext context, TrackBack trackBack)
context
- the context in which the decoration is runningtrackBack
- the TrackBack to be decoratedvoid decorate(ContentDecoratorContext context, StaticPage staticPage)
context
- the context in which the decoration is runningstaticPage
- the static page to be decoratedBlog getBlog()
void setBlog(Blog blog)
blog
- a Blog instance
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |