Esempio n. 1
0
  public void setState(String state) {
    if (((state == null) && (_state != null))
        || ((state != null) && (_state == null))
        || ((state != null) && (_state != null) && !state.equals(_state))) {
      if (!XSS_ALLOW_STATE) {
        state = Xss.strip(state);
      }

      _state = state;
      setModified(true);
    }
  }
Esempio n. 2
0
  public void setZip(String zip) {
    if (((zip == null) && (_zip != null))
        || ((zip != null) && (_zip == null))
        || ((zip != null) && (_zip != null) && !zip.equals(_zip))) {
      if (!XSS_ALLOW_ZIP) {
        zip = Xss.strip(zip);
      }

      _zip = zip;
      setModified(true);
    }
  }
Esempio n. 3
0
  public void setStreet2(String street2) {
    if (((street2 == null) && (_street2 != null))
        || ((street2 != null) && (_street2 == null))
        || ((street2 != null) && (_street2 != null) && !street2.equals(_street2))) {
      if (!XSS_ALLOW_STREET2) {
        street2 = Xss.strip(street2);
      }

      _street2 = street2;
      setModified(true);
    }
  }
Esempio n. 4
0
  public void setCity(String city) {
    if (((city == null) && (_city != null))
        || ((city != null) && (_city == null))
        || ((city != null) && (_city != null) && !city.equals(_city))) {
      if (!XSS_ALLOW_CITY) {
        city = Xss.strip(city);
      }

      _city = city;
      setModified(true);
    }
  }
Esempio n. 5
0
  public void setItemIds(String itemIds) {
    if (((itemIds == null) && (_itemIds != null))
        || ((itemIds != null) && (_itemIds == null))
        || ((itemIds != null) && (_itemIds != null) && !itemIds.equals(_itemIds))) {
      if (!XSS_ALLOW_ITEMIDS) {
        itemIds = Xss.strip(itemIds);
      }

      _itemIds = itemIds;
      setModified(true);
    }
  }
Esempio n. 6
0
  public void setStreet1(String street1) {
    if (((street1 == null) && (_street1 != null))
        || ((street1 != null) && (_street1 == null))
        || ((street1 != null) && (_street1 != null) && !street1.equals(_street1))) {
      if (!XSS_ALLOW_STREET1) {
        street1 = Xss.strip(street1);
      }

      _street1 = street1;
      setModified(true);
    }
  }
Esempio n. 7
0
  public void setClassName(String className) {
    if (((className == null) && (_className != null))
        || ((className != null) && (_className == null))
        || ((className != null) && (_className != null) && !className.equals(_className))) {
      if (!XSS_ALLOW_CLASSNAME) {
        className = Xss.strip(className);
      }

      _className = className;
      setModified(true);
    }
  }
Esempio n. 8
0
  public void setFax(String fax) {
    if (((fax == null) && (_fax != null))
        || ((fax != null) && (_fax == null))
        || ((fax != null) && (_fax != null) && !fax.equals(_fax))) {
      if (!XSS_ALLOW_FAX) {
        fax = Xss.strip(fax);
      }

      _fax = fax;
      setModified(true);
    }
  }
Esempio n. 9
0
  public void setUserId(String userId) {
    if (((userId == null) && (_userId != null))
        || ((userId != null) && (_userId == null))
        || ((userId != null) && (_userId != null) && !userId.equals(_userId))) {
      if (!XSS_ALLOW_USERID) {
        userId = Xss.strip(userId);
      }

      _userId = userId;
      setModified(true);
    }
  }
Esempio n. 10
0
  public void setUserName(String userName) {
    if (((userName == null) && (_userName != null))
        || ((userName != null) && (_userName == null))
        || ((userName != null) && (_userName != null) && !userName.equals(_userName))) {
      if (!XSS_ALLOW_USERNAME) {
        userName = Xss.strip(userName);
      }

      _userName = userName;
      setModified(true);
    }
  }
Esempio n. 11
0
  public void setCompanyId(String companyId) {
    if (((companyId == null) && (_companyId != null))
        || ((companyId != null) && (_companyId == null))
        || ((companyId != null) && (_companyId != null) && !companyId.equals(_companyId))) {
      if (!XSS_ALLOW_COMPANYID) {
        companyId = Xss.strip(companyId);
      }

      _companyId = companyId;
      setModified(true);
    }
  }
Esempio n. 12
0
  public void setAddressId(String addressId) {
    if (((addressId == null) && (_addressId != null))
        || ((addressId != null) && (_addressId == null))
        || ((addressId != null) && (_addressId != null) && !addressId.equals(_addressId))) {
      if (!XSS_ALLOW_ADDRESSID) {
        addressId = Xss.strip(addressId);
      }

      _addressId = addressId;
      setModified(true);
    }
  }
Esempio n. 13
0
  public void setCouponIds(String couponIds) {
    if (((couponIds == null) && (_couponIds != null))
        || ((couponIds != null) && (_couponIds == null))
        || ((couponIds != null) && (_couponIds != null) && !couponIds.equals(_couponIds))) {
      if (!XSS_ALLOW_COUPONIDS) {
        couponIds = Xss.strip(couponIds);
      }

      _couponIds = couponIds;
      setModified(true);
    }
  }
Esempio n. 14
0
  public void setCountry(String country) {
    if (((country == null) && (_country != null))
        || ((country != null) && (_country == null))
        || ((country != null) && (_country != null) && !country.equals(_country))) {
      if (!XSS_ALLOW_COUNTRY) {
        country = Xss.strip(country);
      }

      _country = country;
      setModified(true);
    }
  }
Esempio n. 15
0
  public void setClassPK(String classPK) {
    if (((classPK == null) && (_classPK != null))
        || ((classPK != null) && (_classPK == null))
        || ((classPK != null) && (_classPK != null) && !classPK.equals(_classPK))) {
      if (!XSS_ALLOW_CLASSPK) {
        classPK = Xss.strip(classPK);
      }

      _classPK = classPK;
      setModified(true);
    }
  }
Esempio n. 16
0
  public void setPhone(String phone) {
    if (((phone == null) && (_phone != null))
        || ((phone != null) && (_phone == null))
        || ((phone != null) && (_phone != null) && !phone.equals(_phone))) {
      if (!XSS_ALLOW_PHONE) {
        phone = Xss.strip(phone);
      }

      _phone = phone;
      setModified(true);
    }
  }
Esempio n. 17
0
  public void setDescription(String description) {
    if (((description == null) && (_description != null))
        || ((description != null) && (_description == null))
        || ((description != null) && (_description != null) && !description.equals(_description))) {
      if (!XSS_ALLOW_DESCRIPTION) {
        description = Xss.strip(description);
      }

      _description = description;
      setModified(true);
    }
  }
Esempio n. 18
0
  public void setCell(String cell) {
    if (((cell == null) && (_cell != null))
        || ((cell != null) && (_cell == null))
        || ((cell != null) && (_cell != null) && !cell.equals(_cell))) {
      if (!XSS_ALLOW_CELL) {
        cell = Xss.strip(cell);
      }

      _cell = cell;
      setModified(true);
    }
  }
Esempio n. 19
0
  public void setCartId(String cartId) {
    if (((cartId == null) && (_cartId != null))
        || ((cartId != null) && (_cartId == null))
        || ((cartId != null) && (_cartId != null) && !cartId.equals(_cartId))) {
      if (!XSS_ALLOW_CARTID) {
        cartId = Xss.strip(cartId);
      }

      _cartId = cartId;
      setModified(true);
    }
  }