info.magnolia.voting.voters
Class OnAdminVoter

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

public class OnAdminVoter
extends AbstractBoolVoter

Checks if the admin flag (config:/server/admin) is set.

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

Constructor Summary
OnAdminVoter()
           
 
Method Summary
protected  boolean boolVote(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

OnAdminVoter

public OnAdminVoter()
Method Detail

boolVote

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


Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.