/** * Add string property to the CMIS object represented by this instance */ protected final void addPropertyString(PropertiesImpl props, String typeId, Set<String> filter, String id, String value) { if (!checkAddProperty(props, typeId, filter, id)) { return; } PropertyStringImpl prop = new PropertyStringImpl(id, value); prop.setQueryName(id); props.addProperty(prop); }
/** * Adds a string property to a PropertiesImpl.<p> * * @param typeManager * @param props the properties * @param typeId the type id * @param filter the property filter string * @param id the property id * @param value the property value */ public static void addPropertyString( CmsCmisTypeManager typeManager, PropertiesImpl props, String typeId, Set<String> filter, String id, String value) { if (!checkAddProperty(typeManager, props, typeId, filter, id)) { return; } PropertyStringImpl result = new PropertyStringImpl(id, value); result.setQueryName(id); props.addProperty(result); }