Class ConfigurableUrlVoter
- java.lang.Object
-
- de.hybris.platform.personalizationservices.voters.impl.AbstractVoter
-
- de.hybris.platform.personalizationservices.voters.impl.ConfigurableUrlVoter
-
- All Implemented Interfaces:
Voter,org.springframework.core.Ordered,org.springframework.integration.context.Orderable
public class ConfigurableUrlVoter extends AbstractVoter
-
-
Field Summary
Fields Modifier and Type Field Description static intCONFIGURABLE_URL_PRECEDENCE
-
Constructor Summary
Constructors Constructor Description ConfigurableUrlVoter()ConfigurableUrlVoter(int order)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanactionExist(java.lang.String actionName)protected voidaddRecalculateActions(Vote vote, java.util.Collection<java.lang.String> actions)protected java.util.regex.PatterncompilePattern(java.lang.String regex)protected CxConfigurationServicegetCxConfigurationService()protected java.util.regex.PatterngetUrlPattern(java.lang.String regex)VotegetVote(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)protected booleanmatches(java.lang.String regexp, java.lang.String key)voidsetCxConfigurationService(CxConfigurationService cxConfigurationService)-
Methods inherited from class de.hybris.platform.personalizationservices.voters.impl.AbstractVoter
getDefaultVote, getOrder, setOrder
-
-
-
-
Field Detail
-
CONFIGURABLE_URL_PRECEDENCE
public static final int CONFIGURABLE_URL_PRECEDENCE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getVote
public Vote getVote(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
matches
protected boolean matches(java.lang.String regexp, java.lang.String key)
-
addRecalculateActions
protected void addRecalculateActions(Vote vote, java.util.Collection<java.lang.String> actions)
-
getUrlPattern
protected java.util.regex.Pattern getUrlPattern(java.lang.String regex)
-
compilePattern
protected java.util.regex.Pattern compilePattern(java.lang.String regex)
-
actionExist
protected boolean actionExist(java.lang.String actionName)
-
getCxConfigurationService
protected CxConfigurationService getCxConfigurationService()
-
setCxConfigurationService
public void setCxConfigurationService(CxConfigurationService cxConfigurationService)
-
-