|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.pebble.decorator.ContentDecoratorSupport
net.sourceforge.pebble.decorator.HideUnapprovedResponsesDecorator
public class HideUnapprovedResponsesDecorator
Hides unapproved responses (comments and TrackBacks) if the current user is not a blog contributor.
Constructor Summary | |
---|---|
HideUnapprovedResponsesDecorator()
|
Method Summary | |
---|---|
void |
decorate(ContentDecoratorContext context,
BlogEntry blogEntry)
Decorates the specified blog entry. |
Methods inherited from class net.sourceforge.pebble.decorator.ContentDecoratorSupport |
---|
decorate, decorate, decorate, getBlog, setBlog |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HideUnapprovedResponsesDecorator()
Method Detail |
---|
public void decorate(ContentDecoratorContext context, BlogEntry blogEntry)
decorate
in interface ContentDecorator
decorate
in class ContentDecoratorSupport
context
- the context in which the decoration is runningblogEntry
- the blog entry to be decorated
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |