Class EditPaletteHandler

All Implemented Interfaces:
JcmsConstants, JaliosConstants

public class EditPaletteHandler extends JcmsFormHandler
  • Field Details

    • brandColor

      protected String brandColor
    • variationBrandColor

      protected String variationBrandColor
    • palette

      protected LinkedHashMap<Integer,String> palette
    • opUpdate

      protected boolean opUpdate
    • variationId

      protected int variationId
    • variationsString

      public String variationsString
  • Constructor Details

    • EditPaletteHandler

      public EditPaletteHandler()
  • Method Details

    • init

      protected void init()
      Description copied from class: JcmsFormHandler
      Method to implement if you need to initialize your handler from parameter received, prior to all security validation.

      You must absolutely not perform any action which modify data or site configuration.

      Therefore it is strongly recommend NOT TO implement this method, or use very wisely.

      Overrides:
      init in class JcmsFormHandler
    • processAction

      public boolean processAction() throws IOException
      PERFORM
      Overrides:
      processAction in class JcmsFormHandler
      Returns:
      false if no redirection is needed, true otherwise
      Throws:
      IOException - IO Exception
    • isOpUpdate

      public String isOpUpdate()
      GETTER / SETTER
    • setOpUpdate

      public void setOpUpdate(String v)
    • getBrandColor

      public String getBrandColor()
    • setBrandColor

      public void setBrandColor(String brandColor)
    • getVariationBrandColor

      public String getVariationBrandColor()
    • setVariationBrandColor

      public void setVariationBrandColor(String variationBrandColor)
    • getVariationId

      public int getVariationId()
    • setVariationId

      public void setVariationId(int variationId)
    • getPalette

      public LinkedHashMap<Integer,String> getPalette()
      OTHER METHODS
    • getVariationIdSettings

      public EnumerateSettings getVariationIdSettings()