Class ThumbnailActionsHandler

All Implemented Interfaces:
JcmsConstants, JaliosConstants

public class ThumbnailActionsHandler extends JcmsFormHandler
  • Constructor Details

    • ThumbnailActionsHandler

      public ThumbnailActionsHandler()
  • Method Details

    • processAction

      public boolean processAction() throws IOException
      Description copied from class: JcmsFormHandler
      Method to be implemented to check/validate action to be performed and process them.

      Default implementation is to return false. No need to call super method.

      This method may NOT be invoked at all if security validation are not met.

      You must ensure your handler and JSP can work properly without any code invoked in this method.

      Overrides:
      processAction in class JcmsFormHandler
      Returns:
      false if no redirection is needed, true otherwise
      Throws:
      IOException - IO Exception
    • getExtensionByStringHandling

      public String getExtensionByStringHandling(String filename)
    • getWidth

      public int getWidth()
    • setWidth

      public void setWidth(int width)
    • getHeight

      public int getHeight()
    • setHeight

      public void setHeight(int height)
    • getPath

      public String getPath()
    • setPath

      public void setPath(String path)
    • getThumbnail

      public File getThumbnail()
    • setThumbnail

      public void setThumbnail(File thumbnail)
    • getBackground

      public String getBackground()
    • setBackground

      public void setBackground(String background)
    • isSquare

      public boolean isSquare()
    • setSquare

      public void setSquare(boolean square)