net.sourceforge.pebble.api.confirmation
Interface CommentConfirmationStrategy

All Superinterfaces:
ConfirmationStrategy
All Known Implementing Classes:
AbstractConfirmationStrategy, DefaultConfirmationStrategy, ImageCaptchaConfirmationStrategy, NoOpConfirmationStrategy, SimpleMathsConfirmationStrategy

public interface CommentConfirmationStrategy
extends ConfirmationStrategy

Represents an abstraction of the various ways in which comments can be confirmed.

Author:
Simon Brown

Method Summary
 boolean confirmationRequired(Comment comment)
          Called to determine whether confirmation is required.
 
Methods inherited from interface net.sourceforge.pebble.api.confirmation.ConfirmationStrategy
getUri, isConfirmed, setupConfirmation
 

Method Detail

confirmationRequired

boolean confirmationRequired(Comment comment)
Called to determine whether confirmation is required.

Parameters:
comment - the Comment being confirmed
Returns:
true if the comment should be confirmed, false otherwise


Copyright © 2003-2006, Simon Brown. All Rights Reserved.