Class PaginationSortLinkProcessor
java.lang.Object
org.broadleafcommerce.presentation.dialect.AbstractBroadleafAttributeModifierProcessor
org.broadleafcommerce.core.web.processor.PaginationSortLinkProcessor
- All Implemented Interfaces:
org.broadleafcommerce.presentation.dialect.BroadleafAttributeModifierProcessor,org.broadleafcommerce.presentation.dialect.BroadleafProcessor
@Component("blPaginationSortLinkProcessor")
@ConditionalOnTemplating
public class PaginationSortLinkProcessor
extends org.broadleafcommerce.presentation.dialect.AbstractBroadleafAttributeModifierProcessor
Thymeleaf Processor that replaces the "href" attribute on an element, maintaining the current search criteria
of the request and adding (or replacing, if it exists) the sort parameter on the request.
- Author:
- Joseph Fridye (jfridye)
-
Field Summary
Fields inherited from interface org.broadleafcommerce.presentation.dialect.BroadleafProcessor
DEFAULT_PRECEDENCE, DEFAULT_PREFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.broadleafcommerce.presentation.model.BroadleafAttributeModifiergetModifiedAttributes(String tagName, Map<String, String> tagAttributes, String attributeName, String attributeValue, org.broadleafcommerce.presentation.model.BroadleafTemplateContext context) getName()intMethods inherited from class org.broadleafcommerce.presentation.dialect.AbstractBroadleafAttributeModifierProcessor
getPrefix, useSingleQuotes
-
Constructor Details
-
PaginationSortLinkProcessor
public PaginationSortLinkProcessor()
-
-
Method Details
-
getName
-
getPrecedence
public int getPrecedence()- Specified by:
getPrecedencein interfaceorg.broadleafcommerce.presentation.dialect.BroadleafProcessor- Overrides:
getPrecedencein classorg.broadleafcommerce.presentation.dialect.AbstractBroadleafAttributeModifierProcessor
-
getModifiedAttributes
-