//# 0 errors, 41 messages
//#
package net.sourceforge.pebble.decorator;
    //#disabletrackbacksdecorator.java:1:1: class: net.sourceforge.pebble.decorator.DisableTrackBacksDecorator
    //#disabletrackbacksdecorator.java:1:1: method: net.sourceforge.pebble.decorator.DisableTrackBacksDecorator.net.sourceforge.pebble.decorator.DisableTrackBacksDecorator__static_init

import net.sourceforge.pebble.domain.BlogEntry;
import net.sourceforge.pebble.api.decorator.ContentDecoratorContext;

/**
 * Disables TrackBacks for the blog entry.
 * 
 * @author Simon Brown
 */
public class DisableTrackBacksDecorator extends ContentDecoratorSupport {
    //#disabletrackbacksdecorator.java:11: method: void net.sourceforge.pebble.decorator.DisableTrackBacksDecorator.net.sourceforge.pebble.decorator.DisableTrackBacksDecorator()
    //#input(void net.sourceforge.pebble.decorator.DisableTrackBacksDecorator()): this
    //#disabletrackbacksdecorator.java:11: end of method: void net.sourceforge.pebble.decorator.DisableTrackBacksDecorator.net.sourceforge.pebble.decorator.DisableTrackBacksDecorator()

  /**
   * Decorates the specified blog entry.
   *
   * @param context   the context in which the decoration is running
   * @param blogEntry the blog entry to be decorated
   */
  public void decorate(ContentDecoratorContext context, BlogEntry blogEntry) {
    blogEntry.setTrackBacksEnabled(false);
    //#disabletrackbacksdecorator.java:20: method: void net.sourceforge.pebble.decorator.DisableTrackBacksDecorator.decorate(ContentDecoratorContext, BlogEntry)
    //#input(void decorate(ContentDecoratorContext, BlogEntry)): blogEntry
    //#input(void decorate(ContentDecoratorContext, BlogEntry)): blogEntry.__Tag
    //#input(void decorate(ContentDecoratorContext, BlogEntry)): blogEntry.propertyChangeSupport
    //#input(void decorate(ContentDecoratorContext, BlogEntry)): blogEntry.trackBacksEnabled
    //#input(void decorate(ContentDecoratorContext, BlogEntry)): net/sourceforge/pebble/domain/BlogEntry.__Descendant_Table[net/sourceforge/pebble/domain/BlogEntry]
    //#input(void decorate(ContentDecoratorContext, BlogEntry)): net/sourceforge/pebble/domain/BlogEntry.__Descendant_Table[others]
    //#input(void decorate(ContentDecoratorContext, BlogEntry)): net/sourceforge/pebble/domain/BlogEntry.__Dispatch_Table.setTrackBacksEnabled(Z)V
    //#output(void decorate(ContentDecoratorContext, BlogEntry)): blogEntry.trackBacksEnabled
    //#pre[1] (void decorate(ContentDecoratorContext, BlogEntry)): blogEntry != null
    //#pre[2] (void decorate(ContentDecoratorContext, BlogEntry)): blogEntry.__Tag == net/sourceforge/pebble/domain/BlogEntry
    //#pre[3] (void decorate(ContentDecoratorContext, BlogEntry)): blogEntry.propertyChangeSupport != null
    //#pre[4] (void decorate(ContentDecoratorContext, BlogEntry)): init'ed(blogEntry.trackBacksEnabled)
    //#post(void decorate(ContentDecoratorContext, BlogEntry)): blogEntry.trackBacksEnabled == 0
    //#unanalyzed(void decorate(ContentDecoratorContext, BlogEntry)): Effects-of-calling:java.beans.PropertyChangeSupport:firePropertyChange
  }
    //#disabletrackbacksdecorator.java:21: end of method: void net.sourceforge.pebble.decorator.DisableTrackBacksDecorator.decorate(ContentDecoratorContext, BlogEntry)

}
    //#output(net.sourceforge.pebble.decorator.DisableTrackBacksDecorator__static_init): __Descendant_Table[net/sourceforge/pebble/decorator/DisableTrackBacksDecorator]
    //#output(net.sourceforge.pebble.decorator.DisableTrackBacksDecorator__static_init): __Dispatch_Table.decorate(Lnet/sourceforge/pebble/api/decorator/ContentDecoratorContext;Lnet/sourceforge/pebble/domain/BlogEntry;)V
    //#output(net.sourceforge.pebble.decorator.DisableTrackBacksDecorator__static_init): __Dispatch_Table.decorate(Lnet/sourceforge/pebble/api/decorator/ContentDecoratorContext;Lnet/sourceforge/pebble/domain/Comment;)V
    //#output(net.sourceforge.pebble.decorator.DisableTrackBacksDecorator__static_init): __Dispatch_Table.decorate(Lnet/sourceforge/pebble/api/decorator/ContentDecoratorContext;Lnet/sourceforge/pebble/domain/StaticPage;)V
    //#output(net.sourceforge.pebble.decorator.DisableTrackBacksDecorator__static_init): __Dispatch_Table.decorate(Lnet/sourceforge/pebble/api/decorator/ContentDecoratorContext;Lnet/sourceforge/pebble/domain/TrackBack;)V
    //#output(net.sourceforge.pebble.decorator.DisableTrackBacksDecorator__static_init): __Dispatch_Table.getBlog()Lnet/sourceforge/pebble/domain/Blog;
    //#output(net.sourceforge.pebble.decorator.DisableTrackBacksDecorator__static_init): __Dispatch_Table.setBlog(Lnet/sourceforge/pebble/domain/Blog;)V
    //#output(net.sourceforge.pebble.decorator.DisableTrackBacksDecorator__static_init): net/sourceforge/pebble/api/decorator/ContentDecorator.__Descendant_Table[net/sourceforge/pebble/decorator/DisableTrackBacksDecorator]
    //#output(net.sourceforge.pebble.decorator.DisableTrackBacksDecorator__static_init): net/sourceforge/pebble/decorator/ContentDecoratorSupport.__Descendant_Table[net/sourceforge/pebble/decorator/DisableTrackBacksDecorator]
    //#post(net.sourceforge.pebble.decorator.DisableTrackBacksDecorator__static_init): __Descendant_Table[net/sourceforge/pebble/decorator/DisableTrackBacksDecorator] == &__Dispatch_Table
    //#post(net.sourceforge.pebble.decorator.DisableTrackBacksDecorator__static_init): net/sourceforge/pebble/api/decorator/ContentDecorator.__Descendant_Table[net/sourceforge/pebble/decorator/DisableTrackBacksDecorator] == &__Dispatch_Table
    //#post(net.sourceforge.pebble.decorator.DisableTrackBacksDecorator__static_init): net/sourceforge/pebble/decorator/ContentDecoratorSupport.__Descendant_Table[net/sourceforge/pebble/decorator/DisableTrackBacksDecorator] == &__Dispatch_Table
    //#post(net.sourceforge.pebble.decorator.DisableTrackBacksDecorator__static_init): __Dispatch_Table.decorate(Lnet/sourceforge/pebble/api/decorator/ContentDecoratorContext;Lnet/sourceforge/pebble/domain/BlogEntry;)V == &decorate
    //#post(net.sourceforge.pebble.decorator.DisableTrackBacksDecorator__static_init): __Dispatch_Table.decorate(Lnet/sourceforge/pebble/api/decorator/ContentDecoratorContext;Lnet/sourceforge/pebble/domain/Comment;)V == &net/sourceforge/pebble/decorator/ContentDecoratorSupport.decorate
    //#post(net.sourceforge.pebble.decorator.DisableTrackBacksDecorator__static_init): __Dispatch_Table.decorate(Lnet/sourceforge/pebble/api/decorator/ContentDecoratorContext;Lnet/sourceforge/pebble/domain/StaticPage;)V == &net/sourceforge/pebble/decorator/ContentDecoratorSupport.decorate
    //#post(net.sourceforge.pebble.decorator.DisableTrackBacksDecorator__static_init): __Dispatch_Table.decorate(Lnet/sourceforge/pebble/api/decorator/ContentDecoratorContext;Lnet/sourceforge/pebble/domain/TrackBack;)V == &net/sourceforge/pebble/decorator/ContentDecoratorSupport.decorate
    //#post(net.sourceforge.pebble.decorator.DisableTrackBacksDecorator__static_init): __Dispatch_Table.getBlog()Lnet/sourceforge/pebble/domain/Blog; == &net/sourceforge/pebble/decorator/ContentDecoratorSupport.getBlog
    //#post(net.sourceforge.pebble.decorator.DisableTrackBacksDecorator__static_init): __Dispatch_Table.setBlog(Lnet/sourceforge/pebble/domain/Blog;)V == &net/sourceforge/pebble/decorator/ContentDecoratorSupport.setBlog
    //#disabletrackbacksdecorator.java:: end of method: net.sourceforge.pebble.decorator.DisableTrackBacksDecorator.net.sourceforge.pebble.decorator.DisableTrackBacksDecorator__static_init
    //#disabletrackbacksdecorator.java:: end of class: net.sourceforge.pebble.decorator.DisableTrackBacksDecorator
