info.magnolia.voting.voters
Class ExtensionVoter

java.lang.Object
  extended by info.magnolia.voting.voters.BaseVoterImpl<T>
      extended by info.magnolia.voting.voters.AbstractBoolVoter<Object>
          extended by info.magnolia.voting.voters.ExtensionVoter
All Implemented Interfaces:
Voter<Object>

public class ExtensionVoter
extends AbstractBoolVoter<Object>

Parameters (as Magnolia's configuration nodes):

Returns: Typed to Object, as it can vote on both a passed String, or the current MgnlContext.webContext if any.


Constructor Summary
ExtensionVoter()
           
 
Method Summary
protected  boolean boolVote(Object value)
           
 void setAllow(String allow)
           
 void setDeny(String deny)
           
 
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

ExtensionVoter

public ExtensionVoter()
Method Detail

setAllow

public void setAllow(String allow)

setDeny

public void setDeny(String deny)

boolVote

protected boolean boolVote(Object value)
Specified by:
boolVote in class AbstractBoolVoter<Object>


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