contentstorage/castorage/conf/CI_castoragedb.confml
changeset 107 b34d53f6acdf
child 116 305818acdca4
equal deleted inserted replaced
106:e78d6e055a5b 107:b34d53f6acdf
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <confml:configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.s60.com/xml/confml/2" xmlns:confml="http://www.s60.com/xml/confml/2" xsi:schemaLocation="http://www.s60.com/xml/confml/2 http://www.s60.com/xml/confml/1#//confml2" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="Content storage database settings">
       
     3 	<confml:feature ref="CaStorageDbSetting" name="Application Library model">	
       
     4 		<setting ref="OperatorCollections"	name="Operator Collections" maxOccurs="1" minOccurs="0" type="sequence" mapKey="Name" mapValue="Name">
       
     5 			<setting ref="Name" name="Collection Name" type="string" required="true">
       
     6 				<desc>Name of the Operator Collection.</desc>
       
     7 				<xs:maxLength value="32"/>
       
     8 			</setting>
       
     9 			<confml:setting ref="ShortName" name="Collection Short Name" type="string">
       
    10 				<confml:desc>Collection short name. Optional. Name used in Homescreen when shortcut to collection is created.</confml:desc>
       
    11 			</confml:setting>
       
    12 			<confml:setting ref="TitleName" name="Collection Title Name" type="string">
       
    13 				<confml:desc>Collection title name. Optional. Name displayed when user enter to collection (heading).</confml:desc>
       
    14 			</confml:setting>	
       
    15 			<setting name="Collection Group Name" ref="GroupName" type="string">
       
    16 				<desc>Group name. Not localized name. Identify collection where application with predefined group name should be added after installation.</desc>
       
    17 			</setting>
       
    18 			<setting ref="Locked" name="Lock Operator Collection and content" type="boolean">
       
    19 				<desc>Lock operator collection and content - user can not delete operator collection, prevent renaming collection and even content. Not possible by user to add new content to defined collection</desc>
       
    20 			</setting>
       
    21 			<setting ref="Icon" name="Collection Icon" type="file" >
       
    22 				<desc>Icon.</desc>
       
    23 				<property name="type" value="image/svg" unit="mime"/>
       
    24 				<localPath></localPath>
       
    25 				<targetPath readOnly="true"/>
       
    26 			</setting>
       
    27 			<setting ref="IconSkinId" name="Icon Theme ID" type="string">
       
    28 				<desc>Icon Theme id. </desc>
       
    29 			</setting>
       
    30 		</setting>
       
    31 		<setting ref="OperatorURLs"	 name="Operator URLs"  minOccurs="0" type="sequence" mapKey="OperatorURLTitle" mapValue="OperatorURLTitle">
       
    32 			<setting ref="OperatorURLTitle" name="Operator URL Title" type="string">
       
    33 				<desc>Title of the Operator URL</desc>
       
    34 			</setting>	 
       
    35 			<setting ref="OperatorURLShortTitle" name="Operator URL Short Title" type="string" required="true">
       
    36 				<desc>Short Title of the Operator URL. Optional. Displayed when shortcut to Url is added to Homescreen</desc>
       
    37 			</setting>	 			
       
    38 			<setting ref="OperatorURL" name="Operator URL" type="string" required="true">
       
    39 				<desc>URL</desc>
       
    40 				<xs:pattern value="(http(|s)://([\w-]+\.)+[\w-]+(:[0-9]{1,5})?(/[\w- ./?%&amp;=]*)?|)"/>
       
    41 			</setting>
       
    42 			<setting ref="OperatorURLIcon" name="Operator URL Icon" type="file">
       
    43 				<desc>Icon for the Operator URL.</desc>
       
    44 				<property name="type" value="image/svg" unit="mime"/>
       
    45 				<localPath></localPath>
       
    46 				<targetPath readOnly="true"/>
       
    47 			</setting>
       
    48 			<setting ref="IconSkinId" name="Icon Theme ID" type="string">
       
    49 				<desc>Icon Theme id. </desc>
       
    50 			</setting>
       
    51 		</setting>	
       
    52 		<setting ref="OperatorCollectionItems"	name="Operator Collection content"  minOccurs="0" type="sequence" >
       
    53 			<setting ref="Type" name="Item type" type="selection">
       
    54 				<desc>Type of collection item.</desc>
       
    55 				<option name="Application" value="1"/>
       
    56 				<option name="Homescreen widget" value="2"/>
       
    57 				<option name="URL" value="3"/>
       
    58 			</setting>
       
    59 			<setting ref="Application" name="Application" type="string" relevant="Type='1'" required="true">
       
    60 				<desc>Application item for Operator collection.</desc>
       
    61 				<xs:pattern value="^[-+]?[0-9]{10}"/>
       
    62 				<!-- option map="DFSFeatures/Application"/>
       
    63 				<option map="CIA_PreinstalledContent/PreInstalledJavaRom"/>
       
    64 				<option map="CIA_PreinstalledContent/PreInstalledSymbianROM"/>
       
    65 				<option map="CIA_PreinstalledContent/PreInstalledSymbianUDA"/>
       
    66 				<option map="CIA_PreinstalledContent/PreInstalledJavaUDA"/-->
       
    67 			</setting>
       
    68 			<setting ref="HomescreenWidget" name="Homescreen widget" type="string" relevant="Type='2'" required="true">
       
    69 				<desc>Homescreen widget item for Operator collection</desc>
       
    70 				<!-- option map="HomescreenWidgets/Widgets"/>
       
    71 				<option map="CIA_PreinstalledWidgetUDA/PreInstalledWidgetUDA" /-->
       
    72 			</setting>
       
    73 			<setting ref="OperatorURL" name="Operator URL" type="selection" relevant="Type='3'" required="true">		
       
    74 				<option map="CaStorageDbSetting/OperatorURLs"/>
       
    75 			</setting>
       
    76 		</setting>
       
    77 		
       
    78     <confml:setting ref="Collections" mapKey="Name" mapValue="Name" name="Collections" type="sequence">
       
    79         <setting ref="LocalizeNames" name="Use localized collections names" type="boolean">
       
    80             <desc>Enable localization support for collection names</desc>
       
    81         </setting>	
       
    82         <confml:setting ref="TranslationFile" name="Translation file" type="string" relevant="LocalizeNames and LocalizeNames='true'" >
       
    83             <confml:desc>Name of translation file used for fetching localized names</confml:desc>				
       
    84         </confml:setting>
       
    85         <setting ref="Name" name="Collection Name" type="string" required="true">
       
    86             <desc>Name of collection.</desc>				
       
    87         </setting>
       
    88         <confml:setting ref="ShortName" name="Collection Short Name" type="string">
       
    89             <confml:desc>Collection short name. Optional. Name used in Homescreen when shortcut to collection is created.</confml:desc>
       
    90         </confml:setting>
       
    91         <confml:setting ref="TitleName" name="Collection Title Name" type="string">
       
    92             <confml:desc>Collection title name. Optional. Name displayed when user enter to collection (heading).</confml:desc>
       
    93         </confml:setting>			
       
    94         <setting ref="GroupName" name="Collection Group Name" type="string">
       
    95             <desc>Group name. Not localized name. Identify collection where application with predefined group name should be added after installation.</desc>
       
    96         </setting>
       
    97         <setting ref="Locked" name="Lock Operator Collection and content" type="boolean">
       
    98             <desc>Lock operator collection and content - user can not delete operator collection, prevent renaming collection and even content. Not possible by user to add new content to defined collection</desc>
       
    99         </setting>
       
   100         <setting ref="Icon" name="Collection Icon" type="file" >
       
   101             <desc>Icon.</desc>
       
   102             <property name="type" value="image/svg" unit="mime"/>
       
   103             <localPath></localPath>
       
   104             <targetPath readOnly="true"/>
       
   105         </setting>
       
   106         <setting ref="IconSkinId" name="Icon Theme ID" type="string">
       
   107             <desc>Icon Theme id. </desc>
       
   108         </setting>				
       
   109     </confml:setting>	
       
   110 		
       
   111 		<setting ref="URLs"	 name="URLs"  minOccurs="0" type="sequence" mapKey="URLTitle" mapValue="URLTitle">
       
   112 			<setting ref="URLTitle" name="URL Title" type="string" required="true">
       
   113 				<desc>Title of the Operator URL</desc>
       
   114 			</setting>	 
       
   115 			<setting ref="URLShortTitle" name="URL Short Title" type="string" >
       
   116 				<desc>Short Title of the Operator URL. Optional. Displayed when shortcut to Url is added to Homescreen</desc>
       
   117 			</setting>	 			
       
   118 			<setting ref="URL" name="URL" type="string" required="true">
       
   119 				<desc>URL</desc>
       
   120 				<xs:pattern value="(http(|s)://([\w-]+\.)+[\w-]+(:[0-9]{1,5})?(/[\w- ./?%&amp;=]*)?|)"/>
       
   121 			</setting>
       
   122 			<setting ref="URLIcon" name="URL Icon" type="file">
       
   123 				<desc>Icon for the Operator URL.</desc>
       
   124 				<property name="type" value="image/svg" unit="mime"/>
       
   125 				<localPath></localPath>
       
   126 				<targetPath readOnly="true"/>
       
   127 			</setting>
       
   128 			<setting ref="IconSkinId" name="Icon Theme ID" type="string">
       
   129 				<desc>Icon Theme id. </desc>
       
   130 			</setting>
       
   131 		</setting>	
       
   132 			
       
   133 		<confml:setting ref="Items"	 name="Collections content" type="sequence" >
       
   134 			<setting ref="Type" name="Item type" type="selection">
       
   135 				<desc>Type of collection item.</desc>
       
   136 				<option name="Application" value="1"/>
       
   137 				<option name="Homescreen widget" value="2"/>
       
   138 				<option name="URL" value="3"/>
       
   139 			</setting>
       
   140 			<setting ref="Application" name="Application" type="string" relevant="Type='1'" required="true">
       
   141 				<desc>Application item for Operator collection.</desc>
       
   142 				<xs:pattern value="^[-+]?[0-9]{10}"/>
       
   143 				<!-- option map="DFSFeatures/Application"/>
       
   144 				<option map="CIA_PreinstalledContent/PreInstalledJavaRom"/>
       
   145 				<option map="CIA_PreinstalledContent/PreInstalledSymbianROM"/>
       
   146 				<option map="CIA_PreinstalledContent/PreInstalledSymbianUDA"/>
       
   147 				<option map="CIA_PreinstalledContent/PreInstalledJavaUDA"/-->
       
   148 			</setting>
       
   149 			<setting ref="HomescreenWidget" name="Homescreen widget" type="string" relevant="Type='2'" required="true">
       
   150 				<desc>Homescreen widget item for Operator collection</desc>
       
   151 				<!-- option map="HomescreenWidgets/Widgets"/>
       
   152 				<option map="CIA_PreinstalledWidgetUDA/PreInstalledWidgetUDA" /-->
       
   153 			</setting>
       
   154 			<setting ref="URL" name="URL" type="selection" relevant="Type='3'" required="true">
       
   155 				<option map="CaStorageDbSetting/URLs"/>
       
   156 			</setting>
       
   157 			<confml:setting ref="ColName" name="Place in collection" type="selection" required="true">
       
   158 				<confml:desc>Collection where entry will be added.</confml:desc>
       
   159 				<confml:option map="CaStorageDbSetting/Collections"/>
       
   160 			</confml:setting>
       
   161 			<setting ref="Comments" name="Item comments" type="string">
       
   162 				<desc>Intended only for informative purpose for customization.</desc>
       
   163 			</setting>
       
   164 		</confml:setting>
       
   165 	</confml:feature>
       
   166 </confml:configuration>