|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.pebble.confirmation.AbstractConfirmationStrategy
net.sourceforge.pebble.confirmation.NoOpConfirmationStrategy
public class NoOpConfirmationStrategy
No-op implementation that doesn't require confirmation to be performed.
Field Summary |
---|
Fields inherited from class net.sourceforge.pebble.confirmation.AbstractConfirmationStrategy |
---|
REQUIRED_KEY |
Constructor Summary | |
---|---|
NoOpConfirmationStrategy()
|
Method Summary | |
---|---|
boolean |
confirmationRequired(Blog blog)
Called to determine whether confirmation is required. |
boolean |
confirmationRequired(Comment comment)
Called to determine whether confirmation is required. |
java.lang.String |
getUri()
Gets the URI of the confirmation page. |
boolean |
isConfirmed(HttpServletRequest request)
Called to determine whether confirmation was successful. |
void |
setupConfirmation(HttpServletRequest request)
Called before showing the confirmation page. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NoOpConfirmationStrategy()
Method Detail |
---|
public boolean confirmationRequired(Comment comment)
confirmationRequired
in interface CommentConfirmationStrategy
confirmationRequired
in class AbstractConfirmationStrategy
comment
- the Comment being confirmed
public boolean confirmationRequired(Blog blog)
confirmationRequired
in interface TrackBackConfirmationStrategy
confirmationRequired
in class AbstractConfirmationStrategy
blog
- the owning Blog
public void setupConfirmation(HttpServletRequest request)
request
- the HttpServletRequest used in the confirmationpublic java.lang.String getUri()
public boolean isConfirmed(HttpServletRequest request)
request
- the HttpServletRequest used in the confirmation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |