Changes between Version 2 and Version 3 of MapGuideRfc12
- Timestamp:
- 02/27/07 18:38:43 (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MapGuideRfc12
v2 v3 34 34 * treat the alias component as a folder grammatically. 35 35 * simplify the API implementation. 36 * eliminate the need for the redundant EnumerateUnmanagedDataMappings API method.36 * eliminate the need for the redundant !EnumerateUnmanagedDataMappings API method. 37 37 * give the client better control of desired query results. 38 38 … … 40 40 41 41 These are the proposed changes to the Unmanaged Data APIs. 42 * Remove EnumerateUnmanagedDataMappings method.43 * Modify EnumerateUnmanagedData API method as specified in the Technical section.42 * Remove !EnumerateUnmanagedDataMappings method. 43 * Modify !EnumerateUnmanagedData API method as specified in the Technical section. 44 44 * modify arguments to ''path'', ''recursive'', ''select'', and ''filter'' 45 * ''path''="", ''recursive''=false, ''select''="FOLDERS" yields the same result as EnumerateUnmanagedDataMappings45 * ''path''="", ''recursive''=false, ''select''="FOLDERS" yields the same result as !EnumerateUnmanagedDataMappings 46 46 * All file types are returnable with a client-customizable filter 47 * Return an UnmanagedDataList (see UnmanagedDataList-1.0.0.xsd below) instead of aStringCollection.47 * Return an !UnmanagedDataList (see !UnmanagedDataList-1.0.0.xsd below) instead of a !StringCollection. 48 48 * Windows hidden folders and files are returned (already works this way after RFC2 implementation). 49 49 * All other aspects of this API method remain the same as before. … … 53 53 * Mappings can be physical drives or network paths. 54 54 55 These additions to the Server Admin PHP pages will allow editing of the UnmanagedDataMappings section in the serverconfig.ini.55 These additions to the Server Admin PHP pages will allow editing of the !UnmanagedDataMappings section in the serverconfig.ini. 56 56 57 57 * Below "Configure WFS", add an entry called "Configure Unmanaged Data". … … 77 77 === Technical === 78 78 79 virtual MgByteReader * MgResourceService::EnumerateUnmanagedData(CREFSTRING ''path'', bool ''recursive'', CREFSTRING ''select'', CREFSTRING ''filter'');79 virtual !MgByteReader * MgResourceService::!EnumerateUnmanagedData(CREFSTRING ''path'', bool ''recursive'', CREFSTRING ''select'', CREFSTRING ''filter''); 80 80 81 81 Enumerates the available unmanaged data from the server. … … 95 95 '''Returns:''' 96 96 97 Returns an MgByteReader object containing the list of all unmanaged data files and/or folders. The list is in XML format using theUnmanagedDataList schema.98 99 The new schema will be named '' UnmanagedDataList-1.0.0.xsd''. This is closely analogous to ''ResourceList-1.0.0.xsd'' which specifies the response ofEnumerateResources.97 Returns an !MgByteReader object containing the list of all unmanaged data files and/or folders. The list is in XML format using the !UnmanagedDataList schema. 98 99 The new schema will be named ''!UnmanagedDataList-1.0.0.xsd''. This is closely analogous to ''!ResourceList-1.0.0.xsd'' which specifies the response of !EnumerateResources. 100 100 101 101 {{{ … … 159 159 160 160 161 ''' EnumerateUnmanagedData API Examples on Windows server'''161 '''!EnumerateUnmanagedData API Examples on Windows server''' 162 162 163 163 ||''path''||''recursive''||''select''||''filter''||FOLDERS RESULT||FILES RESULT||Notes|| 164 || ""|| false|| "FOLDERS"|| ""|| [alias1][[BR]][alias2]|||| Equivalent to removed EnumerateUnmanagedDataMappings. This is the "Unmanaged Data Root." ||164 || ""|| false|| "FOLDERS"|| ""|| [alias1][[BR]][alias2]|||| Equivalent to removed !EnumerateUnmanagedDataMappings. This is the "Unmanaged Data Root." || 165 165 || ""|| true|| "FOLDERS"|| ""|| [alias1][[BR]][alias1]canada/[[BR]][alias2][[BR]][alias2]raster/[[BR]][alias2]raster/usa/|||| Note the forward slash. || 166 166 || ""|| false|| "FILES"|| ""|||||| No files returned. || … … 194 194 * /mnt/other_machine/public_data/shp/circles.shp 195 195 196 ''' EnumerateUnmanagedData API Examples on Linux server'''196 '''!EnumerateUnmanagedData API Examples on Linux server''' 197 197 198 198 ||''path''||''recursive''||''select''||''filter''||FOLDERS RESULT||FILES RESULT||Notes 199 || "" || false || "FOLDERS" || "" || [alias1][[BR]][alias2] || || Equivalent to removed EnumerateUnmanagedDataMappings. This is the "Unmanaged Data Root." ||199 || "" || false || "FOLDERS" || "" || [alias1][[BR]][alias2] || || Equivalent to removed !EnumerateUnmanagedDataMappings. This is the "Unmanaged Data Root." || 200 200 || "" || true || "FOLDERS" || "" || [alias1][[BR]][alias2][[BR]][alias2]raster/[[BR]][alias2]raster/usa/ || || Note the forward slash. || 201 201 || "" || false || "FILES" || "" || || || No files returned. || … … 214 214 215 215 * Update webtier test pages to use the updated API methods. 216 * Remove test for eliminated EnumerateUnmanagedDataMappings.216 * Remove test for eliminated !EnumerateUnmanagedDataMappings. 217 217 218 218 == Funding/Resources ==