Class AbstractBroadleafVariableModifierProcessor

java.lang.Object
org.broadleafcommerce.presentation.dialect.AbstractBroadleafVariableModifierProcessor
All Implemented Interfaces:
BroadleafProcessor, BroadleafVariableModifierProcessor

@Deprecated public abstract class AbstractBroadleafVariableModifierProcessor extends Object implements BroadleafVariableModifierProcessor
Deprecated.
Default implementation of BroadleafVariableModifierProcessor that provides some defaults
Author:
Jay Aisenbrey (cja769)
  • Constructor Details

    • AbstractBroadleafVariableModifierProcessor

      public AbstractBroadleafVariableModifierProcessor()
      Deprecated.
  • Method Details

    • useGlobalScope

      public boolean useGlobalScope()
      Deprecated.
      Specified by:
      useGlobalScope in interface BroadleafVariableModifierProcessor
      Returns:
      true if the newModelVars should be added to the global scope (not recommended) or false if they should be added to local scope for this tag
    • getPrecedence

      public int getPrecedence()
      Deprecated.
      Specified by:
      getPrecedence in interface BroadleafProcessor
      Returns:
      When this processor should be ran in relation to other processors in the dialect. Runs from smallest number to largest
    • getCollectionModelVariableNamesToAddTo

      public List<String> getCollectionModelVariableNamesToAddTo()
      Deprecated.
      Specified by:
      getCollectionModelVariableNamesToAddTo in interface BroadleafVariableModifierProcessor
      Returns:
      The list of variables on the model that, if they exist, should have additional values added to the existing list instead of replacing their values
    • getPrefix

      public String getPrefix()
      Deprecated.
      Specified by:
      getPrefix in interface BroadleafProcessor
      Returns:
      The prefix that should be prepended to the name for the class to be triggered on. The "blc" part of blc:price