Class FormFileRestriction

java.lang.Object
sk.iway.iwcm.form.FormFileRestriction

public class FormFileRestriction extends Object
FormFileRestriction.java
  • Constructor Details

    • FormFileRestriction

      public FormFileRestriction()
  • Method Details

    • isSentFileValid

      public boolean isSentFileValid(sk.iway.upload.UploadedFile file)
    • isSentFileValid

      public boolean isSentFileValid(IwcmFile file)
    • getFormName

      public String getFormName()
    • setFormName

      public FormFileRestriction setFormName(String formName)
    • getAllowedExtensions

      public String getAllowedExtensions()
    • setAllowedExtensions

      public FormFileRestriction setAllowedExtensions(String allowedExtensions)
    • getMaxSizeInKilobytes

      public int getMaxSizeInKilobytes()
    • setMaxSizeInKilobytes

      public FormFileRestriction setMaxSizeInKilobytes(int maxSizeInKilobytes)
    • getPictureWidth

      public int getPictureWidth()
    • setPictureWidth

      public FormFileRestriction setPictureWidth(int pictureWidth)
    • getPictureHeight

      public int getPictureHeight()
    • setPictureHeight

      public FormFileRestriction setPictureHeight(int pictureHeight)