info.magnolia.voting.voters
Class RequestHasParametersVoter

java.lang.Object
  extended by info.magnolia.voting.voters.BaseVoterImpl
      extended by info.magnolia.voting.voters.AbstractBoolVoter
          extended by info.magnolia.voting.voters.RequestHasParametersVoter
All Implemented Interfaces:
Voter

public class RequestHasParametersVoter
extends AbstractBoolVoter

Checks if the request used the "POST" method or if there are request parameters.

Version:
$Revision: 41137 $ ($Author: gjoseph $)
Author:
fgiust

Constructor Summary
RequestHasParametersVoter()
           
 
Method Summary
protected  boolean boolVote(java.lang.Object value)
           
 
Methods inherited from class info.magnolia.voting.voters.AbstractBoolVoter
getFalseValue, getLevel, getTrueValue, isNot, setFalseValue, setLevel, setNot, setTrueValue, toString, vote
 
Methods inherited from class info.magnolia.voting.voters.BaseVoterImpl
getName, isEnabled, setEnabled, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RequestHasParametersVoter

public RequestHasParametersVoter()
Method Detail

boolVote

protected boolean boolVote(java.lang.Object value)
Specified by:
boolVote in class AbstractBoolVoter


Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.