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
-
Field Summary
FieldsFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanactionExist(String actionName) protected voidaddRecalculateActions(Vote vote, Collection<String> actions) protected PatterncompilePattern(String regex) protected CxConfigurationServiceprotected PatterngetUrlPattern(String regex) getVote(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) protected booleanvoidsetCxConfigurationService(CxConfigurationService cxConfigurationService) Methods inherited from class de.hybris.platform.personalizationservices.voters.impl.AbstractVoter
getDefaultVote, getOrder, setOrder
-
Field Details
-
CONFIGURABLE_URL_PRECEDENCE
public static final int CONFIGURABLE_URL_PRECEDENCE- See Also:
-
-
Constructor Details
-
ConfigurableUrlVoter
public ConfigurableUrlVoter() -
ConfigurableUrlVoter
public ConfigurableUrlVoter(int order)
-
-
Method Details
-
getVote
public Vote getVote(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) -
matches
-
addRecalculateActions
-
getUrlPattern
-
compilePattern
-
actionExist
-
getCxConfigurationService
-
setCxConfigurationService
-