/** * Sets the base property set, the property set is based upon. * * @param basePropertySet Base property set. */ public void setBasePropertySet(BasePropertySet basePropertySet) { this.throwIfReadonly(); this.basePropertySet = basePropertySet; }
/** * Sets value indicating whether or not to filter potentially unsafe HTML * content from message bodies. * * @param filterHtml true to filter otherwise false. */ public void setFilterHtmlContent(Boolean filterHtml) { this.throwIfReadonly(); this.filterHtml = filterHtml; }
/** * Sets type of body that should be loaded on item. If RequestedBodyType is * null, body is returned as HTML if available, plain text otherwise. * * @param requestedBodyType Type of body that should be loaded on item. */ public void setRequestedBodyType(BodyType requestedBodyType) { this.throwIfReadonly(); this.requestedBodyType = requestedBodyType; }
/** * Sets value indicating whether or not to * convert HTML code page to UTF8 encoding. */ public void setConvertHtmlCodePageToUTF8(Boolean value) { this.throwIfReadonly(); this.convertHtmlCodePageToUTF8 = value; }
/** * Remove all explicitly added property from the property set. */ public void clear() { this.throwIfReadonly(); this.additionalProperties.clear(); }
/** * Removes the specified property from the set. * * @param property The property to remove. * @return true if the property was successfully removed, false otherwise. */ public boolean remove(PropertyDefinitionBase property) { this.throwIfReadonly(); return this.additionalProperties.remove(property); }
/** * Adds the specified property to the property set. * * @param property The property to add. * @throws Exception the exception */ public void add(PropertyDefinitionBase property) throws Exception { this.throwIfReadonly(); EwsUtilities.validateParam(property, "property"); if (!this.additionalProperties.contains(property)) { this.additionalProperties.add(property); } }
/** * Adds the specified property to the property set. * * @param properties The property to add. * @throws Exception the exception */ public void addRange(Iterable<PropertyDefinitionBase> properties) throws Exception { this.throwIfReadonly(); Iterator<PropertyDefinitionBase> property = properties.iterator(); EwsUtilities.validateParamCollection(property, "property"); for (Iterator<PropertyDefinitionBase> it = properties.iterator(); it .hasNext(); ) { this.add(it.next()); } }
/** * Sets value indicating whether or not to filter potentially unsafe HTML * content from message bodies. * * @param filterHtml true to filter otherwise false. */ public void setFilterHtmlContent(Boolean filterHtml) { this.throwIfReadonly(); this.filterHtml = filterHtml; }
/** * Sets the base property set, the property set is based upon. * * @param basePropertySet Base property set. */ public void setBasePropertySet(BasePropertySet basePropertySet) { this.throwIfReadonly(); this.basePropertySet = basePropertySet; }
/** * Sets type of body that should be loaded on item. If RequestedBodyType is * null, body is returned as HTML if available, plain text otherwise. * * @param requestedBodyType Type of body that should be loaded on item. */ public void setRequestedBodyType(BodyType requestedBodyType) { this.throwIfReadonly(); this.requestedBodyType = requestedBodyType; }
/** * Sets value indicating whether or not to * convert HTML code page to UTF8 encoding. */ public void setConvertHtmlCodePageToUTF8(Boolean value) { this.throwIfReadonly(); this.convertHtmlCodePageToUTF8 = value; }
/** * Removes the specified property from the set. * * @param property The property to remove. * @return true if the property was successfully removed, false otherwise. */ public boolean remove(PropertyDefinitionBase property) { this.throwIfReadonly(); return this.additionalProperties.remove(property); }
/** * Remove all explicitly added property from the property set. */ public void clear() { this.throwIfReadonly(); this.additionalProperties.clear(); }
/** * Adds the specified property to the property set. * * @param property The property to add. * @throws Exception the exception */ public void add(PropertyDefinitionBase property) throws Exception { this.throwIfReadonly(); EwsUtilities.validateParam(property, "property"); if (!this.additionalProperties.contains(property)) { this.additionalProperties.add(property); } }
/** * Adds the specified property to the property set. * * @param properties The property to add. * @throws Exception the exception */ public void addRange(Iterable<PropertyDefinitionBase> properties) throws Exception { this.throwIfReadonly(); Iterator<PropertyDefinitionBase> property = properties.iterator(); EwsUtilities.validateParamCollection(property, "property"); for (Iterator<PropertyDefinitionBase> it = properties.iterator(); it .hasNext(); ) { this.add(it.next()); } }