Package info.magnolia.voting.voters

Class Summary
AbstractBoolVoter<T> Used to create boolean voters which can't return integer values.
AndVoting<T> Return the maximum vote but only if all voters voted positive.
AuthenticatedVoter Checks if the current user is authenticated.
BasePatternVoter Voters which uses the urls to match against the pattern.
BaseVoterImpl<T> Abstract voter.
DelegateVoter<T> Check a magnolia system delegatePath.
DomainNameRegexVoter Checks if the request has domain that matches configured regex.
DontDispatchOnForwardAttributeVoter Deprecated. since 4.4, use WebContainerResourcesImpl instead
ExtensionVoter Parameters (as Magnolia's configuration nodes): allow: comma separated lists of allowed extensions. deny: comma separated lists of denied extensions. Returns: false if the extension is not a valid mimetype (as configured in config:/server/MIMEMapping. false if the allow list exists, but the extension is not in the allow list. false if the deny list exists and the extension is in the deny list. true in all other cases. Typed to Object, as it can vote on both a passed String, or the current MgnlContext.webContext if any.
FalseVoter Returns false.
ForwardVoter This voter returns true if the request has been forwarded.
IfVoter<T> Conditional voter.
InverseVoter<T> Inverses the returned value of the wrapped voter.
NotVoter<T> Does invert the boolean outcome of a voter.
OnAdminVoter Checks if the admin flag (config:/server/admin) is set.
OrVoting<T> Returns the first positive vote.
PropertyVoter Checks if the named Magnolia property has the expected value.
RequestHasParametersVoter Checks if the request used the "POST" method or if there are request parameters.
ResponseContentTypeVoter A voter which checks the content type set on the response object against a list of allowed and/or rejected content types.
TrueVoter Used to set a default not 0 outcome value.
URIPatternVoter Checks if URI matches the pattern.
URIRegexVoter A voter taking a plain regex pattern which has to matched against the current uri.
URIStartsWithVoter Checks if the URI starts with the given pattern.
UserAgentVoter A voter which checks the user agent header in request object against a list of allowed and/or rejected user agents.
VoterSet<T> Can take a set of voters.
VoterSetTransformer Omit the voters child node.
 



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